4a0b5c4569
This patch follows on api-ref skeleton [1] and brings the NFV Orchestration API reference content to the repository. It is a part of the effort described in [2]. [1] https://review.openstack.org/#/c/332183 [2] https://wiki.openstack.org/wiki/Documentation/Migrate#API_Reference_Plan Change-Id: Ia2d91adb33f10df9073de74eb82cc19be29a3da2
92 lines
1.4 KiB
ReStructuredText
92 lines
1.4 KiB
ReStructuredText
.. -*- rst -*-
|
|
|
|
==========
|
|
Extensions
|
|
==========
|
|
|
|
Lists extensions and shows information of a given extension.
|
|
|
|
Extensions introduce features to the API.
|
|
|
|
List extensions
|
|
===============
|
|
|
|
.. rest_method:: GET /v1.0/extensions
|
|
|
|
Lists available extensions.
|
|
|
|
Response Codes
|
|
--------------
|
|
|
|
.. rest_status_code:: success status.yaml
|
|
|
|
- 200
|
|
|
|
.. rest_status_code:: error status.yaml
|
|
|
|
- 401
|
|
- 500
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- extensions: extensions
|
|
- updated: extension_updated_at
|
|
- name: name
|
|
- links: links
|
|
- alias: alias
|
|
- description: description
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: samples/extensions/extensions-list-response.json
|
|
:language: javascript
|
|
|
|
Show extension
|
|
==============
|
|
|
|
.. rest_method:: GET /v1.0/extensions/{alias}
|
|
|
|
Shows information of a given extension.
|
|
|
|
Response Codes
|
|
--------------
|
|
|
|
.. rest_status_code:: success status.yaml
|
|
|
|
- 200
|
|
|
|
.. rest_status_code:: error status.yaml
|
|
|
|
- 401
|
|
- 404
|
|
- 500
|
|
|
|
Request Parameters
|
|
------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- alias: alias_path
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- extension: extensions
|
|
- updated: extension_updated_at
|
|
- name: name
|
|
- links: links
|
|
- alias: alias
|
|
- description: description
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: samples/extensions/extensions-show-response.json
|
|
:language: javascript
|