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: APIBase

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

Bases: ResourceBase

collection_key = 'regions'
delete(region_id)[source]
get(region_id=None)[source]
member_key = 'region'
methods: t.ClassVar[t.Collection[str] | None] = {'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]