flexget.components.managed_lists.lists.entry_list.api module#

class flexget.components.managed_lists.lists.entry_list.api.EntryListEntriesAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(list_id, session=None)[source]#

Get entries by list ID.

mediatypes()#
post(list_id, session=None)[source]#

Create a new entry object.

endpoint = 'entry_list_entry_list_entries_api'#
methods: ClassVar[Collection[str] | None] = {'GET', 'POST'}#

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.managed_lists.lists.entry_list.api.EntryListEntriesBatchAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

delete(list_id, session=None)[source]#

Remove multiple entries.

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

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.managed_lists.lists.entry_list.api.EntryListEntryAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

delete(list_id, entry_id, session=None)[source]#

Delete an entry by list ID and entry ID.

get(list_id, entry_id, session=None)[source]#

Get an entry by list ID and entry ID.

mediatypes()#
put(list_id, entry_id, session=None)[source]#

Set entry object’s entry data.

endpoint = 'entry_list_entry_list_entry_api'#
methods: ClassVar[Collection[str] | None] = {'DELETE', 'GET', 'PUT'}#

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.managed_lists.lists.entry_list.api.EntryListListAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

delete(list_id, session=None)[source]#

Delete list by ID.

get(list_id, session=None)[source]#

Get list by ID.

mediatypes()#
endpoint = 'entry_list_entry_list_list_api'#
methods: ClassVar[Collection[str] | None] = {'DELETE', '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.managed_lists.lists.entry_list.api.EntryListListsAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Get entry lists.

mediatypes()#
post(session=None)[source]#

Create a new entry list.

endpoint = 'entry_list_entry_list_lists_api'#
methods: ClassVar[Collection[str] | None] = {'GET', 'POST'}#

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.managed_lists.lists.entry_list.api.ObjectsContainer[source]#

Bases: object

base_entry_object = {'additionalProperties': True, 'properties': {'original_url': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['title', 'original_url'], 'type': 'object'}#
batch_ids = {'items': {'type': 'integer'}, 'minItems': 1, 'type': 'array', 'uniqueItems': True}#
batch_remove_object = {'additionalProperties': False, 'properties': {'ids': {'items': {'type': 'integer'}, 'minItems': 1, 'type': 'array', 'uniqueItems': True}}, 'required': ['ids'], 'type': 'object'}#
entry_list_base_object = {'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}}, 'type': 'object'}#
entry_list_entry_base_object = {'properties': {'added_on': {'type': 'string'}, 'entry': {'additionalProperties': True, 'properties': {'original_url': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['title', 'original_url'], 'type': 'object'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}, 'original_url': {'type': 'string'}, 'title': {'type': 'string'}}, 'type': 'object'}#
entry_list_input_object = {'properties': {'name': {'type': 'string'}}, 'type': 'object'}#
entry_list_return_lists = {'items': {'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}#
entry_lists_entries_return_object = {'items': {'properties': {'added_on': {'type': 'string'}, 'entry': {'additionalProperties': True, 'properties': {'original_url': {'type': 'string'}, 'title': {'type': 'string'}}, 'required': ['title', 'original_url'], 'type': 'object'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}, 'original_url': {'type': 'string'}, 'title': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}#