2016-04-12 09:03:46 -04:00
|
|
|
.. -*- rst -*-
|
|
|
|
|
2016-04-27 15:26:03 +05:30
|
|
|
=====================================
|
|
|
|
Extensions (extensions) (DEPRECATED)
|
|
|
|
=====================================
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Lists available extensions and shows information for an extension, by
|
|
|
|
alias.
|
|
|
|
|
2016-05-09 09:25:37 -04:00
|
|
|
Nova originally supported the concept of API extensions, that allowed
|
|
|
|
implementations of Nova to change the API (add new resources, or
|
|
|
|
attributes to existing resource objects) via extensions. In an attempt
|
|
|
|
to expose to the user what was supported in a particular site, the
|
|
|
|
extensions resource provided a list of extensions and detailed
|
|
|
|
information on each. The net result was gratuitous differentiation in
|
|
|
|
the API that required all users of OpenStack clouds to write specific
|
|
|
|
code to interact with every cloud.
|
|
|
|
|
|
|
|
As such, the entire extensions concept is deprecated, and will be
|
|
|
|
removed in the near future.
|
|
|
|
|
|
|
|
For information about extensions, see `Extensions
|
|
|
|
<http://developer.openstack.org/api-guide/compute/extensions.html>`__.
|
|
|
|
|
|
|
|
List Extensions
|
|
|
|
===============
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /extensions
|
2016-05-09 09:25:37 -04:00
|
|
|
|
|
|
|
Lists all extensions to the API.
|
|
|
|
|
|
|
|
Normal response codes: 200
|
|
|
|
|
|
|
|
Error response codes: unauthorized(401)
|
|
|
|
|
|
|
|
|
|
|
|
Response
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- extensions: extensions
|
|
|
|
- name: extension_name
|
|
|
|
- alias: alias
|
|
|
|
- links: extension_links
|
|
|
|
- namespace: namespace
|
|
|
|
- description: extension_description
|
|
|
|
- updated: updated
|
|
|
|
|
|
|
|
**Example List Extensions**
|
|
|
|
|
|
|
|
Lists all extensions to the API.
|
|
|
|
|
2016-06-10 14:56:46 +09:00
|
|
|
.. literalinclude:: ../../doc/api_samples/extension-info/extensions-list-resp.json
|
2016-05-09 09:25:37 -04:00
|
|
|
:language: javascript
|
|
|
|
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Show Extension Details
|
|
|
|
======================
|
|
|
|
|
2016-06-02 08:50:03 -04:00
|
|
|
.. rest_method:: GET /extensions/{alias}
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Shows details for an extension, by alias.
|
|
|
|
|
2016-05-09 09:25:37 -04:00
|
|
|
Normal response codes: 200
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-05-09 09:25:37 -04:00
|
|
|
Error response codes: unauthorized(401), itemNotFound(404)
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
Request
|
2016-04-14 13:10:59 -04:00
|
|
|
-------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- alias: alias
|
|
|
|
|
|
|
|
Response
|
2016-04-14 13:10:59 -04:00
|
|
|
--------
|
2016-04-12 09:03:46 -04:00
|
|
|
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
|
|
|
|
- extension: extension
|
2016-05-09 09:25:37 -04:00
|
|
|
- name: extension_name
|
2016-04-12 09:03:46 -04:00
|
|
|
- alias: alias
|
2016-05-09 09:25:37 -04:00
|
|
|
- links: extension_links
|
2016-04-12 09:03:46 -04:00
|
|
|
- namespace: namespace
|
2016-05-09 09:25:37 -04:00
|
|
|
- description: extension_description
|
2016-04-12 09:03:46 -04:00
|
|
|
- updated: updated
|
|
|
|
|
2016-05-09 09:25:37 -04:00
|
|
|
**Example Show Extension Details**
|
|
|
|
|
|
|
|
Shows details about the ``os-agents`` extension.
|
2016-04-12 09:03:46 -04:00
|
|
|
|
2016-04-20 08:42:24 -04:00
|
|
|
.. literalinclude:: ../../doc/api_samples/extension-info/extensions-get-resp.json
|
2016-04-12 09:03:46 -04:00
|
|
|
:language: javascript
|