Zum Hauptinhalt springen
Mutation

cancelCameraCommand

Cancels a camera command that is still PENDING. A command already claimed or finished is left as it is. Requires edit access to the project. Returns the command.

Argumente

  • idID!

    ID of the command to cancel.

  • projectIdID!

    ID of the project.

Rückgabe

CameraCommand!

Beispiel

mutation CancelCameraCommand($id: ID!, $projectId: ID!) {
  cancelCameraCommand(id: $id, projectId: $projectId) {
    cameraId
    claimedAt
    claimedBy
    completedAt
    error
    expiresAt
    id
    kind
  }
}