flexget.components.pending_approval.api module#
- class flexget.components.pending_approval.api.ObjectsContainer[source]#
Bases:
object- operation_object = {'additionalProperties': False, 'properties': {'operation': {'enum': ['approve', 'reject'], 'type': 'string'}}, 'required': ['operation'], 'type': 'object'}#
- pending_entry_list = {'items': {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'approved': {'type': 'boolean'}, 'id': {'type': 'integer'}, 'task_name': {'type': 'string'}, 'title': {'type': 'string'}, 'url': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}#
- pending_entry_object = {'properties': {'added': {'format': 'date-time', 'type': 'string'}, 'approved': {'type': 'boolean'}, 'id': {'type': 'integer'}, 'task_name': {'type': 'string'}, 'title': {'type': 'string'}, 'url': {'type': 'string'}}, 'type': 'object'}#
- class flexget.components.pending_approval.api.PendingEntriesAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'pending_pending_entries_api'#
- methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET', 'PUT'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.components.pending_approval.api.PendingEntryAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'pending_pending_entry_api'#
- methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET', 'PUT'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.