Mutation
mutation MergeEnvironmentAsync($input: MergeEnvironmentInput!) {
mergeEnvironmentAsync(input: $input) {
destinationEnvironmentSlug
error
publishedTaskIds
state
taskId
}
}Variables
{
"input": {}
}Response
{
"data": {
"mergeEnvironmentAsync": {
"destinationEnvironmentSlug": "string",
"error": "string",
"publishedTaskIds": [
"string"
],
"state": "COMPLETED",
"taskId": "string"
}
}
}Mutations
mergeEnvironmentAsync
Enqueue an async environment merge-apply job (STIGG-7830) and return a status handle immediately.
MUTATION
mergeEnvironmentAsync(input: MergeEnvironmentInput!): MergeApplyStatus!Arguments
input
required
Returns
destinationEnvironmentSlug
String
Destination environment slug the apply targets. Populated for "copy to new environment" so the client can navigate to / poll the newly created environment.
error
String
Failure message when the apply job failed.
publishedTaskIds
[String!]!
Publish task ids produced by the per-plan / per-addon publish side-effects.
state
Current lifecycle state of the apply job.
taskId
String!
The merge-apply job/task id; poll this for status.
Mutation
mutation MergeEnvironmentAsync($input: MergeEnvironmentInput!) {
mergeEnvironmentAsync(input: $input) {
destinationEnvironmentSlug
error
publishedTaskIds
state
taskId
}
}Variables
{
"input": {}
}Response
{
"data": {
"mergeEnvironmentAsync": {
"destinationEnvironmentSlug": "string",
"error": "string",
"publishedTaskIds": [
"string"
],
"state": "COMPLETED",
"taskId": "string"
}
}
}