compute-api/v2/samples/choices.json
Anne Gentle 2ab480d970 Replaces WADL references with links to API Reference
- Moves detailed info to the Compute API v2 WADL itself
- Alleviates the following issues:
  * Params are not documented in this output due to tooling
  * When a WADL was broken, this deliverable breaks also
  * WADL contributions are low
  * It's difficult to train contributors how to embed WADL references

Change-Id: Id56da05c0409ed432dfdd0f5de799f5ed5e2e47c
2014-08-05 10:20:26 -05:00

44 lines
1.1 KiB
JSON

{
"choices":[
{
"id":"v1.0",
"status":"DEPRECATED",
"links":[
{
"rel":"self",
"href":"http://servers.api.openstack.org/v1.0/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
}
],
"media-types":[
{
"base":"application/xml",
"type":"application/vnd.openstack.compute.v1.0+xml"
},
{
"base":"application/json",
"type":"application/vnd.openstack.compute.v1.0+json"
}
]
},
{
"id":"v2",
"status":"CURRENT",
"links":[
{
"rel":"self",
"href":"http://servers.api.openstack.org/v2/1234/servers/52415800-8b69-11e0-9b19-734f6af67565"
}
],
"media-types":[
{
"base":"application/xml",
"type":"application/vnd.openstack.compute.v2+xml"
},
{
"base":"application/json",
"type":"application/vnd.openstack.compute.v2+json"
}
]
}
]
}