cinder/api-ref/source/v2/volumes-v2-snapshots-actions.inc
Sean McGinnis 117f614428 api-ref: Normalize response codes
We had a mix of formatting for our API response codes. This
makes it so all have a leading space, no trailing comma, and
no empty Error response labels.

This also addresses a formatting issue with due to the spacing
between the Normal and Error lines that was causing the two to
run together in the formatted HTML, making it harder to read.

Change-Id: Ic411ee9f671c48ce60bda21984dafe55135685ba
2017-09-03 18:17:13 -05:00

35 lines
708 B
ReStructuredText

.. -*- rst -*-
====================================
Snapshot actions (snapshots, action)
====================================
Administrator only. Resets status for a snapshot.
Reset a snapshot's status
=========================
.. rest_method:: POST /v2/{tenant_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
- status: status_2
- os-reset_status: os-reset_status
- tenant_id: tenant_id
- snapshot_id: snapshot_id
Request Example
---------------
.. literalinclude:: ./samples/snapshot-status-reset-request.json
:language: javascript