Merge "Add params for API v3 snapshot-create"

This commit is contained in:
Jenkins
2017-07-09 15:40:53 +00:00
committed by Gerrit Code Review
3 changed files with 12 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
"name": "snap-001", "name": "snap-001",
"description": "Daily backup", "description": "Daily backup",
"volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635", "volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
"force": true "force": true,
"metadata": null
} }
} }

View File

@@ -4,6 +4,7 @@
"description": "Daily backup", "description": "Daily backup",
"created_at": "2013-02-25T03:56:53.081642", "created_at": "2013-02-25T03:56:53.081642",
"metadata": {}, "metadata": {},
"updated_at": "2013-02-25T03:58:53.081642",
"volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635", "volume_id": "5aa119a8-d25b-45a7-8d1b-88e127885635",
"size": 1, "size": 1,
"user_id": "40c2102f4a554b848d96b14f3eec39ed", "user_id": "40c2102f4a554b848d96b14f3eec39ed",
@@ -11,3 +12,4 @@
"name": "snap-001" "name": "snap-001"
} }
} }

View File

@@ -100,6 +100,7 @@ Request
- description: description - description: description
- name: name - name: name
- project_id: project_id_path - project_id: project_id_path
- metadata: metadata_7
Request Example Request Example
--------------- ---------------
@@ -122,6 +123,13 @@ Response Parameters
- metadata: metadata - metadata: metadata
- id: id - id: id
- size: size - size: size
- updated_at: updated_at
Response Example
----------------
.. literalinclude:: ./samples/snapshot-create-response.json
:language: javascript
List accessible snapshots List accessible snapshots