keystone.api.regions module

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

Bases: keystone.server.flask.common.APIBase

resource_mapping = []
resources = [<class 'keystone.api.regions.RegionResource'>]
class keystone.api.regions.RegionResource[source]

Bases: keystone.server.flask.common.ResourceBase

collection_key = 'regions'
delete(region_id)[source]
get(region_id=None)[source]
member_key = 'region'
methods: ClassVar[Optional[Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST', 'PUT'}

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

patch(region_id)[source]
post()[source]
put(region_id)[source]