88cec4f2c5
openstackdocstheme's custom styling doesn't display (h1) headings in the body of the API ref. To work-around this problem, demote the section headers and increase the display level of the toctree. Change-Id: I18b6ab44b62c4f17d854e5d32b4aef546992c79a Signed-off-by: Goutham Pacha Ravi <gouthampravi@gmail.com>
52 lines
793 B
ReStructuredText
52 lines
793 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
API extensions
|
|
==============
|
|
|
|
Lists available Shared File Systems API extensions.
|
|
|
|
|
|
List extensions
|
|
~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /v2/extensions
|
|
|
|
Lists all extensions.
|
|
|
|
Response codes
|
|
--------------
|
|
|
|
.. rest_status_code:: success status.yaml
|
|
|
|
- 200
|
|
|
|
.. rest_status_code:: error status.yaml
|
|
|
|
- 400
|
|
- 401
|
|
- 403
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- project_id: project_id_path
|
|
|
|
Response parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- name: extension_name
|
|
- links: extension_links
|
|
- description: extension_description
|
|
- alias: extension_alias
|
|
- updated: updated_at_extensions
|
|
|
|
Response example
|
|
----------------
|
|
|
|
.. literalinclude:: samples/extensions-list-response.json
|
|
:language: javascript
|