CloudKitty REST API (root)

GET /

Return the version list

Return type:list(APIVersion)

API link description.

Data samples:

Json
{
    "href": "http://127.0.0.1:8888/v1",
    "rel": "self",
    "type": "text/html"
}
XML
<value>
  <type>text/html</type>
  <rel>self</rel>
  <href>http://127.0.0.1:8888/v1</href>
</value>
href
Type:unicode

URL of the link.

rel
Type:unicode

Relationship with this link.

type
Type:unicode

Type of link.

type APIMediaType

Media type description.

Data samples:

Json
{
    "base": "application/json",
    "type": "application/vnd.openstack.cloudkitty-v1+json"
}
XML
<value>
  <base>application/json</base>
  <type>application/vnd.openstack.cloudkitty-v1+json</type>
</value>
base
Type:unicode

Base type of this media type.

type
Type:unicode

Type of this media type.

type APIVersion

API Version description.

Data samples:

Json
{
    "id": "v1",
    "links": [
        {
            "href": "http://127.0.0.1:8888/v1",
            "rel": "self",
            "type": "text/html"
        }
    ],
    "media_types": [
        {
            "base": "application/json",
            "type": "application/vnd.openstack.cloudkitty-v1+json"
        }
    ],
    "status": "STABLE",
    "updated": "2014-08-11T16:00:00Z"
}
XML
<value>
  <id>v1</id>
  <status>STABLE</status>
  <updated>2014-08-11T16:00:00Z</updated>
  <links>
    <item>
      <type>text/html</type>
      <rel>self</rel>
      <href>http://127.0.0.1:8888/v1</href>
    </item>
  </links>
  <media_types>
    <item>
      <base>application/json</base>
      <type>application/vnd.openstack.cloudkitty-v1+json</type>
    </item>
  </media_types>
</value>
id
Type:unicode

ID of the version.

Type:list(APILink)

List of links to API resources.

media_types
Type:list(APIMediaType)

Types accepted by this API.

status
Type:Enum(EXPERIMENTAL, STABLE)

Status of the version.

updated
Type:unicode

Last update in iso8601 format.

Previous topic

CloudKitty’s Architecture

Next topic

CloudKitty REST API (v1)

Project Source

This Page