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