Merge "Api-ref: Update doc for show backups"

This commit is contained in:
Jenkins 2017-07-18 22:34:29 +00:00 committed by Gerrit Code Review
commit c3805a102b
4 changed files with 18 additions and 0 deletions

View File

@ -87,6 +87,7 @@ Response Parameters
- is_incremental: is_incremental - is_incremental: is_incremental
- 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
Response Example Response Example
---------------- ----------------
@ -139,6 +140,7 @@ Response Parameters
- is_incremental: is_incremental - is_incremental: is_incremental
- 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
Response Example Response Example
---------------- ----------------

View File

@ -1533,6 +1533,16 @@ os-attach:
in: body in: body
required: true required: true
type: object type: object
os-backup-project-attr:project_id:
description: |
The UUID of the owning project.
in: body
required: true
type: string.
in: body
required: true
type: string
min_version: 3.18
os-detach: os-detach:
description: | description: |
The ``os-detach`` action. The ``os-detach`` action.

View File

@ -18,8 +18,10 @@
], ],
"name": "backup001", "name": "backup001",
"object_count": 22, "object_count": 22,
"os-backup-project-attr:project_id": "2c67a14be9314c5dae2ee6c4ec90cf0b",
"size": 1, "size": 1,
"status": "available", "status": "available",
"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

View File

@ -19,8 +19,10 @@
], ],
"name": "backup001", "name": "backup001",
"object_count": 22, "object_count": 22,
"os-backup-project-attr:project_id": "2c67a14be9314c5dae2ee6c4ec90cf0b",
"size": 1, "size": 1,
"status": "available", "status": "available",
"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
@ -44,8 +46,10 @@
], ],
"name": "backup002", "name": "backup002",
"object_count": 22, "object_count": 22,
"os-backup-project-attr:project_id": "2c67a14be9314c5dae2ee6c4ec90cf0b",
"size": 1, "size": 1,
"status": "available", "status": "available",
"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