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 = [(<class 'keystone.api.services.ServicesResource'>, '/services', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/services', 'stable', {})), (<class 'keystone.api.services.ServiceResource'>, '/services/<string:service_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/service', 'stable', {'service_id': 'https://docs.openstack.org/api/openstack-identity/3/param/service_id'}))]
class keystone.api.services.ServiceResource[source]

Bases: ResourceBase

collection_key: str = 'services'
delete(service_id)[source]
get(service_id)[source]

Show details for a service.

GET /v3/services/{service_id}

member_key: str = 'service'
methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PATCH'}

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

patch(service_id)[source]

Update existing services.

PATCH /v3/services/{service_id}

class keystone.api.services.ServicesResource[source]

Bases: ResourceBase

collection_key: str = 'services'
get()[source]

List all services.

GET /v3/services

member_key: str = 'service'
methods: t.ClassVar[t.Collection[str] | None] = {'GET', 'POST'}

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

post()[source]

Create new services.

POST /v3/services