03867e3e89
Add ``user_id`` to response body of list backup with detail and show backup detail APIs. In this way, you can get the ``user_id`` in backup list or show response, make the admin/user easy to manage backup file. Blueprint: add-user-id-attribute-to-backup-response Change-Id: I3ffb544ef3ee65276cee8b1e870d524fd0e57085
36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"backup": {
|
|
"availability_zone": "az1",
|
|
"container": "volumebackups",
|
|
"created_at": "2013-04-02T10:35:27.000000",
|
|
"description": null,
|
|
"fail_reason": null,
|
|
"id": "2ef47aee-8844-490c-804d-2a8efe561c65",
|
|
"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"
|
|
}
|
|
],
|
|
"name": "backup001",
|
|
"object_count": 22,
|
|
"os-backup-project-attr:project_id": "2c67a14be9314c5dae2ee6c4ec90cf0b",
|
|
"user_id": "515ba0dd59f84f25a6a084a45d8d93b2",
|
|
"size": 1,
|
|
"updated_at": "2013-04-20T05:30:19.000000",
|
|
"data_timestamp": "2013-04-20T05:30:19.000000",
|
|
"snapshot_id": null,
|
|
"status": "available",
|
|
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
|
|
"is_incremental": true,
|
|
"has_dependent_backups": false,
|
|
"metadata": {
|
|
"key": "value"
|
|
}
|
|
}
|
|
}
|