diff options
author | Ronald Bradford <ronald.bradford@gmail.com> | 2016-06-06 14:14:28 -0400 |
---|---|---|
committer | Ronald Bradford <ronald.bradford@gmail.com> | 2016-06-21 13:48:58 -0400 |
commit | 0d450c469541a5e95eb20f6bf6118b15f4d438d6 (patch) | |
tree | e7c83c8f59fdca9f1488d4749110db9b5bff5624 /api-ref/source/os-agents.inc | |
parent | fab0cba7cdad9a4d7407ae342e739152436914e0 (diff) | |
download | nova-0d450c469541a5e95eb20f6bf6118b15f4d438d6.tar.gz |
api-ref: parameter verification os-agents
Change-Id: I7e319ec05489d87cdd5b4a486f3981fc8d8f90a9
Diffstat (limited to 'api-ref/source/os-agents.inc')
-rw-r--r-- | api-ref/source/os-agents.inc | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/api-ref/source/os-agents.inc b/api-ref/source/os-agents.inc index c37efcc566..eb66d81ffe 100644 --- a/api-ref/source/os-agents.inc +++ b/api-ref/source/os-agents.inc @@ -1,5 +1,4 @@ .. -*- rst -*- -.. needs:parameter_verification .. needs:example_verification .. needs:body_verification @@ -30,18 +29,23 @@ Request .. rest_parameters:: parameters.yaml + - hypervisor: hypervisor_query + +Response +-------- + +.. rest_parameters:: parameters.yaml + + - agents: agents - agent_id: agent_id - architecture: architecture - hypervisor: hypervisor_type - - url: url - md5hash: md5hash - os: os + - url: url - version: version -Response --------- - **Example List Agent Builds: JSON response** .. literalinclude:: ../../doc/api_samples/os-agents/agents-get-resp.json @@ -63,13 +67,13 @@ Request .. rest_parameters:: parameters.yaml - + - agent: agent - hypervisor: hypervisor_type - - architecture: architecture - os: os - - url: url - - md5hash: md5hash + - architecture: architecture - version: version + - md5hash: md5hash + - url: url **Example Create Agent Build: JSON request** @@ -81,13 +85,14 @@ Response .. rest_parameters:: parameters.yaml - - hypervisor: hypervisor_type + - agent: agent + - agent_id: agent_id - architecture: architecture + - hypervisor: hypervisor_type + - md5hash: md5hash - os: os - url: url - - md5hash: md5hash - version: version - - agent_id: agent_id **Example Create Agent Build: JSON response** @@ -112,6 +117,7 @@ Request - agent_build_id: agent_build_id + - para: para - url: url - md5hash: md5hash - version: version @@ -126,9 +132,10 @@ Response .. rest_parameters:: parameters.yaml + - agent: agent - agent_id: agent_id_str - - url: url - md5hash: md5hash + - url: url - version: version **Example Update Agent Build: JSON response** @@ -158,3 +165,4 @@ Request Response -------- +There is no body content for the response of a successful DELETE query |