Dominevo
ReferenceHTTP APIShapes

Shapes: G

Named input and output shapes starting with G, referenced from the router pages.

Each shape is a TypeScript-style rendering of the validation schema. ? marks an optional field; self is a recursive reference.

GasStatusSchema

{
  detected: boolean
  lastChangedAt: number
}

GetLoggingSettingsInputSchema

{
  scopeNodeId?: string
  scopeComponent?: string
}

GetStreamWithCodecInputSchema

{
  deviceId: number
  video: "h264" | "h265" | "copy"
  audio?: "aac" | "opus" | "pcmu" | "copy" | "none"
  profile?: CamProfileSchema
  targetResolution?: { width: number; height: number }
  outputArgs?: string[]
  audioEgress?: boolean
  hostname?: string
  tag?: string
}

GlobalMetricsSchema

{
  totalAgents: number
  onlineAgents: number
  totalCameras: number
  attachedCameras: number
  activeCameras: number
  avgInferenceTimeMs: number
  queueDepth: number
}

GridLayoutPatchSchema

{
  deviceId: number
  fps?: number
  publishedProfiles?: ("high" | "mid" | "low")[]
  cells: ({ deviceId: number; source: { x: number; y: number; width: number; height: number }; cell: { x: number; y: number; width: number; height: number } })[]
}

GridLayoutViewSchema

{
  blockId: string
  deviceId: number
  name: string
  fps: number
  cells: ({ deviceId: number; source: { x: number; y: number; width: number; height: number }; cell: { x: number; y: number; width: number; height: number } })[]
  profiles: ({ profile: "high" | "mid" | "low"; offered: boolean; missingSources: number[]; canvas: string; published: boolean })[]
}

GroupActiveSchema

{
  active: boolean
  lastChangedAt: number
}

GroupCommandResultSchema

{
  deviceId: number
  cap: string
  method: string
  ok: boolean
  error?: string
  at: number
}

GroupCommandsSchema

{
  results: GroupCommandResultSchema[]
}

GroupMemberOutcomeSchema

| { targetId: string; status: "sent" }
| { targetId: string; status: "skipped"; reason: GroupSkipReasonSchema }
| { targetId: string; status: "failed"; error: string }

GroupSkipReasonSchema

"member-disabled" | "below-min-priority" | "schedule-inactive" | "alarm-state" | "alarm-unreadable" | "throttled" | "already-delivered" | "nested-group" | "unknown-target" | "target-disabled" | "content-filter" | "escalation-not-needed"

GroupStatusSchema

{
  included: number
  excluded: number
  total: number
}