keystone.api.os_ep_filter module

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

Bases: APIBase

resource_mapping = [(<class 'keystone.api.os_ep_filter.EPFilterEndpointProjectsResource'>, '/endpoints/<string:endpoint_id>/projects', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoint_projects', 'stable', {'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id'})), (<class 'keystone.api.os_ep_filter.EPFilterProjectsEndpointsResource'>, '/projects/<string:project_id>/endpoints/<string:endpoint_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoint', 'stable', {'endpoint_id': 'https://docs.openstack.org/api/openstack-identity/3/param/endpoint_id', 'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), (<class 'keystone.api.os_ep_filter.EPFilterProjectEndpointsListResource'>, '/projects/<string:project_id>/endpoints', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoints', 'stable', {'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), (<class 'keystone.api.os_ep_filter.EndpointFilterProjectEndpointGroupsListResource'>, '/projects/<string:project_id>/endpoint_groups', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/project_endpoint_groups', 'stable', {'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'})), (<class 'keystone.api.os_ep_filter.EndpointFilterEPGroupsEndpoints'>, '/endpoint_groups/<string:endpoint_group_id>/endpoints', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoints_in_endpoint_group', 'stable', {'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id'})), (<class 'keystone.api.os_ep_filter.EndpointFilterEPGroupsProjects'>, '/endpoint_groups/<string:endpoint_group_id>/projects', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/projects_associated_with_endpoint_group', 'stable', {'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id'})), (<class 'keystone.api.os_ep_filter.EPFilterGroupsProjectsResource'>, '/endpoint_groups/<string:endpoint_group_id>/projects/<string:project_id>', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/rel/endpoint_group_to_project_association', 'stable', {'endpoint_group_id': 'https://docs.openstack.org/api/openstack-identity/3/ext/OS-EP-FILTER/1.0/param/endpoint_group_id', 'project_id': 'https://docs.openstack.org/api/openstack-identity/3/param/project_id'}))]
resources = [<class 'keystone.api.os_ep_filter.EndpointGroupsResource'>]
class keystone.api.os_ep_filter.EPFilterEndpointProjectsResource[source]

Bases: Resource

get(endpoint_id)[source]

Return a list of projects associated with the endpoint.

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.os_ep_filter.EPFilterGroupsProjectsResource[source]

Bases: ResourceBase

collection_key = 'project_endpoint_groups'
delete(endpoint_group_id, project_id)[source]
get(endpoint_group_id, project_id)[source]
member_key = 'project_endpoint_group'
methods: t.ClassVar[t.Collection[str] | None] = {'DELETE', 'GET', 'PUT'}

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

put(endpoint_group_id, project_id)[source]
class keystone.api.os_ep_filter.EPFilterProjectEndpointsListResource[source]

Bases: Resource

get(project_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.os_ep_filter.EPFilterProjectsEndpointsResource[source]

Bases: Resource

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

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

put(project_id, endpoint_id)[source]
class keystone.api.os_ep_filter.EndpointFilterEPGroupsEndpoints[source]

Bases: Resource

get(endpoint_group_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.os_ep_filter.EndpointFilterEPGroupsProjects[source]

Bases: Resource

get(endpoint_group_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.os_ep_filter.EndpointFilterProjectEndpointGroupsListResource[source]

Bases: Resource

get(project_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.os_ep_filter.EndpointGroupsResource[source]

Bases: ResourceBase

api_prefix = '/OS-EP-FILTER'
collection_key = 'endpoint_groups'
delete(endpoint_group_id)[source]
get(endpoint_group_id=None)[source]
json_home_parameter_rel_func(*, extension_version='1.0', parameter_name)
json_home_resource_rel_func(*, extension_version='1.0', resource_name)
member_key = 'endpoint_group'
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"]) as route and add_url_rule by default.

patch(endpoint_group_id)[source]
post()[source]