Merge "api-ref: Correcting V3 Credentials APIs"
This commit is contained in:
commit
cab5b468ca
|
@ -37,9 +37,9 @@ Request
|
||||||
|
|
||||||
- credential: credential
|
- credential: credential
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type
|
||||||
- blob: blob
|
- blob: credential_blob
|
||||||
- user_id: user_id
|
- user_id: credential_user_id
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
|
@ -53,12 +53,12 @@ Response Parameters
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- credential: credential
|
- credential: credential
|
||||||
- user_id: user_id
|
- user_id: credential_user_id
|
||||||
- links: links
|
- links: credential_links
|
||||||
- blob: blob
|
- blob: credential_blob
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type
|
||||||
- id: id
|
- id: credential_id
|
||||||
|
|
||||||
|
|
||||||
List credentials
|
List credentials
|
||||||
|
@ -79,20 +79,20 @@ Request
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- user_id: user_id
|
- user_id: user_id_query
|
||||||
|
|
||||||
Response Parameters
|
Response Parameters
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- user_id: user_id
|
- user_id: credential_user_id
|
||||||
- links: links
|
- links: credentials_links
|
||||||
- blob: blob
|
- blob: credential_blob
|
||||||
- credentials: credentials
|
- credentials: credentials
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type
|
||||||
- id: id
|
- id: credential_id
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@ -116,7 +116,7 @@ Request
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- credential_id: credential_id
|
- credential_id: credential_id_path
|
||||||
|
|
||||||
Response Parameters
|
Response Parameters
|
||||||
-------------------
|
-------------------
|
||||||
|
@ -124,12 +124,12 @@ Response Parameters
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- credential: credential
|
- credential: credential
|
||||||
- user_id: user_id
|
- user_id: credential_user_id
|
||||||
- links: links
|
- links: credential_links
|
||||||
- blob: blob
|
- blob: credential_blob
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type
|
||||||
- id: id
|
- id: credential_id
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@ -153,12 +153,12 @@ Request
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
|
- credential_id: credential_id_path
|
||||||
- credential: credential
|
- credential: credential
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type_notRequired
|
||||||
- blob: blob
|
- blob: credential_blob_notRequired
|
||||||
- user_id: user_id
|
- user_id: credential_user_id_notRequired
|
||||||
- credential_id: credential_id
|
|
||||||
|
|
||||||
Request Example
|
Request Example
|
||||||
---------------
|
---------------
|
||||||
|
@ -172,12 +172,12 @@ Response Parameters
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- credential: credential
|
- credential: credential
|
||||||
- user_id: user_id
|
- user_id: credential_user_id
|
||||||
- links: links
|
- links: credential_links
|
||||||
- blob: blob
|
- blob: credential_blob
|
||||||
- project_id: project_id
|
- project_id: project_id
|
||||||
- type: type
|
- type: credential_type
|
||||||
- id: id
|
- id: credential_id
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
----------------
|
----------------
|
||||||
|
@ -201,4 +201,4 @@ Request
|
||||||
|
|
||||||
.. rest_parameters:: parameters.yaml
|
.. rest_parameters:: parameters.yaml
|
||||||
|
|
||||||
- credential_id: credential_id
|
- credential_id: credential_id_path
|
||||||
|
|
|
@ -29,7 +29,7 @@ access_token_id:
|
||||||
in: path
|
in: path
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
credential_id:
|
credential_id_path:
|
||||||
description: |
|
description: |
|
||||||
The UUID for the credential.
|
The UUID for the credential.
|
||||||
in: path
|
in: path
|
||||||
|
@ -442,18 +442,6 @@ auth_token_id:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
blob:
|
|
||||||
description: |
|
|
||||||
The credential itself, as a serialized blob.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
blob_3:
|
|
||||||
description: |
|
|
||||||
The credential itself, as a serialized blob.
|
|
||||||
in: body
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
catalog:
|
catalog:
|
||||||
description: |
|
description: |
|
||||||
A ``catalog`` object.
|
A ``catalog`` object.
|
||||||
|
@ -466,12 +454,68 @@ credential:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: object
|
type: object
|
||||||
|
credential_blob:
|
||||||
|
description: |
|
||||||
|
The credential itself, as a serialized blob.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
credential_blob_notRequired:
|
||||||
|
description: |
|
||||||
|
The credential itself, as a serialized blob.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
credential_id:
|
||||||
|
description: |
|
||||||
|
The UUID for the credential.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
credential_links:
|
||||||
|
description: |
|
||||||
|
The links for the ``credential`` resource.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
|
credential_type:
|
||||||
|
description: |
|
||||||
|
The credential type, such as ``ec2`` or ``cert``.
|
||||||
|
The implementation determines the list of supported types.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
credential_type_notRequired:
|
||||||
|
description: |
|
||||||
|
The credential type, such as ``ec2`` or ``cert``.
|
||||||
|
The implementation determines the list of supported types.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
credential_user_id:
|
||||||
|
description: |
|
||||||
|
The ID of the user who owns the credential.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
credential_user_id_notRequired:
|
||||||
|
description: |
|
||||||
|
The ID of the user who owns the credential.
|
||||||
|
in: body
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
credentials:
|
credentials:
|
||||||
description: |
|
description: |
|
||||||
A ``credentials`` object.
|
A list of ``credential`` objects.
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
|
credentials_links:
|
||||||
|
description: |
|
||||||
|
The links for the ``credentials`` resource.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: object
|
||||||
default_project_id_request_body:
|
default_project_id_request_body:
|
||||||
description: |
|
description: |
|
||||||
The ID of the default project for the user.
|
The ID of the default project for the user.
|
||||||
|
@ -1047,12 +1091,6 @@ id_2:
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
id_3:
|
|
||||||
description: |
|
|
||||||
The UUID for the credential.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
id_4:
|
id_4:
|
||||||
description: |
|
description: |
|
||||||
The domain ID.
|
The domain ID.
|
||||||
|
@ -1169,18 +1207,6 @@ link_response_body:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
links:
|
|
||||||
description: |
|
|
||||||
The links for the ``credential`` resource.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: object
|
|
||||||
links_10:
|
|
||||||
description: |
|
|
||||||
The links for the ``credentials`` resource.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: object
|
|
||||||
links_11:
|
links_11:
|
||||||
description: |
|
description: |
|
||||||
The links for the ``domains`` resource.
|
The links for the ``domains`` resource.
|
||||||
|
@ -1706,13 +1732,6 @@ type:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
type_1:
|
|
||||||
description: |
|
|
||||||
The credential type, such as ``ec2`` or ``cert``.
|
|
||||||
The implementation determines the list of supported types.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
type_3:
|
type_3:
|
||||||
description: |
|
description: |
|
||||||
The service type, which describes the API
|
The service type, which describes the API
|
||||||
|
@ -1721,13 +1740,6 @@ type_3:
|
||||||
in: body
|
in: body
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
type_7:
|
|
||||||
description: |
|
|
||||||
The credential type, such as ``ec2`` or ``cert``.
|
|
||||||
The implementation determines the list of supported types.
|
|
||||||
in: body
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
user:
|
user:
|
||||||
description: |
|
description: |
|
||||||
A ``user`` object.
|
A ``user`` object.
|
||||||
|
@ -1755,24 +1767,12 @@ user_id:
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
user_id_1:
|
|
||||||
description: |
|
|
||||||
The ID of the user who owns the credential.
|
|
||||||
in: body
|
|
||||||
required: true
|
|
||||||
type: string
|
|
||||||
user_id_2:
|
user_id_2:
|
||||||
description: |
|
description: |
|
||||||
The ID of the user who owns the policy.
|
The ID of the user who owns the policy.
|
||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
user_id_5:
|
|
||||||
description: |
|
|
||||||
The ID of the user who owns the credential.
|
|
||||||
in: body
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
user_name:
|
user_name:
|
||||||
description: |
|
description: |
|
||||||
The user name. Required if you do not specify
|
The user name. Required if you do not specify
|
||||||
|
|
Loading…
Reference in New Issue