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
This commit is contained in:
junboli 2017-09-12 16:58:31 +08:00 committed by junbo.li
parent 1dd37a66ac
commit c5c4be704f
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
--------------- ---------------