flexget.api.core.format_checker module#
- class flexget.api.core.format_checker.ObjectContainer[source]#
Bases:
object- format_checker_input = {'properties': {'episode_identifier': {'format': 'episode_identifier', 'type': 'string'}, 'episode_or_season_id': {'format': 'episode_or_season_id', 'type': 'string'}, 'file': {'format': 'file', 'type': 'string'}, 'interval': {'format': 'interval', 'type': 'string'}, 'path': {'format': 'path', 'type': 'string'}, 'percent': {'format': 'percent', 'type': 'string'}, 'quality': {'format': 'quality', 'type': 'string'}, 'quality_requirements': {'format': 'quality_requirements', 'type': 'string'}, 'regex': {'format': 'regex', 'type': 'string'}, 'size': {'format': 'size', 'type': 'string'}, 'time': {'format': 'time', 'type': 'string'}, 'url': {'format': 'url', 'type': 'string'}}, 'type': 'object'}#
- class flexget.api.core.format_checker.SchemaTest(api, *args, **kwargs)[source]#
Bases:
APIResource- Parameters:
api (RestxAPI)
- mediatypes()#
- post(session=None)[source]#
Validate flexget custom schema.
- Parameters:
session (Session)
- Return type:
Response
- endpoint = 'format_check_schema_test'#
- methods: ClassVar[Collection[str] | None] = {'POST'}#
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]) asrouteandadd_url_ruleby default.