keystone.api.role_assignments module

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

Bases: APIBase

resource_mapping = [(<class 'keystone.api.role_assignments.RoleAssignmentsResource'>, '/role_assignments', None, {}, ('https://docs.openstack.org/api/openstack-identity/3/rel/role_assignments', 'stable', {}))]
resources = []
class keystone.api.role_assignments.RoleAssignmentsResource[source]

Bases: ResourceBase

collection_key = 'role_assignments'
get()[source]

List all role assignments.

GET/HEAD /v3/role_assignments

member_key = 'role_assignment'
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.