generateDBBackupCopyUrl
Generate a presigned download URL for a copied database backup.
generateDBBackupCopyUrl(
input: AppEnvironmentGenerateDBBackupCopyUrlInput
): AppEnvironmentGenerateDBBackupCopyUrlPayload
Example
- Query
- Variables
- Response
mutation ($input: AppEnvironmentGenerateDBBackupCopyUrlInput) {
generateDBBackupCopyUrl(input: $input) {
app {
active
createdAt
id
name
organizationId
repo
serviceStatus
supportPackage
type
typeId
}
success
url
}
}
{
"input": {
"backupId": 30.7,
"environmentId": 42,
"id": 42
}
}
{
"data": {
"generateDBBackupCopyUrl": {
"app": {
"active": true,
"createdAt": "createdAt",
"id": 42,
"name": "A name",
"organizationId": 42,
"repo": "repo",
"serviceStatus": "serviceStatus",
"supportPackage": "supportPackage",
"type": "type",
"typeId": 42
},
"success": true,
"url": "https://example.com"
}
}
}
Arguments
generateDBBackupCopyUrl.input ● AppEnvironmentGenerateDBBackupCopyUrlInput input common
The backup copy to generate a URL for.
Type
AppEnvironmentGenerateDBBackupCopyUrlPayload object common
The result of generating a database backup copy download URL.