Mutation
mutation ConfigureWorktreeAutoSync($input: ConfigureWorktreeAutoSyncInput!) {
configureWorktreeAutoSync(input: $input) {
worktreeId
state
conflictWorkflowId
conflictWorkflowChoice
lastError
pauseReason
}
}Variables
{
"input": {
"worktreeId": "id"
}
}Response
{
"data": {
"configureWorktreeAutoSync": {
"worktreeId": "id",
"state": "string",
"conflictWorkflowId": "id",
"conflictWorkflowChoice": "string",
"lastError": "string",
"pauseReason": "PREPARATION_CONFLICT"
}
}
}Mutations
configureWorktreeAutoSync
Configures a worktree auto sync and returns the updated worktree auto sync.
MUTATION
configureWorktreeAutoSync(input: ConfigureWorktreeAutoSyncInput!): WorktreeAutoSync!Arguments
input
required
Values for the requested operation.
Returns
worktreeId
ID!
Identifier of the related worktree.
state
String!
Current state of this worktree auto sync.
conflictWorkflowId
ID
Identifier of the related conflict workflow. May be null when unavailable or not applicable.
conflictWorkflowChoice
String
The conflict workflow choice associated with this worktree auto sync. May be null when unavailable or not applicable.
lastError
String
The last error associated with this worktree auto sync. May be null when unavailable or not applicable.
pauseReason
Structured reason Auto Sync is paused.
lastSyncedAt
String
ISO 8601 timestamp when this worktree auto sync was last synchronized. May be null when unavailable or not applicable.
updatedAt
String!
ISO 8601 timestamp when this worktree auto sync was last updated.
Mutation
mutation ConfigureWorktreeAutoSync($input: ConfigureWorktreeAutoSyncInput!) {
configureWorktreeAutoSync(input: $input) {
worktreeId
state
conflictWorkflowId
conflictWorkflowChoice
lastError
pauseReason
}
}Variables
{
"input": {
"worktreeId": "id"
}
}Response
{
"data": {
"configureWorktreeAutoSync": {
"worktreeId": "id",
"state": "string",
"conflictWorkflowId": "id",
"conflictWorkflowChoice": "string",
"lastError": "string",
"pauseReason": "PREPARATION_CONFLICT"
}
}
}