APILink¶API link description.
Data samples:
{
"href": "http://127.0.0.1:8889/v1",
"rel": "self",
"type": "text/html"
}
b'<value>\n <type>text/html</type>\n <rel>self</rel>\n <href>http://127.0.0.1:8889/v1</href>\n</value>'
href¶| Type: | str |
|---|
URL of the link.
rel¶| Type: | str |
|---|
Relationship with this link.
type¶| Type: | str |
|---|
Type of link.
APIMediaType¶Media type description.
Data samples:
{
"base": "application/json",
"type": "application/vnd.openstack.cloudkitty-v1+json"
}
b'<value>\n <base>application/json</base>\n <type>application/vnd.openstack.cloudkitty-v1+json</type>\n</value>'
base¶| Type: | str |
|---|
Base type of this media type.
type¶| Type: | str |
|---|
Type of this media type.
APIVersion¶API Version description.
Data samples:
{
"id": "v1",
"links": [
{
"href": "http://127.0.0.1:8889/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"
}
b'<value>\n <id>v1</id>\n <status>STABLE</status>\n <updated>2014-08-11T16:00:00Z</updated>\n <links>\n <item>\n <type>text/html</type>\n <rel>self</rel>\n <href>http://127.0.0.1:8889/v1</href>\n </item>\n </links>\n <media_types>\n <item>\n <base>application/json</base>\n <type>application/vnd.openstack.cloudkitty-v1+json</type>\n </item>\n </media_types>\n</value>'
id¶| Type: | str |
|---|
ID of the version.
links¶| 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: | str |
|---|
Last update in iso8601 format.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.