api-ref: fix response example of list-backups

https://developer.openstack.org/api-ref/block-storage/v3/index.html?expanded=list-backups-for-project-detail#list-backups-for-project

The response example of "List backups for project" is not correct,
which seems to be that of "List backups with detail".

Change-Id: I02e3ea8cd5965722d38ef6be6ee6c929fe1ae4a2
This commit is contained in:
zhufl 2018-11-07 16:22:19 +08:00
parent 54900fd866
commit 43490897c6

View File

@ -1,61 +1,16 @@
{
"backups": [
{
"status": "available",
"object_count": 0,
"container": null,
"name": "volume-backup",
"links": [
{
"href": "http://localhost:8776/v3/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
"rel": "self"
},
{
"href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/2ef47aee-8844-490c-804d-2a8efe561c65",
"rel": "bookmark"
}
],
"availability_zone": "nova",
"created_at": "2017-06-20T05:30:19.000000",
"description": null,
"updated_at": "2017-06-20T05:30:19.000000",
"data_timestamp": "2017-06-20T05:30:19.000000",
"has_dependent_backups": false,
"snapshot_id": null,
"volume_id": "0b38d3f5-68fb-41db-9a99-337a96fdfa96",
"fail_reason": null,
"is_incremental": false,
"id": "2ef47aee-8844-490c-804d-2a8efe561c65",
"size": 1
},
{
"status": "available",
"object_count": 0,
"container": null,
"name": "volume-backup",
"links": [
{
"href": "http://localhost:8776/v3/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
"rel": "self"
},
{
"href": "http://localhost:8776/c95fc3e4afe248a49a28828f286a7b38/backups/4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
"rel": "bookmark"
}
],
"availability_zone": "nova",
"created_at": "2017-06-20T05:30:19.000000",
"description": null,
"updated_at": "2017-06-20T05:30:19.000000",
"data_timestamp": "2017-06-20T05:30:19.000000",
"has_dependent_backups": false,
"snapshot_id": null,
"volume_id": "0b38d3f5-68fb-41db-9a99-337a96fdfa96",
"fail_reason": null,
"is_incremental": false,
"id": "4dbf0ec2-0b57-4669-9823-9f7c76f2b4f8",
"size": 1
}
{
"id": "5e7a312e-af39-4fc0-8633-b8c2cdabb67d",
"links": [{
"href": "https://158.69.65.111/volume/v3/ca730406ba3c40b0870e0bd431271736/backups/5e7a312e-af39-4fc0-8633-b8c2cdabb67d",
"rel": "self"
}, {
"href": "https://158.69.65.111/volume/ca730406ba3c40b0870e0bd431271736/backups/5e7a312e-af39-4fc0-8633-b8c2cdabb67d",
"rel": "bookmark"
}],
"name": "tempest-VolumesBackupsAdminTest-Backup-1385312480"
}
],
"count": 10
}
"count": 1
}