mistral.api.controllers package

Submodules

mistral.api.controllers.resource module

Bases: mistral.api.controllers.resource.Resource

Web link.

classmethod sample()
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()
class mistral.api.controllers.resource.ResourceList(**kw)

Bases: mistral.api.controllers.resource.Resource

Resource containing the list of other resources.

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()

mistral.api.controllers.root module

class mistral.api.controllers.root.APIVersion(**kw)

Bases: mistral.api.controllers.resource.Resource

An API Version.

classmethod sample()
class mistral.api.controllers.root.APIVersions(**kw)

Bases: mistral.api.controllers.resource.Resource

API Versions.

classmethod sample()
class mistral.api.controllers.root.RootController

Bases: object

index(*args, **kwargs)

Module contents