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'¶
- 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"]
) asroute
andadd_url_rule
by default.