cinder/api-ref/source/v3/volumes-v3-extensions.inc
whoami-rajat c5c5c009ff Automate generation of API versions api-ref samples
This patch adds Tests for the following :

1) API versions
2) API extensions

Change-Id: Ieaa1e2768c091b93c7afcbf04ec4a181cb021ec5
Partially-Implements: blueprint generating-sample-files
2019-01-10 19:48:18 +05:30

59 lines
804 B
ReStructuredText

.. -*- rst -*-
API extensions (extensions)
===========================
List Known API extensions
~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: GET /v3/{project_id}/extensions
Lists Block Storage API extensions.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 200
.. rest_status_code:: error ../status.yaml
- 300
Request
-------
.. rest_parameters:: parameters.yaml
- project_id: project_id_path
Response Parameters
-------------------
.. rest_parameters:: parameters.yaml
- updated: updated_at
- description: description_extn
- links: links
- namespace: namespace
- alias: alias
- name: name
Response Example
----------------
.. literalinclude:: ./samples/extensions/extensions-list-response.json
:language: javascript