a96fad9f3b
Using the wrong character resulted in the wrong title level being used for the response codes, which in turn caused the "detail" show/hide toggle to not be able to hide all of the per-endpoint details. This corrects these to be at the correct level. Also ran into issues after changing them where sphinx was not happy with the random title levels. This appears to be due to the order processed and whether not earlier included files had all subsequent levels. Adding an additional title in our first included file resolved that problem. Change-Id: I19405778980310f2d6d06eb7b23102f74a3d6e03 Closes-bug: #1755566
54 lines
1.2 KiB
ReStructuredText
54 lines
1.2 KiB
ReStructuredText
.. -*- rst -*-
|
|
|
|
Capabilities for storage back ends (capabilities)
|
|
=================================================
|
|
|
|
Shows capabilities for a storage back end.
|
|
|
|
|
|
Show all back-end capabilities
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
.. rest_method:: GET /v3/{project_id}/capabilities/{hostname}
|
|
|
|
Shows capabilities for a storage back end on the host.
|
|
The ``hostname`` takes the form of ``hostname@volume_backend_name``.
|
|
|
|
Response codes
|
|
--------------
|
|
|
|
.. rest_status_code:: success ../status.yaml
|
|
|
|
- 200
|
|
|
|
Request
|
|
-------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- project_id: project_id_path
|
|
- hostname: hostname
|
|
|
|
Response Parameters
|
|
-------------------
|
|
|
|
.. rest_parameters:: parameters.yaml
|
|
|
|
- pool_name: pool_name
|
|
- description: description_10
|
|
- volume_backend_name: volume_backend_name
|
|
- namespace: namespace
|
|
- visibility: visibility
|
|
- driver_version: driver_version
|
|
- vendor_name: vendor_name
|
|
- properties: properties
|
|
- storage_protocol: storage_protocol
|
|
- replication_targets: replication_targets
|
|
- display_name: display_name
|
|
|
|
Response Example
|
|
----------------
|
|
|
|
.. literalinclude:: ./samples/backend-capabilities-response.json
|
|
:language: javascript
|