From ecaac074c0111021fc3c07d23b90fae38f70a58c Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Wed, 15 Aug 2018 08:18:28 -0500 Subject: [PATCH] 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 --- api-ref/source/v2/ext-backups.inc | 2 +- api-ref/source/v2/index.rst | 1 + api-ref/source/v2/qos-specs-v2-qos-specs.inc | 2 +- api-ref/source/v2/volumes-v2-snapshots-actions.inc | 5 ++--- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/api-ref/source/v2/ext-backups.inc b/api-ref/source/v2/ext-backups.inc index c7a7738db49..305a6dd23d1 100644 --- a/api-ref/source/v2/ext-backups.inc +++ b/api-ref/source/v2/ext-backups.inc @@ -177,7 +177,7 @@ Request Restore backup --------------- +~~~~~~~~~~~~~~ .. rest_method:: POST /v2/{project_id}/backups/{backup_id}/restore diff --git a/api-ref/source/v2/index.rst b/api-ref/source/v2/index.rst index eabe9de6a30..7070c06687e 100644 --- a/api-ref/source/v2/index.rst +++ b/api-ref/source/v2/index.rst @@ -23,6 +23,7 @@ Block Storage API V2 (DEPRECATED) .. include:: volume-type-access.inc .. include:: volumes-v2-extensions.inc .. include:: volumes-v2-snapshots.inc +.. include:: volumes-v2-snapshots-actions.inc .. include:: volumes-v2-types.inc .. include:: volumes-v2-versions.inc .. include:: volumes-v2-volumes-actions.inc diff --git a/api-ref/source/v2/qos-specs-v2-qos-specs.inc b/api-ref/source/v2/qos-specs-v2-qos-specs.inc index 57fe53bffa8..8303d386c8c 100644 --- a/api-ref/source/v2/qos-specs-v2-qos-specs.inc +++ b/api-ref/source/v2/qos-specs-v2-qos-specs.inc @@ -320,7 +320,7 @@ Response Parameters List QoS specs --------------- +~~~~~~~~~~~~~~ .. rest_method:: GET /v2/{project_id}/qos-specs diff --git a/api-ref/source/v2/volumes-v2-snapshots-actions.inc b/api-ref/source/v2/volumes-v2-snapshots-actions.inc index effc92173af..c1d391d2013 100644 --- a/api-ref/source/v2/volumes-v2-snapshots-actions.inc +++ b/api-ref/source/v2/volumes-v2-snapshots-actions.inc @@ -1,14 +1,13 @@ .. -*- rst -*- -==================================== Snapshot actions (snapshots, action) ==================================== Administrator only. Resets status for a snapshot. -Reset a snapshot's status -========================= +Reset snapshot's status +~~~~~~~~~~~~~~~~~~~~~~~ .. rest_method:: POST /v2/{project_id}/snapshots/{snapshot_id}/action