123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- openapi: "3.0.0"
- info:
- title: Simple API overview
- version: 2.0.0
- paths:
- /:
- get:
- operationId: listVersionsv2
- summary: List API versions
- responses:
- '200':
- description: |-
- 200 response
- content:
- application/json:
- examples:
- foo:
- value: {
- "versions": [
- {
- "status": "CURRENT",
- "updated": "2011-01-21T11:33:21Z",
- "id": "v2.0",
- "links": [
- {
- "href": "http://127.0.0.1:8774/v2/",
- "rel": "self"
- }
- ]
- },
- {
- "status": "EXPERIMENTAL",
- "updated": "2013-07-23T11:33:21Z",
- "id": "v3.0",
- "links": [
- {
- "href": "http://127.0.0.1:8774/v3/",
- "rel": "self"
- }
- ]
- }
- ]
- }
- '300':
- description: |-
- 300 response
- content:
- application/json:
- examples:
- foo:
- value: |
- {
- "versions": [
- {
- "status": "CURRENT",
- "updated": "2011-01-21T11:33:21Z",
- "id": "v2.0",
- "links": [
- {
- "href": "http://127.0.0.1:8774/v2/",
- "rel": "self"
- }
- ]
- },
- {
- "status": "EXPERIMENTAL",
- "updated": "2013-07-23T11:33:21Z",
- "id": "v3.0",
- "links": [
- {
- "href": "http://127.0.0.1:8774/v3/",
- "rel": "self"
- }
- ]
- }
- ]
- }
- /v2:
- get:
- operationId: getVersionDetailsv2
- summary: Show API version details
- responses:
- '200':
- description: |-
- 200 response
- content:
- application/json:
- examples:
- foo:
- value: {
- "version": {
- "status": "CURRENT",
- "updated": "2011-01-21T11:33:21Z",
- "media-types": [
- {
- "base": "application/xml",
- "type": "application/vnd.openstack.compute+xml;version=2"
- },
- {
- "base": "application/json",
- "type": "application/vnd.openstack.compute+json;version=2"
- }
- ],
- "id": "v2.0",
- "links": [
- {
- "href": "http://127.0.0.1:8774/v2/",
- "rel": "self"
- },
- {
- "href": "http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",
- "type": "application/pdf",
- "rel": "describedby"
- },
- {
- "href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
- "type": "application/vnd.sun.wadl+xml",
- "rel": "describedby"
- },
- {
- "href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
- "type": "application/vnd.sun.wadl+xml",
- "rel": "describedby"
- }
- ]
- }
- }
- '203':
- description: |-
- 203 response
- content:
- application/json:
- examples:
- foo:
- value: {
- "version": {
- "status": "CURRENT",
- "updated": "2011-01-21T11:33:21Z",
- "media-types": [
- {
- "base": "application/xml",
- "type": "application/vnd.openstack.compute+xml;version=2"
- },
- {
- "base": "application/json",
- "type": "application/vnd.openstack.compute+json;version=2"
- }
- ],
- "id": "v2.0",
- "links": [
- {
- "href": "http://23.253.228.211:8774/v2/",
- "rel": "self"
- },
- {
- "href": "http://docs.openstack.org/api/openstack-compute/2/os-compute-devguide-2.pdf",
- "type": "application/pdf",
- "rel": "describedby"
- },
- {
- "href": "http://docs.openstack.org/api/openstack-compute/2/wadl/os-compute-2.wadl",
- "type": "application/vnd.sun.wadl+xml",
- "rel": "describedby"
- }
- ]
- }
- }
|