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
|
- size: backup_size
|
||||||
- status: backup_status
|
- status: backup_status
|
||||||
- updated: updated
|
- updated: updated
|
||||||
|
- project_id: project_uuid
|
||||||
|
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
@ -116,6 +117,7 @@ Response Parameters
|
|||||||
- size: backup_size
|
- size: backup_size
|
||||||
- status: backup_status
|
- status: backup_status
|
||||||
- updated: updated
|
- updated: updated
|
||||||
|
- project_id: project_uuid
|
||||||
|
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
@ -164,6 +166,7 @@ Response Parameters
|
|||||||
- size: backup_size
|
- size: backup_size
|
||||||
- status: backup_status
|
- status: backup_status
|
||||||
- updated: updated
|
- updated: updated
|
||||||
|
- project_id: project_uuid
|
||||||
|
|
||||||
|
|
||||||
Response Example
|
Response Example
|
||||||
|
@ -649,6 +649,12 @@ nics:
|
|||||||
in: body
|
in: body
|
||||||
required: false
|
required: false
|
||||||
type: array
|
type: array
|
||||||
|
project_uuid:
|
||||||
|
description: |
|
||||||
|
The project ID of the resource.
|
||||||
|
in: body
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
quota_in_use:
|
quota_in_use:
|
||||||
description: |
|
description: |
|
||||||
The used quota for a resource.
|
The used quota for a resource.
|
||||||
|
@ -32,6 +32,7 @@ class BackupView(object):
|
|||||||
"size": self.backup.size,
|
"size": self.backup.size,
|
||||||
"status": self.backup.state,
|
"status": self.backup.state,
|
||||||
"parent_id": self.backup.parent_id,
|
"parent_id": self.backup.parent_id,
|
||||||
|
"project_id": self.backup.tenant_id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if self.backup.datastore_version_id:
|
if self.backup.datastore_version_id:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user