startMediaExport
Start a media export for an environment.
startMediaExport(
input: StartMediaExportInput
): StartMediaExportPayload
Example
- Query
- Variables
- Response
mutation ($input: StartMediaExportInput) {
startMediaExport(input: $input) {
mediaExport {
createdAt
environmentId
expiresAt
filesProcessed
filesTotal
id
status
totalArchiveFiles
totalSizeInBytes
}
message
success
}
}
{
"input": {
"appId": 42,
"config": {
"regex": "regex",
"subsiteId": 42
},
"environmentId": 42
}
}
{
"data": {
"startMediaExport": {
"mediaExport": {
"createdAt": "createdAt",
"environmentId": 42,
"expiresAt": "expiresAt",
"filesProcessed": 42,
"filesTotal": 42,
"id": "42",
"status": "status",
"totalArchiveFiles": 42,
"totalSizeInBytes": 30.7
},
"message": "message",
"success": true
}
}
}
Arguments
startMediaExport.input ● StartMediaExportInput input common
The application, environment, and export options to use.
Type
StartMediaExportPayload object common
The result of starting a media export.