Fix prameters name and response codes in Keystone API v2
This patch fixes parameters name and response codes in Keystone API v2. Change-Id: I0b81389ee43e588c5a37d7470763d7ecf853fbd3
This commit is contained in:
parent
bf5711ef02
commit
36d7be0e79
|
@ -13,6 +13,7 @@ Show extension details
|
|||
Shows details for an extension, by alias.
|
||||
|
||||
Normal response codes: 200,203
|
||||
|
||||
Error response codes: 413,405,404,403,401,400,503
|
||||
|
||||
Request
|
||||
|
@ -30,8 +31,8 @@ Response Parameters
|
|||
- x-openstack-request-id: x-openstack-request-id
|
||||
- alias: alias
|
||||
- updated: updated
|
||||
- description: description
|
||||
- name: name
|
||||
- description: api_ext_description
|
||||
- name: api_ext_name
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
@ -48,6 +49,7 @@ List extensions
|
|||
Lists available extensions.
|
||||
|
||||
Normal response codes: 200,203
|
||||
|
||||
Error response codes: 413,405,404,403,401,400,503
|
||||
|
||||
Response Parameters
|
||||
|
@ -58,8 +60,8 @@ Response Parameters
|
|||
- x-openstack-request-id: x-openstack-request-id
|
||||
- alias: alias
|
||||
- updated: updated
|
||||
- description: description
|
||||
- name: name
|
||||
- description: api_ext_description
|
||||
- name: api_ext_name
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
|
|
@ -12,20 +12,21 @@ List tenants
|
|||
|
||||
Lists tenants to which the token has access.
|
||||
|
||||
Normal response codes: 200
|
||||
Error response codes:203,413,405,404,403,401,400,503,
|
||||
Normal response codes: 200,
|
||||
|
||||
Error response codes: 413,405,404,403,401,400,503,
|
||||
|
||||
Response Parameters
|
||||
-------------------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- description: description
|
||||
- description: tenant_description
|
||||
- tenants_links: tenants_links
|
||||
- enabled: enabled
|
||||
- tenants: tenants
|
||||
- id: id
|
||||
- name: name
|
||||
- id: tenantId_response
|
||||
- name: tenantName_response
|
||||
|
||||
Response Example
|
||||
----------------
|
||||
|
@ -66,8 +67,9 @@ The deployment determines how long expired tokens are stored.
|
|||
To view the ``trust`` object, you need to set ``trust`` enable on
|
||||
the keystone configuration.
|
||||
|
||||
Normal response codes: 200
|
||||
Error response codes:203,413,405,404,403,401,400,503,
|
||||
Normal response codes: 200,
|
||||
|
||||
Error response codes:413,405,404,403,401,400,503,
|
||||
|
||||
Request
|
||||
-------
|
||||
|
@ -96,11 +98,11 @@ Response Parameters
|
|||
- impersonation: impersonation
|
||||
- endpoints_links: endpoints_links
|
||||
- serviceCatalog: serviceCatalog
|
||||
- description: description
|
||||
- description: tenant_description
|
||||
- type: type
|
||||
- expires: expires
|
||||
- enabled: enabled
|
||||
- name: name
|
||||
- name: tenantName_response
|
||||
- access: access
|
||||
- trustee_user_id: trustee_user_id
|
||||
- token: token
|
||||
|
@ -109,7 +111,7 @@ Response Parameters
|
|||
- trustor_user_id: trustor_user_id
|
||||
- endpoints: endpoints
|
||||
- trust: trust
|
||||
- id: id
|
||||
- id: tenantId_response
|
||||
- tenant: tenant
|
||||
- metadata: metadata
|
||||
|
||||
|
|
|
@ -9,13 +9,6 @@ x-openstack-request-id:
|
|||
type: string
|
||||
|
||||
# variables in path
|
||||
alias_1:
|
||||
description: |
|
||||
An alias for the extension name. For example,
|
||||
``os-server-external- events``.
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
|
||||
# variables in query
|
||||
|
||||
|
@ -34,22 +27,16 @@ alias:
|
|||
in: body
|
||||
required: true
|
||||
type: string
|
||||
description:
|
||||
description: |
|
||||
The description of the tenant. If not set, this
|
||||
value is ``null``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
description_1:
|
||||
api_ext_description:
|
||||
description: |
|
||||
The extension description.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
description_2:
|
||||
api_ext_name:
|
||||
description: |
|
||||
Description about the tenant.
|
||||
The name of the extension. For example, "Fox In
|
||||
Socks."
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
|
@ -101,12 +88,6 @@ id:
|
|||
in: body
|
||||
required: false
|
||||
type: string
|
||||
id_1:
|
||||
description: |
|
||||
The tenant ID.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
impersonation:
|
||||
description: |
|
||||
The impersonation flag.
|
||||
|
@ -143,19 +124,6 @@ name:
|
|||
in: body
|
||||
required: true
|
||||
type: string
|
||||
name_1:
|
||||
description: |
|
||||
The name of the extension. For example, "Fox In
|
||||
Socks."
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
name_2:
|
||||
description: |
|
||||
The tenant name.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
password:
|
||||
description: |
|
||||
The password of the user. Required if you include
|
||||
|
@ -184,6 +152,12 @@ tenant:
|
|||
in: body
|
||||
required: true
|
||||
type: object
|
||||
tenant_description:
|
||||
description: |
|
||||
Description about the tenant.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
tenantId:
|
||||
description: |
|
||||
The tenant ID. Both the ``tenantId`` and
|
||||
|
@ -193,6 +167,12 @@ tenantId:
|
|||
in: body
|
||||
required: false
|
||||
type: string
|
||||
tenantId_response:
|
||||
description: |
|
||||
The tenant ID.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
tenantName:
|
||||
description: |
|
||||
The tenant name. Both the ``tenantId`` and
|
||||
|
@ -202,6 +182,12 @@ tenantName:
|
|||
in: body
|
||||
required: false
|
||||
type: string
|
||||
tenantName_response:
|
||||
description: |
|
||||
The tenant name.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
tenants:
|
||||
description: |
|
||||
One or more tenant Objects.
|
||||
|
|
Loading…
Reference in New Issue