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

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

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Get movies lists.

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

Create a new list.

endpoint = 'movie_list_movie_list_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.movie_list.api.MovieListEntriesBatchAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

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

Remove multiple entries.

mediatypes()#
endpoint = 'movie_list_movie_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.movie_list.api.MovieListIdentifiers(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Return a list of supported movie list identifiers.

mediatypes()#
endpoint = 'movie_list_movie_list_identifiers'#
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.managed_lists.lists.movie_list.api.MovieListListAPI(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 = 'movie_list_movie_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.movie_list.api.MovieListMovieAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

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

Delete a movie by list ID and movie ID.

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

Get a movie by list ID and movie ID.

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

Set movie identifiers.

endpoint = 'movie_list_movie_list_movie_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.movie_list.api.MovieListMoviesAPI(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

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

Get movies by list ID.

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

Add movies to list by ID.

endpoint = 'movie_list_movie_list_movies_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.movie_list.api.ObjectsContainer[source]#

Bases: 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'}#
input_movie_entry = {'additionalProperties': True, 'properties': {'movie_identifiers': {'items': {'additionalProperties': True, 'minProperties': 1, 'type': 'object'}, 'type': 'array'}, 'movie_name': {'type': 'string'}, 'movie_year': {'type': 'integer'}}, 'required': ['movie_name'], 'type': 'object'}#
input_movie_list_id_object = {'items': {'additionalProperties': True, 'minProperties': 1, 'type': 'object'}, 'type': 'array'}#
list_input = {'properties': {'name': {'type': 'string'}}, 'type': 'object'}#
list_object = {'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}}, 'type': 'object'}#
movie_list_object = {'properties': {'added_on': {'type': 'string'}, 'list_id': {'type': 'integer'}, 'movie_list_ids': {'items': {'items': {'additionalProperties': True, 'minProperties': 1, 'type': 'object'}, 'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'movie_id': {'type': 'integer'}}, 'type': 'array'}, 'type': 'array'}, 'title': {'type': 'string'}, 'year': {'type': ['integer', 'null']}}, 'type': 'object'}#
return_identifiers = {'items': {'type': 'string'}, 'type': 'array'}#
return_lists = {'items': {'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'name': {'type': 'string'}}, 'type': 'object'}, 'type': 'array'}#
return_movie_list_id_object = {'items': {'additionalProperties': True, 'minProperties': 1, 'type': 'object'}, 'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'movie_id': {'type': 'integer'}}, 'type': 'array'}#
return_movies = {'items': {'properties': {'added_on': {'type': 'string'}, 'list_id': {'type': 'integer'}, 'movie_list_ids': {'items': {'items': {'additionalProperties': True, 'minProperties': 1, 'type': 'object'}, 'properties': {'added_on': {'type': 'string'}, 'id': {'type': 'integer'}, 'movie_id': {'type': 'integer'}}, 'type': 'array'}, 'type': 'array'}, 'title': {'type': 'string'}, 'year': {'type': ['integer', 'null']}}, 'type': 'object'}, 'type': 'array'}#