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
commit fbfd4266f1
3 changed files with 12 additions and 1 deletions

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

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

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