cinder/api-ref/source/v3/samples/backups/v3.45/backups-list-detailed-response.json
Toheeb 6172d2a9a0 Automate generation of backups api-ref samples
This patch adds the following tests:

1) List backup with details
2) Show backup
3) Update backup

Partially-Implements: blueprint generating-sample-files
Change-Id: I9bbfab93fb138932243d880e440c9524b5f08217
2023-07-13 14:25:52 +01:00

35 lines
1.3 KiB
JSON

{
"backups": [
{
"availability_zone": null,
"container": null,
"created_at": "2023-06-23T11:55:59.217859",
"data_timestamp": "2023-06-23T11:55:59.217859",
"description": "Test backup",
"fail_reason": null,
"has_dependent_backups": false,
"id": "3287d2a2-38fb-4a62-b9c4-d0faf601650c",
"is_incremental": false,
"links": [
{
"href": "http://127.0.0.1:46657/v3/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/backups/3287d2a2-38fb-4a62-b9c4-d0faf601650c",
"rel": "self"
},
{
"href": "http://127.0.0.1:46657/89afd400-b646-4bbc-b12b-c0a4d63e5bd3/backups/3287d2a2-38fb-4a62-b9c4-d0faf601650c",
"rel": "bookmark"
}
],
"metadata": {},
"name": "backup001",
"object_count": 0,
"os-backup-project-attr:project_id": "89afd400-b646-4bbc-b12b-c0a4d63e5bd3",
"size": 10,
"snapshot_id": null,
"status": "creating",
"updated_at": "2023-06-23T11:55:59.221858",
"volume_id": "cc41abad-350c-45c2-a39b-82f3f891a954"
}
],
"count": 1
}