keystone.api.endpoints module

class keystone.api.endpoints.EndpointAPI(blueprint_url_prefix='', api_url_prefix='', default_mediatype='application/json', decorators=None, errors=None)[source]

Bases: APIBase

resource_mapping = [ResourceMap(resource=<class 'keystone.api.endpoints.EndpointsResource'>, url='/endpoints', alternate_urls=None, kwargs={}, json_home_data=JsonHomeData(rel='https://docs.openstack.org/api/openstack-identity/3/rel/endpoints', status='stable', path_vars={})), ResourceMap(resource=<class 'keystone.api.endpoints.EndpointResource'>, url='/endpoints/<string:endpoint_id>', alternate_urls=None, kwargs={}, json_home_data=JsonHomeData(rel='https://docs.openstack.org/api/openstack-identity/3/rel/endpoint', status='stable', path_vars={'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'})), ResourceMap(resource=<class 'keystone.api.endpoints.EndpointPolicyEndpointResource'>, url='/endpoints/<string:endpoint_id>/OS-ENDPOINT-POLICY/policy', alternate_urls=None, kwargs={}, json_home_data=JsonHomeData(rel='https://docs.openstack.org/api/openstack-identity/3/ext/OS-ENDPOINT-POLICY/1.0/rel/endpoint_policy', status='stable', path_vars={'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'}))]
class keystone.api.endpoints.EndpointPolicyEndpointResource[source]

Bases: Resource

get(endpoint_id)[source]
methods: t.ClassVar[t.Collection[str] | None] = {'GET'}

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

class keystone.api.endpoints.EndpointResource[source]

Bases: ResourceBase

collection_key: str = 'endpoints'
delete(endpoint_id)[source]
get(endpoint_id)[source]

Show endpoint details

GET /v3/endpoints/{endpoint_id}

member_key: str = 'endpoint'
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(endpoint_id)[source]

Update existing endpoints.

PATCH /v3/endpoints/{endpoint_id}

class keystone.api.endpoints.EndpointsResource[source]

Bases: ResourceBase

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

List all endpoints.

GET /v3/endpoints

get_member_from_driver
member_key: str = 'endpoint'
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 endpoints.

POST /v3/endpoints