flexget.components.seen.api module#
- class flexget.components.seen.api.ObjectsContainer[source]#
Bases:
object- seen_field_object = {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'field': {'type': 'string'}, 'id': {'type': 'integer'}, 'seen_entry_id': {'type': 'integer'}, 'value': {'type': 'string'}}, 'type': 'object'}#
- seen_object = {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'fields': {'items': {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'field': {'type': 'string'}, 'id': {'type': 'integer'}, 'seen_entry_id': {'type': 'integer'}, 'value': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}, 'id': {'type': 'integer'}, 'local': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'task': {'type': 'string'}, 'title': {'type': 'string'}}, 'type': 'object'}#
- seen_search_object = {'items': {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'fields': {'items': {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'field': {'type': 'string'}, 'id': {'type': 'integer'}, 'seen_entry_id': {'type': 'integer'}, 'value': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}, 'id': {'type': 'integer'}, 'local': {'type': 'boolean'}, 'reason': {'type': 'string'}, 'task': {'type': 'string'}, 'title': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}#
- class flexget.components.seen.api.SeenSearchAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'seen_seen_search_api'#
- methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.components.seen.api.SeenSearchIDAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'seen_seen_search_idapi'#
- methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.