Merge "api-ref: Document domain specific roles"
This commit is contained in:
commit
026b94ea9a
@ -642,12 +642,6 @@ domain_group_identity:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
domain_id_response_body:
|
||||
description: |
|
||||
The ID of the domain for the user.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
domain_id_response_body:
|
||||
description: |
|
||||
The ID of the domain.
|
||||
|
@ -394,6 +394,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- name: role_name_query
|
||||
- domain_id: domain_id_query
|
||||
|
||||
Response Parameters
|
||||
-------------------
|
||||
@ -402,6 +403,7 @@ Response Parameters
|
||||
|
||||
- links: link_collection
|
||||
- roles: roles
|
||||
- domain_id: domain_id_response_body
|
||||
- id: role_id_response_body
|
||||
- links: link_response_body
|
||||
- name: role_name_response_body
|
||||
@ -432,6 +434,7 @@ Request
|
||||
|
||||
- role: role
|
||||
- name: role_name_create_body
|
||||
- domain_id: domain_id_response_body
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
@ -439,12 +442,19 @@ Request Example
|
||||
.. literalinclude:: ./samples/admin/role-create-request.json
|
||||
:language: javascript
|
||||
|
||||
Request Example for Domain Specific Role
|
||||
----------------------------------------
|
||||
|
||||
.. literalinclude:: ./samples/admin/domain-specific-role-create-request.json
|
||||
:language: javascript
|
||||
|
||||
Response Parameters
|
||||
-------------------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- role: role
|
||||
- domain_id: domain_id_response_body
|
||||
- id: role_id_response_body
|
||||
- links: link_response_body
|
||||
- name: role_name_response_body
|
||||
@ -611,6 +621,7 @@ Response Parameters
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- role: role
|
||||
- domain_id: domain_id_response_body
|
||||
- id: role_id_response_body
|
||||
- links: link_response_body
|
||||
- name: role_name_response_body
|
||||
@ -655,6 +666,7 @@ Response Parameters
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- role: role
|
||||
- domain_id: domain_id_response_body
|
||||
- id: role_id_response_body
|
||||
- links: link_response_body
|
||||
- name: role_name_response_body
|
||||
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"role": {
|
||||
"domain_id": "92e782c4988642d783a95f4a87c3fdd7",
|
||||
"name": "developer"
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"role": {
|
||||
"domain_id": "d07792fd66ac4ed881723ab9f1c9925f",
|
||||
"id": "1e443fa8cee3482a8a2b6954dd5c8f12",
|
||||
"links": {
|
||||
"self": "http://example.com/identity/v3/roles/1e443fa8cee3482a8a2b6954dd5c8f12"
|
||||
|
@ -1,5 +1,6 @@
|
||||
{
|
||||
"role": {
|
||||
"domain_id": "73748865fb964ded9e836d491d32dcfb",
|
||||
"id": "1e443fa8cee3482a8a2b6954dd5c8f12",
|
||||
"links": {
|
||||
"self": "http://example.com/identity/v3/roles/1e443fa8cee3482a8a2b6954dd5c8f12"
|
||||
|
Loading…
Reference in New Issue
Block a user