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