cinder/api-ref/source/v3/volumes-v3-snapshots-actions.inc
junboli c5c4be704f Add missing snapshot action in index.rst
In the file api-ref/source/v3/index.rst, it missed include
volumes-v3-snapshots-actions.inc, This change is to add it
and fix doc format error.

Change-Id: Ib6dc549f8bc8da5dfd64d0e390cd70b27cd63177
2017-09-13 02:37:56 +00:00

34 lines
685 B
ReStructuredText

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