keystone.api.role_inferences module

keystone.api.role_inferences module

class keystone.api.role_inferences.RoleInferencesAPI(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.role_inferences.RoleInferencesResource'>, url='/role_inferences', alternate_urls=None, kwargs={}, json_home_data=json_home_data(rel='https://docs.openstack.org/api/openstack-identity/3/rel/role_inferences', status='stable', path_vars={}))]
resources = []
class keystone.api.role_inferences.RoleInferencesResource[source]

Bases: Resource

get()[source]

List role inference rules.

GET/HEAD /v3/role_inferences

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.

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.