Merge "Add missing snapshot action in index.rst"

This commit is contained in:
Jenkins 2017-09-13 22:09:46 +00:00 committed by Gerrit Code Review
commit abada2cc17
2 changed files with 6 additions and 6 deletions

View File

@ -24,6 +24,7 @@ Block Storage API V3 (CURRENT)
.. List the other random volume APIs in just alphabetical order. .. List the other random volume APIs in just alphabetical order.
.. include:: volume-manage.inc .. include:: volume-manage.inc
.. include:: volumes-v3-snapshots.inc .. include:: volumes-v3-snapshots.inc
.. include:: volumes-v3-snapshots-actions.inc
.. include:: snapshot-manage.inc .. include:: snapshot-manage.inc
.. include:: os-vol-transfer-v3.inc .. include:: os-vol-transfer-v3.inc

View File

@ -1,6 +1,5 @@
.. -*- rst -*- .. -*- rst -*-
====================================
Snapshot actions (snapshots, action) Snapshot actions (snapshots, action)
==================================== ====================================
@ -8,9 +7,9 @@ Administrator only. Resets status for a snapshot.
Reset a snapshot's status Reset a snapshot's status
========================= ~~~~~~~~~~~~~~~~~~~~~~~~~
.. rest_method:: POST /v3/{tenant_id}/snapshots/{snapshot_id}/action .. rest_method:: POST /v3/{project_id}/snapshots/{snapshot_id}/action
Resets the status. Specify the ``os-reset_status`` action in the request body. Resets the status. Specify the ``os-reset_status`` action in the request body.
@ -22,10 +21,10 @@ Request
.. rest_parameters:: parameters.yaml .. rest_parameters:: parameters.yaml
- status: status_2 - project_id: project_id_path
- snapshot_id: snapshot_id_path
- os-reset_status: os-reset_status - os-reset_status: os-reset_status
- tenant_id: tenant_id - status: status_2
- snapshot_id: snapshot_id
Request Example Request Example
--------------- ---------------