keystone.api.services module¶
- class keystone.api.services.ServiceAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]¶
Bases:
APIBase
- resource_mapping = []¶
- resources = [<class 'keystone.api.services.ServicesResource'>]¶
- class keystone.api.services.ServicesResource[source]¶
Bases:
ResourceBase
- collection_key: str = 'services'¶
- member_key: str = 'service'¶
- methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH', 'POST'}¶
The methods this view is registered for. Uses the same default (
["GET", "HEAD", "OPTIONS"]
) asroute
andadd_url_rule
by default.