flexget.components.status.api module#
- class flexget.components.status.api.ObjectsContainer[source]#
Bases:
object- executions_list = {'items': {'additionalProperties': False, 'properties': {'abort_reason': {'type': ['string', 'null']}, 'accepted': {'type': 'integer'}, 'end': {'format': 'date-time', 'type': 'string'}, 'failed': {'type': 'integer'}, 'id': {'type': 'integer'}, 'produced': {'type': 'integer'}, 'rejected': {'type': 'integer'}, 'start': {'format': 'date-time', 'type': 'string'}, 'succeeded': {'type': 'boolean'}, 'task_id': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}#
- task_status_execution_schema = {'additionalProperties': False, 'properties': {'abort_reason': {'type': ['string', 'null']}, 'accepted': {'type': 'integer'}, 'end': {'format': 'date-time', 'type': 'string'}, 'failed': {'type': 'integer'}, 'id': {'type': 'integer'}, 'produced': {'type': 'integer'}, 'rejected': {'type': 'integer'}, 'start': {'format': 'date-time', 'type': 'string'}, 'succeeded': {'type': 'boolean'}, 'task_id': {'type': 'integer'}}, 'type': 'object'}#
- task_status_list_schema = {'items': {'additionalProperties': False, 'properties': {'id': {'type': 'integer'}, 'last_execution': {'additionalProperties': False, 'properties': {'abort_reason': {'type': ['string', 'null']}, 'accepted': {'type': 'integer'}, 'end': {'format': 'date-time', 'type': 'string'}, 'failed': {'type': 'integer'}, 'id': {'type': 'integer'}, 'produced': {'type': 'integer'}, 'rejected': {'type': 'integer'}, 'start': {'format': 'date-time', 'type': 'string'}, 'succeeded': {'type': 'boolean'}, 'task_id': {'type': 'integer'}}, 'type': 'object'}, 'last_execution_time': {'format': 'date-time', 'type': ['string', 'null']}, 'name': {'type': 'string'}}, 'required': ['id', 'name'], 'type': 'object'}, 'type': 'array'}#
- task_status_schema = {'additionalProperties': False, 'properties': {'id': {'type': 'integer'}, 'last_execution': {'additionalProperties': False, 'properties': {'abort_reason': {'type': ['string', 'null']}, 'accepted': {'type': 'integer'}, 'end': {'format': 'date-time', 'type': 'string'}, 'failed': {'type': 'integer'}, 'id': {'type': 'integer'}, 'produced': {'type': 'integer'}, 'rejected': {'type': 'integer'}, 'start': {'format': 'date-time', 'type': 'string'}, 'succeeded': {'type': 'boolean'}, 'task_id': {'type': 'integer'}}, 'type': 'object'}, 'last_execution_time': {'format': 'date-time', 'type': ['string', 'null']}, 'name': {'type': 'string'}}, 'required': ['id', 'name'], 'type': 'object'}#
- class flexget.components.status.api.TaskStatusAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'tasks_task_status_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.components.status.api.TaskStatusExecutionsAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'tasks_task_status_executions_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.components.status.api.TasksStatusAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'tasks_tasks_status_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.