1.9.2. Get extension

 
MethodURIDescription
GET/v2/{tenant_id}/extensions

Gets details about the specified extension.

Extensions introduce features and vendor-specific functionality to the API without requiring a version change.

Normal response codes: 200, 203

Error response codes: computeFault (400, 500, ), serviceUnavailable (503), badRequest (400), unauthorized (401), forbidden (403), badMethod (405), overLimit (413), itemNotFound (404)

 1.9.2.1. Request

This table shows the URI parameters for the get extension request:

NameTypeDescription

{tenant_id}

​U​U​ID

The tenant ID in a multi-tenancy cloud.

This operation does not require a request body.

 1.9.2.2. Response

 

Example 1.40. Get extension: JSON response

{
    "extension" : {
        "name" : "Public Image Extension",
        "namespace" : "http://docs.rackspacecloud.com/servers/api/ext/pie/v1.0",
        "alias" : "RS-PIE",
        "updated" : "2011-01-22T13:25:27-06:00",
        "description" : "Adds the capability to share an image with other users.",
        "links" : [
            {
                "rel" : "describedby",
                "type" : "application/pdf",
                "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-pie-20111111.pdf"
            },
            {
                "rel" : "describedby",
                "type" : "application/vnd.sun.wadl+xml",
                "href" : "http://docs.rackspacecloud.com/servers/api/ext/cs-pie.wadl"
            }
        ]
    }
}

 

Example 1.41. Get extension: XML response

<?xml version="1.0" encoding="UTF-8"?>
<extension xmlns="http://docs.openstack.org/common/api/v1.0"
    xmlns:atom="http://www.w3.org/2005/Atom"
    name="Public Image Extension"
    namespace="http://docs.rackspacecloud.com/servers/api/ext/pie/v1.0"
    alias="RS-PIE" updated="2011-01-22T13:25:27-06:00">
    <description> Adds the capability to share an image with other
        users. </description>
    <atom:link rel="describedby" type="application/pdf"
        href="http://docs.rackspacecloud.com/servers/api/ext/cs-pie-20111111.pdf"/>
    <atom:link rel="describedby" type="application/vnd.sun.wadl+xml"
        href="http://docs.rackspacecloud.com/servers/api/ext/cs-pie.wadl"
    />
</extension>

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...