5c82ba8b4b
https://developer.openstack.org/api-ref/block-storage/v3/index.html#list-snapshots-and-details 1. updated_at is missing in the response fields of show-snapshot and list-snapshots 2. id's description is "The UUID of the volume transfer.", which is incorrect. 3. volume_id's description is "The UUID of the volume.", which is not very accurate. 4. os-extended-snapshot-attributes:progress is something like '100%', so it should be string, not integer 5. response fields of show-snapshot-metadata is incorrect. 6. metadata is missing in the response example of update-snapshot 7. snapshots_links is missing in the response of list-snapshot Change-Id: I0f6994c2d2dc27d3d594acdd460e27c338f86a2c
26 lines
881 B
JSON
26 lines
881 B
JSON
{
|
|
"snapshots": [
|
|
{
|
|
"status": "available",
|
|
"metadata": {
|
|
"name": "test"
|
|
},
|
|
"os-extended-snapshot-attributes:progress": "100%",
|
|
"name": "test-volume-snapshot",
|
|
"volume_id": "173f7b48-c4c1-4e70-9acc-086b39073506",
|
|
"os-extended-snapshot-attributes:project_id": "bab7d5c60cd041a0a36f7c4b6e1dd978",
|
|
"created_at": "2015-11-29T02:25:51.000000",
|
|
"size": 1,
|
|
"id": "b1323cda-8e4b-41c1-afc5-2fc791809c8c",
|
|
"description": "volume snapshot",
|
|
"updated_at": "2015-12-11T07:24:57Z"
|
|
}
|
|
],
|
|
"snapshots_links": [
|
|
{
|
|
"href": "https://10.43.176.164:8776/v3/d55fb90e300b436cb2714a17137be023/snapshots?limit=1&marker=2e0cd28e-d7a2-4cdb-87e6-cd37c417c06d",
|
|
"rel": "next"
|
|
}
|
|
]
|
|
}
|