f185ff0f44
Many APIs present information when the resource in question was 'created_at' and 'updated_at'. Having common parameters is easier to maintain in the documentation since the description is the same across the board. Change-Id: Ia5d4ac399fe0d7983c61f5c5e0245d0987e97d6a Partial-Bug: #1760644
53 lines
821 B
ReStructuredText
53 lines
821 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
==============
|
|
API extensions
|
|
==============
|
|
|
|
Lists available Shared File Systems API extensions.
|
|
|
|
|
|
List extensions
|
|
===============
|
|
|
|
.. rest_method:: GET /v2/{project_id}/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
|