api-ref
source
samples
availability-zones.inc
conf.py
experimental.inc
extensions.inc
index.rst
limits.inc
os-share-manage.inc
parameters.yaml
quota-classes.inc
quota-sets.inc
scheduler-stats.inc
security-services.inc
services.inc
share-actions.inc
share-export-locations.inc
share-group-snapshots.inc
share-group-types.inc
share-groups.inc
share-instance-export-locations.inc
share-instances.inc
share-metadata.inc
share-migration.inc
share-networks.inc
share-replicas.inc
share-servers.inc
share-types.inc
shares.inc
snapshot-instances.inc
snapshots.inc
status.yaml
user-messages.inc
versions.inc
contrib
devstack
doc
etc
manila
playbooks
rally-jobs
releasenotes
tools
.coveragerc
.gitignore
.gitreview
.stestr.conf
.zuul.yaml
CONTRIBUTING.rst
HACKING.rst
LICENSE
README.rst
babel.cfg
lower-constraints.txt
requirements.txt
run_tests.sh
setup.cfg
setup.py
test-requirements.txt
tox.ini

Rather than our freeform way of listing response codes in our api-ref, we should be using the os-api-ref extension option to get nicely formatted response code listings. https://docs.openstack.org/os-api-ref/latest/usage.html#rest-status-code Change-Id: Ibafafa2f9c3b301b5cdd9b1cb3b8b6d678faa731
53 lines
814 B
ReStructuredText
53 lines
814 B
ReStructuredText
.. -*- rst -*-
|
|
|
|
==============
|
|
API extensions
|
|
==============
|
|
|
|
Lists available Shared File Systems API extensions.
|
|
|
|
|
|
List extensions
|
|
===============
|
|
|
|
.. rest_method:: GET /v2/{tenant_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
|
|
|
|
- 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
|