• Native OpenStack API

noa
  1. Help Center
  2. Native OpenStack API
  3. API Reference
  4. Cinder V2 Interfaces
  5. API extensions

API extensions

Function Description

This interface is used to query extended APIs.

Interface Format

Method

URI

Description

GET

/v2/{tenant_id}/extensions

Queries extended APIs.

Restrictions

N/A

Expanded Interface

N/A

Request Parameter

N/A

Response Parameter

Parameter

Type

Mandatory

Remarks

updated

string

Yes

Specifies the last update time.

description

string

Yes

Provides description of the API. The value can also be NULL.

links

array

Yes

Specifies the link for transferring volumes.

namespace

string

Yes

Specifies the link associated with the extension.

alias

string

Yes

Specifies the alias of the extension.

name

string

Yes

Specifies the name of a volume transfer.

Request Example

GET
https://volume.localdomain.com:8776/v2/5f13ecc9281d4c34bd740f277620bdee/extensionshttps://volume.localdomain.com:8776/v2/5f13ecc9281d4c34bd740f277620bdee/extensions

Response Example

 {
"extensions": [
        {
            "updated": "2013-04-18T00:00:00+00:00",
            "name": "SchedulerHints",
            "links": [],
            "namespace": "http://docs.openstack.org/block-service/ext/scheduler-hints/api/v2",
            "alias": "OS-SCH-HNT",
            "description": "Pass arbitrary key/value pairs to the scheduler."
        },
        {
            "updated": "2011-06-29T00:00:00+00:00",
            "name": "Hosts",
            "links": [],
            "namespace": "http://docs.openstack.org/volume/ext/hosts/api/v1.1",
            "alias": "os-hosts",
            "description": "Admin-only host administration."
        },

        {
            "updated": "2012-10-28T00:00:00-00:00",
            "name": "Services",
            "links": [],
            "namespace": "http://docs.openstack.org/volume/ext/services/api/v2",
            "alias": "os-services",
            "description": "Services support."
        }
    ]
}

Error Code

See section Processing Return Code.