mistral.api.controllers package¶
Subpackages¶
- mistral.api.controllers.v2 package
- Submodules
- mistral.api.controllers.v2.action module
- mistral.api.controllers.v2.action_execution module
- mistral.api.controllers.v2.cron_trigger module
- mistral.api.controllers.v2.environment module
- mistral.api.controllers.v2.event_trigger module
- mistral.api.controllers.v2.execution module
- mistral.api.controllers.v2.member module
- mistral.api.controllers.v2.resources module
- mistral.api.controllers.v2.root module
- mistral.api.controllers.v2.service module
- mistral.api.controllers.v2.task module
- mistral.api.controllers.v2.types module
- mistral.api.controllers.v2.validation module
- mistral.api.controllers.v2.workbook module
- mistral.api.controllers.v2.workflow module
- Module contents
Submodules¶
mistral.api.controllers.resource module¶
-
class
mistral.api.controllers.resource.
Link
(**kw)¶ Bases:
mistral.api.controllers.resource.Resource
Web link.
-
classmethod
sample
()¶
-
classmethod
-
class
mistral.api.controllers.resource.
Resource
(**kw)¶ Bases:
wsme.types.Base
REST API Resource.
-
classmethod
from_dict
(d)¶
-
classmethod
get_fields
()¶
-
to_dict
()¶
-
to_json
()¶
-
classmethod
-
class
mistral.api.controllers.resource.
ResourceList
(**kw)¶ Bases:
mistral.api.controllers.resource.Resource
Resource containing the list of other resources.
-
classmethod
convert_with_links
(resources, limit, url=None, fields=None, **kwargs)¶
-
get_next
(limit, url=None, fields=None, **kwargs)¶ Return a link to the next subset of the resources.
-
has_next
(limit)¶ Return whether resources has more items.
-
to_dict
()¶
-
classmethod
mistral.api.controllers.root module¶
-
class
mistral.api.controllers.root.
APIVersion
(**kw)¶ Bases:
mistral.api.controllers.resource.Resource
An API Version.
-
classmethod
sample
()¶
-
classmethod
-
class
mistral.api.controllers.root.
APIVersions
(**kw)¶ Bases:
mistral.api.controllers.resource.Resource
API Versions.
-
classmethod
sample
()¶
-
classmethod