flexget.components.history.api module#

class flexget.components.history.api.HistoryAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

List of previously accepted entries.

mediatypes()#
endpoint = 'history_history_api'#
methods: ClassVar[Collection[str] | None] = {'GET'}#

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class flexget.components.history.api.ObjectsContainer[source]#

Bases: object

base_history_object = {'additionalProperties': False, 'properties': {'details': {'type': 'string'}, 'filename': {'type': 'string'}, 'id': {'type': 'integer'}, 'task': {'type': 'string'}, 'time': {'format': 'date-time', 'type': 'string'}, 'title': {'type': 'string'}, 'url': {'type': 'string'}}, 'required': ['details', 'filename', 'id', 'task', 'time', 'title', 'url'], 'type': 'object'}#
history_list_object = {'items': {'additionalProperties': False, 'properties': {'details': {'type': 'string'}, 'filename': {'type': 'string'}, 'id': {'type': 'integer'}, 'task': {'type': 'string'}, 'time': {'format': 'date-time', 'type': 'string'}, 'title': {'type': 'string'}, 'url': {'type': 'string'}}, 'required': ['details', 'filename', 'id', 'task', 'time', 'title', 'url'], 'type': 'object'}, 'type': 'array'}#