flexget.api.core.plugins module#
- class flexget.api.core.plugins.ObjectsContainer[source]#
Bases:
object- phase_object = {'properties': {'phase': {'type': 'string'}, 'priority': {'type': 'integer'}}, 'type': 'object'}#
- plugin_list_reply = {'items': {'properties': {'api_ver': {'type': 'integer'}, 'builtin': {'type': 'boolean'}, 'category': {'type': ['string', 'null']}, 'contexts': {'items': {'type': 'string'}, 'type': 'array'}, 'debug': {'type': 'boolean'}, 'interfaces': {'items': {'type': 'string'}, 'type': 'array'}, 'name': {'type': 'string'}, 'phase_handlers': {'items': {'properties': {'phase': {'type': 'string'}, 'priority': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}}, 'type': 'object'}, 'type': 'array'}#
- plugin_object = {'properties': {'api_ver': {'type': 'integer'}, 'builtin': {'type': 'boolean'}, 'category': {'type': ['string', 'null']}, 'contexts': {'items': {'type': 'string'}, 'type': 'array'}, 'debug': {'type': 'boolean'}, 'interfaces': {'items': {'type': 'string'}, 'type': 'array'}, 'name': {'type': 'string'}, 'phase_handlers': {'items': {'properties': {'phase': {'type': 'string'}, 'priority': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}}, 'type': 'object'}#
- class flexget.api.core.plugins.PluginAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- endpoint = 'plugins_plugin_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.
- class flexget.api.core.plugins.PluginsAPI(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- get(session=None)[source]#
Get list of registered plugins.
- Parameters:
session (Session)
- Return type:
Response
- mediatypes()#
- endpoint = 'plugins_plugins_api'#
- methods: ClassVar[Collection[str] | None] = {'GET'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.