Add 'metadata' in backup detail&show API document

Backup metadata is available in backup list&show
APIs since 3.43, update the document.

Change-Id: I056ed13124cdb64b5be8012898fb038e112fbe86
This commit is contained in:
TommyLike 2018-01-30 17:02:00 +08:00
parent cf56cdd4da
commit 1c20ce2e85
3 changed files with 12 additions and 3 deletions

View File

@ -90,6 +90,7 @@ Response Parameters
- snapshot_id: snapshot_id_2 - snapshot_id: snapshot_id_2
- os-backup-project-attr:project_id: os-backup-project-attr:project_id - os-backup-project-attr:project_id: os-backup-project-attr:project_id
- count: count - count: count
- metadata: metadata_9
Response Example Response Example
---------------- ----------------
@ -143,6 +144,7 @@ Response Parameters
- data_timestamp: data_timestamp - data_timestamp: data_timestamp
- snapshot_id: snapshot_id_2 - snapshot_id: snapshot_id_2
- os-backup-project-attr:project_id: os-backup-project-attr:project_id - os-backup-project-attr:project_id: os-backup-project-attr:project_id
- metadata: metadata_9
Response Example Response Example
---------------- ----------------

View File

@ -27,6 +27,9 @@
"updated_at": "2013-04-02T10:35:27.000000", "updated_at": "2013-04-02T10:35:27.000000",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6", "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": true, "is_incremental": true,
"has_dependent_backups": false "has_dependent_backups": false,
"metadata": {
"key": "value"
}
} }
} }

View File

@ -25,7 +25,9 @@
"updated_at": "2013-04-02T10:35:27.000000", "updated_at": "2013-04-02T10:35:27.000000",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6", "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": true, "is_incremental": true,
"has_dependent_backups": false "has_dependent_backups": false,
"metadata": {
"key": "value"}
}, },
{ {
"availability_zone": "az1", "availability_zone": "az1",
@ -52,7 +54,9 @@
"updated_at": "2013-04-02T10:21:48.000000", "updated_at": "2013-04-02T10:21:48.000000",
"volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6", "volume_id": "e5185058-943a-4cb4-96d9-72c184c337d6",
"is_incremental": true, "is_incremental": true,
"has_dependent_backups": false "has_dependent_backups": false,
"metadata": {
"key": "value"}
} }
], ],
"count": 10 "count": 10