keystone.api.limits module

class keystone.api.limits.LimitModelResource[source]

Bases: flask_restful.Resource

get()[source]
methods: ClassVar[Optional[Collection[str]]] = {'GET'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

class keystone.api.limits.LimitsAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]

Bases: keystone.server.flask.common.APIBase

resource_mapping = [resource_map(resource=<class 'keystone.api.limits.LimitModelResource'>, url='/limits/model', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/rel/limit_model', status='experimental', path_vars={}))]
resources = [<class 'keystone.api.limits.LimitsResource'>]
class keystone.api.limits.LimitsResource[source]

Bases: keystone.server.flask.common.ResourceBase

collection_key = 'limits'
delete(limit_id)[source]
get(limit_id=None)[source]
get_member_from_driver
json_home_resource_status = 'experimental'
member_key = 'limit'
methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}

The methods this view is registered for. Uses the same default (["GET", "HEAD", "OPTIONS"]) as route and add_url_rule by default.

patch(limit_id)[source]
post()[source]