List roles for group on domain (GET /v3/domains/{domain_id}/groups/{group_id}/roles)

Lists roles for the specified group on the specified domain.

Request headers

Content-type

Indicates the format of content defined in the MIME specification.

Specify application/json. (required)

Data type Cardinality
xsd:string 1..1

Accept

Indicates the accept format defined in the MIME specification.

Specify application/json. (optional)

Data type Cardinality
xsd:string 1..1

X-Auth-Token

Valid authentication token

Data type Cardinality
xsd:string 1..1

Request parameters

domain_id

Domain ID (required)

Data type Cardinality Parent element Child element
xsd:string 1..1 None None

group_id

Group ID (required)

Data type Cardinality Parent element Child element
xsd:string 1..1 None None

Response headers

HTTP status code

Returns the HTTP status code of the request.

One of the following values will be returned.

200:
Normal completion
400:
Invalid access (invalid parameter, etc.)
401:
Authentication error
403:
Cannot access (no privileges)
404:
No applicable resources
409:
Data conflict occurred
500:
Unexpected error
501:
Has not been implemented
503:
Cannot use service
Data type Cardinality
int 1..1

Vary

By setting or changing the following header, notification is given that expressions can be requested in a different file format.

X-Auth-Token

Data type Cardinality
xsd:string 1..1

Content-Type

Indicates the format of content defined in the MIME specification.

application/json

Data type Cardinality
xsd:string 1..1

Content-Length

Indicates the length of an entity in bytes.

Data type Cardinality
int 1..1

Date

Indicates the date when the request was created.

Data type Cardinality
date 1..1

Response elements

roles

roles object

Data type Cardinality Parent element Child element
Element 1..1 None (role)

(role)

role object (object name is not displayed)

Data type Cardinality Parent element Child element
Element 1..n roles id

links

name

enabled

description

id

Role ID

Data type Cardinality Parent element Child element
xsd:string 1..1 (role) None

links

Link information of role

Data type Cardinality Parent element Child element
Element 1..1 (role) self

name

Role name

Data type Cardinality Parent element Child element
xsd:string 1..1 (role) None

enabled

Enabled setting

Data type Cardinality Parent element Child element
xsd:string 1..1 (role) None

description

Role description

Data type Cardinality Parent element Child element
xsd:string 1..1 (role) None

links

API link information

Data type Cardinality Parent element Child element
Element 1..1 None self

previous

next

Example of request


GET /v3/domains/--domain-id--/groups/--group-id--/roles
X-Auth-Token: MIIIHgYJKoZIhvcNAQcCoIIIDzCCCAsCAQExC . . .
     

Example of response


       {
    "roles": [
        {
            "id": "--admin-role-id--",
            "links": {
                "self": "http://identity.jp-east-1.cloud.global.fujitsu.com/v3/roles/--admin-role-id--"
            },
            "name": "admin"
        },
        {
            "id": "--service-role-id--",
            "links": {
                "self": "http://identity.jp-east-1.cloud.global.fujitsu.com/v3/roles/--service-role-id--"
            },
            "name": "service"
        },
        {
            "id": "--member-role-id--",
            "links": {
                "self": "http://identity.jp-east-1.cloud.global.fujitsu.com/v3/roles/--member-role-id--"
                },
            "enabled": "True"
            "description": "Default role for project membership"
            "name": "_member_"
        }
    ],
    "links": {
        "self": "http://identity.jp-east-1.cloud.global.fujitsu.com/v3/domains/--domain-id--/groups/--group-id--/roles",
        "previous": null,
        "next": null
    }
}