Zum Hauptinhalt springen
Query

cameraCommand

Returns one camera command with its current status; poll it to follow a command sent with sendCameraCommand. Returns null when the command does not exist, has been removed, or you have no access to the project.

Argumente

  • idID!

    ID of the command.

  • projectIdID!

    ID of the project.

Rückgabe

CameraCommand

Beispiel

query CameraCommand($id: ID!, $projectId: ID!) {
  cameraCommand(id: $id, projectId: $projectId) {
    cameraId
    claimedAt
    claimedBy
    completedAt
    error
    expiresAt
    id
    kind
  }
}