TrivialFix: Add code block and format JSON data
Add json code block and pretty format the JSON data in file v2/share_snapshots.py. Change-Id: I316663ff78195fbee88c2a72795762750edc233e
This commit is contained in:
parent
80fe5f1fe4
commit
cf3e58656a
@ -84,14 +84,17 @@ class ShareSnapshotsController(share_snapshots.ShareSnapshotMixin,
|
|||||||
"""Instruct Manila to manage an existing snapshot.
|
"""Instruct Manila to manage an existing snapshot.
|
||||||
|
|
||||||
Required HTTP Body:
|
Required HTTP Body:
|
||||||
{
|
|
||||||
"snapshot":
|
.. code-block:: json
|
||||||
{
|
|
||||||
"share_id": <Manila share id>,
|
{
|
||||||
"provider_location": <A string parameter that identifies the
|
"snapshot":
|
||||||
snapshot on the backend>
|
{
|
||||||
}
|
"share_id": <Manila share id>,
|
||||||
}
|
"provider_location": <A string parameter that identifies
|
||||||
|
the snapshot on the backend>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Optional elements in 'snapshot' are:
|
Optional elements in 'snapshot' are:
|
||||||
name A name for the new snapshot.
|
name A name for the new snapshot.
|
||||||
|
Loading…
Reference in New Issue
Block a user