flexget.components.irc.api module#

class flexget.components.irc.api.IRCEnums(api, *args, **kwargs)[source]#

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Get channel status enumeration meaning.

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

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Restarts IRC connections.

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

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Return status of IRC connections.

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

Bases: APIResource

Parameters:

api (RestxAPI)

get(session=None)[source]#

Stop IRC connections.

mediatypes()#
endpoint = 'irc_irc_stop'#
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.irc.api.ObjectsContainer[source]#

Bases: object

connection = {'patternProperties': {'\\w': {'properties': {'alive': {'type': 'boolean'}, 'channels': {'items': {'patternProperties': {'\\w': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}, 'connected_channels': {'items': {'type': 'string'}, 'type': 'array'}, 'port': {'type': 'integer'}, 'server': {'type': 'string'}}, 'type': 'object'}}, 'type': 'object'}#
connection_object = {'properties': {'alive': {'type': 'boolean'}, 'channels': {'items': {'patternProperties': {'\\w': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}, 'connected_channels': {'items': {'type': 'string'}, 'type': 'array'}, 'port': {'type': 'integer'}, 'server': {'type': 'string'}}, 'type': 'object'}#
return_response = {'items': {'patternProperties': {'\\w': {'properties': {'alive': {'type': 'boolean'}, 'channels': {'items': {'patternProperties': {'\\w': {'type': 'integer'}}, 'type': 'object'}, 'type': 'array'}, 'connected_channels': {'items': {'type': 'string'}, 'type': 'array'}, 'port': {'type': 'integer'}, 'server': {'type': 'string'}}, 'type': 'object'}}, 'type': 'object'}, 'type': 'array'}#