manila/api-ref/source/extensions.inc
Ha Van Tu 0dc2fdc1da [api-ref] Refactor manila extension API
This patch refactors manila extension API to make it clear
to understand and maintain.

Change-Id: I35b8b135acc02238daf7c2fb9f42bf276806f7d8
2016-09-15 11:01:45 +07:00

43 lines
762 B
ReStructuredText

.. -*- rst -*-
==============
API extensions
==============
Lists available Shared File Systems API extensions.
List extensions
===============
.. rest_method:: GET /v2/{tenant_id}/extensions
Lists all extensions.
Normal response codes: 200
Error response codes: badRequest(400), unauthorized(401), forbidden(403)
Request
-------
.. rest_parameters:: parameters.yaml
- tenant_id: tenant_id_path
Response parameters
-------------------
.. rest_parameters:: parameters.yaml
- name: extension_name
- links: extension_links
- description: extension_description
- alias: extension_alias
- updated: extension_updated
Response example
----------------
.. literalinclude:: samples/extensions-list-response.json
:language: javascript