Merge "Fix the parameters for os-agents API"
This commit is contained in:
commit
1e391f8dd6
@ -29,7 +29,7 @@ Request
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- tenant_id: tenant_id
|
||||
- hypervisor: OS-EXT-SRV-ATTR:hypervisor_hostname
|
||||
- hypervisor: hypervisor
|
||||
- architecture: architecture
|
||||
- os: os
|
||||
- url: url
|
||||
@ -44,6 +44,16 @@ Request
|
||||
Response
|
||||
--------
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- hypervisor: hypervisor
|
||||
- architecture: architecture
|
||||
- os: os
|
||||
- url: url
|
||||
- md5hash: md5hash
|
||||
- version: version
|
||||
- agent_id: agent_id
|
||||
|
||||
**Example Create Agent Build: JSON response**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/os-agents/agent-post-resp.json
|
||||
@ -137,7 +147,7 @@ Response
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- agent_id: agent_id
|
||||
- agent_id: agent_id_str
|
||||
- url: url
|
||||
- md5hash: md5hash
|
||||
- version: version
|
||||
|
@ -24,7 +24,7 @@ admin_tenant_id:
|
||||
type: string
|
||||
agent_build_id:
|
||||
description: |
|
||||
The UUID of the agent build.
|
||||
The id of the agent build.
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
@ -667,6 +667,13 @@ agent_id:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
agent_id_str:
|
||||
description: |
|
||||
The agent ID. (This is a bug of API, this should be integer type which is consistent with
|
||||
the responses of agent create and list. This will be fixed in later microversion.)
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
alias:
|
||||
description: |
|
||||
A short name by which this extension is also known.
|
||||
|
Loading…
Reference in New Issue
Block a user