cinder/api-ref/source/v2/volumes-v2-snapshots-actions.inc
Sean McGinnis ecaac074c0
Fix api-ref title levels and index
We had a few instances where the title level used for calls in the
api-ref was wrong, resulting in the api call being hidden inside the
details of another title level.

This fixes title levels to be consistent and adds a missing inclusion to
the v2 index.

Closes-bug: #1787203

Change-Id: I602250117dbf52f9e031e945040b45f089d8602e
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2018-08-15 08:18:28 -05:00

39 lines
734 B
ReStructuredText

.. -*- rst -*-
Snapshot actions (snapshots, action)
====================================
Administrator only. Resets status for a snapshot.
Reset snapshot's status
~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v2/{project_id}/snapshots/{snapshot_id}/action
Resets the status. Specify the ``os-reset_status`` action in the request body.
Response codes
--------------
.. rest_status_code:: success ../status.yaml
- 202
Request
-------
.. rest_parameters:: parameters.yaml
- status: status_2
- os-reset_status: os-reset_status
- project_id: project_id_path
- snapshot_id: snapshot_id
Request Example
---------------
.. literalinclude:: ./samples/snapshot-status-reset-request.json
:language: javascript