keystone.api.endpoints module

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 = [resource_map(resource=<class 'keystone.api.endpoints.EndpointPolicyEndpointResource'>, url='/endpoints/<string:endpoint_id>/OS-ENDPOINT-POLICY/policy', alternate_urls=None, kwargs={}, json_home_data=json_home_data(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'}))]
resources = [<class 'keystone.api.endpoints.EndpointResource'>]
class keystone.api.endpoints.EndpointPolicyEndpointResource[source]

Bases: Resource

get(endpoint_id)[source]
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'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 = 'endpoints'
delete(endpoint_id)[source]
get(endpoint_id=None)[source]
get_member_from_driver
member_key = 'endpoint'
methods: t.ClassVar[t.Optional[t.Collection[str]]] = {'DELETE', 'GET', 'PATCH', 'POST'}

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]
post()[source]
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.