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: keystone.server.flask.common.APIBase

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

Bases: keystone.server.flask.common.ResourceBase

collection_key = 'role_assignments'
get()[source]

List all role assignments.

GET/HEAD /v3/role_assignments

member_key = 'role_assignment'
methods: ClassVar[Optional[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.