Merge "add disk config into request param"

This commit is contained in:
Jenkins 2015-12-07 01:31:06 +00:00 committed by Gerrit Code Review
commit d777f6ee71
2 changed files with 15 additions and 4 deletions

View File

@ -0,0 +1,5 @@
{
"server": {
"OS-DCF:diskConfig": "AUTO"
}
}

View File

@ -438,27 +438,33 @@
<request>
<representation mediaType="application/json" element="csapi:server">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Update Server Name Request: JSON">
title="Update server name: JSON request">
<xsdxt:code href="../api_samples/servers/server-put-req.json"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Update Server IP Addresses Request: JSON">
title="Update server IP addresses: JSON request">
<xsdxt:code href="../api_samples/servers/server-put-req-ad.json"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Update server OS-DCF:diskConfig parameter: JSON request">
<xsdxt:code href="../api_samples/all_extensions/server-put-req-diskconfig.json"/>
</wadl:doc>
</representation>
</request>
<response status="200">
<representation mediaType="application/json" element="csapi:server">
<wadl:doc xml:lang="EN" title="Update Server Name Response: JSON"
<wadl:doc xml:lang="EN" title="Update server name: JSON response"
xmlns="http://docbook.org/ns/docbook">
<xsdxt:code href="../api_samples/servers/server-put-resp.json"/>
</wadl:doc>
</representation>
<representation mediaType="application/json">
<wadl:doc xml:lang="EN" xmlns="http://docbook.org/ns/docbook"
title="Update Server IP Addresses Response: JSON">
title="Update server IP addresses: JSON response">
<xsdxt:code href="../api_samples/servers/server-put-resp-ad.json"/>
</wadl:doc>
</representation>