Browse Source

Merge "Detail Fed Projects and Domains APIs in api-ref"

changes/35/318435/115
Jenkins 6 years ago committed by Gerrit Code Review
parent
commit
a4be6d998c
  1. 35
      api-ref/source/v3-ext/federation/projects-domains/parameters.yaml
  2. 16
      api-ref/source/v3-ext/federation/projects-domains/projects-domains.inc

35
api-ref/source/v3-ext/federation/projects-domains/parameters.yaml

@ -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

16
api-ref/source/v3-ext/federation/projects-domains/projects-domains.inc

@ -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
----------------

Loading…
Cancel
Save