Detail Fed Projects and Domains APIs in api-ref

Change-Id: Ifab067287e67ed9a5cb5dd806221d29d240f0241
This commit is contained in:
Samuel de Medeiros Queiroz 2016-08-12 18:28:21 -03:00
parent 1fff127d04
commit 5d2fd076c3
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,35 @@
# variables in header
# variables in path
# variables in query
# variables in body
domains:
description: |
The list of domains the authenticated user may scope to
in: body
required: true
type: object
links_domains:
description: |
Link to the URI where the domain collection is located
in: body
required: true
type: object
links_projects:
description: |
Link to the URI where the project collection is located
in: body
required: true
type: object
projects:
description: |
The list of projects the authenticated user may scope to
in: body
required: true
type: object

View File

@ -18,6 +18,14 @@ to access. To access this resource, an unscoped token is used, the user can
then select a project and request a scoped token. Note that only enabled
projects will be returned.
Response
--------
.. rest_parameters:: federation/projects-domains/parameters.yaml
- links: links_projects
- projects: projects
Response Example
----------------
@ -40,6 +48,14 @@ to access. To access this resource, an unscoped token is used, the user can
then select a domain and request a scoped token. Note that only enabled domains
will be returned.
Response
--------
.. rest_parameters:: federation/projects-domains/parameters.yaml
- domains: domains
- links: links_domains
Response Example
----------------