Merge "api-ref: Add missing parameter tables to tenant"

changes/35/318435/112
Jenkins 6 years ago committed by Gerrit Code Review
commit 2ca0db2d62
  1. 46
      api-ref/source/v2-admin/admin-tenants.inc
  2. 19
      api-ref/source/v2-admin/parameters.yaml

@ -22,6 +22,17 @@ Request
- tenantId: tenantId
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- tenant: tenant
- enabled: enabled
- description: description
- name: name
- id: id
Response Example
----------------
@ -46,6 +57,18 @@ Request
- tenantId: tenantId
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- users_link: users_link
- users: users
- enabled: enabled
- username: username
- email: email
- id: id
Response Example
----------------
@ -99,6 +122,18 @@ Lists all tenants.
Normal response codes: 200,203
Error response codes: 413,405,404,403,401,400,503
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- tenant_links: tenant_links
- tenants: tenants
- enabled: enabled
- description: description
- name: name
- id: id
Response Example
----------------
@ -123,6 +158,17 @@ Request
- name: name
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- tenant: tenant
- enabled: enabled
- description: description
- name: name
- id: id
Response Example
----------------

@ -206,12 +206,24 @@ tenant:
in: body
required: true
type: string
tenant_links:
description: |
The link to the represented tenant collection.
in: body
required: true
type: array
tenantId:
description: |
The tenant ID.
in: body
required: false
type: string
tenants:
description: |
The collection of tenants.
in: body
required: true
type: array
token:
description: |
A ``token`` object.
@ -267,4 +279,9 @@ users:
in: body
required: true
type: array
users_link:
description: |
The link to the reporesented user collection.
in: body
required: true
type: array

Loading…
Cancel
Save