Add project_id to backup response
Change-Id: I99fb3d0c7ea7036bbb622d86eef9f31e53065a0a
This commit is contained in:
parent
2cd5bb6f83
commit
86a0102a00
@ -53,6 +53,7 @@ Response Parameters
|
||||
- size: backup_size
|
||||
- status: backup_status
|
||||
- updated: updated
|
||||
- project_id: project_uuid
|
||||
|
||||
|
||||
Response Example
|
||||
@ -116,6 +117,7 @@ Response Parameters
|
||||
- size: backup_size
|
||||
- status: backup_status
|
||||
- updated: updated
|
||||
- project_id: project_uuid
|
||||
|
||||
|
||||
Response Example
|
||||
@ -164,6 +166,7 @@ Response Parameters
|
||||
- size: backup_size
|
||||
- status: backup_status
|
||||
- updated: updated
|
||||
- project_id: project_uuid
|
||||
|
||||
|
||||
Response Example
|
||||
|
@ -649,6 +649,12 @@ nics:
|
||||
in: body
|
||||
required: false
|
||||
type: array
|
||||
project_uuid:
|
||||
description: |
|
||||
The project ID of the resource.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
quota_in_use:
|
||||
description: |
|
||||
The used quota for a resource.
|
||||
|
@ -32,6 +32,7 @@ class BackupView(object):
|
||||
"size": self.backup.size,
|
||||
"status": self.backup.state,
|
||||
"parent_id": self.backup.parent_id,
|
||||
"project_id": self.backup.tenant_id
|
||||
}
|
||||
}
|
||||
if self.backup.datastore_version_id:
|
||||
|
Loading…
Reference in New Issue
Block a user