Description
QueryServer is, similar to Store and AssethubServer, a per-network service, so it can be accessed statically using the name "QueryServer". It contains a bunch of DH2 Queries which serve to make using DH2 easier, it also provides "Relays" which are GET/UPDATE-able endpoints that combine data from several places or transforms it in some other way. As both the Queries and Relays are parsed at startup, they can be expanded by anyone, even in a deployed installation. It is also open source and found here:
https://bitbucket.org/futureuniverse/open-python-services/src/master/
Name
QueryServer
State
QueryServer maintains no state
Relays (GET Endpoints)
QueryServer exposes several non-state fields that can be queried at runtime. These are automatically updated and provide information about the system.
AvailableSRTPorts
Gets available SRT ports.
AvailableTools
Aggregates available tools from all connected DRM servers.
BackupNetworkCleanup
Information about backup network cleanup status.
BackupNetworkInfo
Information about the backup network configuration.
CameraTrackingProtocols
Lists available camera tracking protocols.
CaptureCameraImagesProgress
Progress information for camera image capture operations.
DaemonEvents
Information about daemon events in the system.
Endpoints
Exposes information about all available endpoints and calls. This can be called at runtime and is automatically updated.
Return Type: Object containing:
-
State: boolean -
PersistentState: boolean -
Calls: Object mapping call names to their parameters -
Fields: Object mapping relay names to their descriptions
Calls
AddIOMedia
Adds IO media to specified machines.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Machines |
array |
List of machines |
|
Type |
string |
Type of media |
AddMachineGroup
Adds a new machine group.
No params.
AdjustmentPreset
Manages adjustment presets.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Engine |
string |
Engine identifier |
|
GroupName |
string |
Name of the group |
|
IsAdjustment |
boolean |
Whether this is an adjustment |
|
LevelPath |
string |
Path to the level |
|
Method |
string |
Method to use |
|
Panel |
string |
Panel identifier |
|
Payload |
object |
Payload data |
|
Preset |
string |
Preset identifier |
|
Type |
string |
Type of preset |
AwaitCamerasCleared
Waits for all cameras to be cleared.
No params.
CalculateXRARLatency
Calculates XR/AR latency.
No params.
CancelCaptureImage
Cancels an ongoing camera image capture operation.
No params.
CancelColorMatching
Cancels the color matching process.
No params.
CancelComputeJobs
Cancels all running compute jobs.
No params.
CaptureCameraImages
Captures images from a specified camera.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Camera |
string |
Camera identifier |
|
MachineName |
string |
Name of the machine |
|
NumberOfImages |
number |
Number of images to capture |
CleanRoutings
Cleans routings for a specific machine.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine name |
ClearAllKeyerPresets
Clears all keyer presets of a specific type.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Type |
string |
Type of presets to clear |
ClearDigitalTwin
Clears the digital twin data.
No params.
ClearKeyerPreset
Clears a specific keyer preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Preset |
string |
Preset to clear |
ClearMachineGroupsMapping
Clears all machine group mappings.
No params.
ClearRoutings
Clears all routings.
No params.
CloudAsyncGeometry
Runs cloud async geometry computation.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Camera |
string |
Camera identifier |
|
CustomFolder |
string |
Custom folder path |
|
MachineName |
string |
Machine name |
|
NumberOfImages |
number |
Number of images to process |
ColorMatching
Initiates color matching process.
No params.
CompareAgainstBlackB64
Compares a base64 image against black.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Image |
string |
Base64 encoded image |
ConnectToVideohub
Connects to a Videohub device.
Params
|
Name |
Type |
Description |
|---|---|---|
|
IP |
string |
IP address of the Videohub |
|
Reconnect |
boolean |
Whether this is a reconnection |
DeleteMedia
Deletes media from a machine.
Params
|
Name |
Type |
Description |
|---|---|---|
|
IsCamera |
boolean |
Whether this is camera media |
|
MachineName |
string |
Target machine name |
|
MediaId |
string |
Media identifier |
DetermineBlurrinessOfB64
Analyzes the blurriness of a base64 image.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Image |
string |
Base64 encoded image |
DetermineBrightnessOfB64
Analyzes the brightness of a base64 image.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Image |
string |
Base64 encoded image |
DiffB64Images
Calculates the difference between two base64 images.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Image1 |
string |
First base64 encoded image |
|
Image2 |
string |
Second base64 encoded image |
DisableVideohubAutoconnect
Disables automatic Videohub connection.
No params.
DisconnectFromVideohub
Disconnects from the Videohub.
No params.
DispatchMetaCall
Dispatches a given method to a given service on the target machines. This is a meta-call function that allows dynamic invocation of methods across multiple machines in the system.
Params
|
Name |
Default |
Required |
Description |
|---|---|---|---|
|
|
|
✅ Required |
The method/endpoint name that will be called on the target service. This is passed in the Topic of the forwarded calls. |
|
|
|
✅ Required |
The name of the service to target (e.g., "CTS", "Engine", "Director", "Daemon"). |
|
|
|
✅ Required |
List of machine names to target. Supports:
|
|
|
|
Optional |
Dictionary/object containing parameters to pass to the target endpoint. If the endpoint doesn't require parameters, this can be omitted or set to an empty object. |
|
|
|
Optional |
Controls call behavior:
|
Target Machines Special Syntax
The TargetMachines parameter supports several patterns:
-
Explicit names:
["Machine1", "Machine2"]- Targets specific machines -
Wildcard:
["*"]- Targets all machines with connected Daemon services -
Machine groups:
["Groups.Default.AR","Groups.Custom.MyCustomGroup"]- Targets all machines in the "Engines" group as defined inState.MachineGroupings -
Mixed:
["Machine1", "Groups.Default.AR", "Machine2"]- Combines explicit names and groups
Response Structure
The query returns an array of result objects, one for each target machine:
[
{
"Machine": "string", // Name of the target machine
"Error": "string | null", // Error message if the call failed, null on success
"Result": "any | null" // The actual result from the service, null on error or async calls
}
]
Examples
Notes
-
Service Naming: The query automatically constructs the full service name using the pattern
{MachineName}-{ServiceName}(e.g., "Machine1-CTS"). -
Connection Validation: Before dispatching calls, the query verifies that the target service is connected. If not, it returns an error for that machine without attempting the call.
-
Sequential vs Parallel: When
IsAsyncisfalse, calls are executed sequentially, which can take time if targeting many machines. UseIsAsync: truefor fire-and-forget operations. -
Error Handling: Each machine's result is tracked independently. If one machine fails, others will still be processed. Check the
Errorfield for each result to identify failures. -
Group Resolution: Machine groups are resolved from
State.MachineGroupingsin the Store. If a group doesn't exist or is not a list, it's silently skipped.
DuplicateCurrentShow
Duplicates the currently open show.
No params.
FailoverMachineSwitch
Switches failover to a different machine.
Params
|
Name |
Type |
Description |
|---|---|---|
|
GroupId |
string |
Group identifier |
|
MainMachineName |
string |
Name of the main machine |
FailoverMachineSwitched
Notification that failover machines have switched.
Params
|
Name |
Type |
Description |
|---|---|---|
|
SwitchedMachines |
array |
List of switched machines |
GetAliveIP
Gets the alive IP address.
No params.
GetCameraSystems
Gets information about camera systems.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Cameras |
array |
Camera filter/specification |
|
Machines |
array |
Machine filter/specification |
|
TrackingStatuses |
array |
Tracking status filter |
GetColorDiagram
Gets color diagram
Params
|
Name |
Type |
Description |
|---|---|---|
|
Machine |
string |
Machine name |
|
Name |
string |
Name to query |
GetFromRole
Gets information from a specific role.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Name |
string |
Name to query |
|
Role |
string |
Role to query from |
GetImageForRouting
Gets an image for a routing.
Params
|
Name |
Type |
Description |
|---|---|---|
|
RoutingID |
string |
Routing identifier |
|
Scale |
number |
Image scale |
GetImportShowState
Gets the import state for a show.
Params
|
Name |
Type |
Description |
|---|---|---|
|
ShowName |
string |
Name of the show |
GetMachineNames
Retrieves the names of all machines in the system.
No params.
GetSystemDump
Gets a complete system dump for diagnostics.
No params.
GetVideoIONodes
Gets all video IO nodes in the system.
No params.
GiveJakobNewName
Development/debug function.
No params.
ImportComputedMesh
Imports a computed mesh.
Params
|
Name |
Type |
Description |
|---|---|---|
|
LevelLocation |
string |
Level location path |
|
ProjectLocation |
string |
Project location path |
|
TargetMachine |
string |
Target machine name |
|
ZipLocation |
string |
Path to the mesh zip file |
Increment
Increments a value.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Name |
string |
Name of the value |
|
Number |
number |
Increment amount |
|
Service |
string |
Service name |
LaunchEngineLevel
Launches a specific Unreal Engine level.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Level |
string |
Level path |
|
Project |
string |
Project path |
LoadKeyerPreset
Loads a keyer preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Machine |
string |
Target machine |
|
Preset |
string |
Preset to load |
|
VideoIOName |
string |
Video IO name |
LockRenderMachineRow
Locks a render machine row in the Videohub.
Params
|
Name |
Type |
Description |
|---|---|---|
|
OutputIndex |
number |
Output index to lock |
|
ShouldLock |
boolean |
Whether to lock or unlock |
MeasureStoreLatency
Measures Store latency.
No params.
NestedStoreState
Tests nested store state.
No params.
NetworkHealthCheck
Performs a health check on a specified network target.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Target |
string |
The target machine or service to check |
NetworkInstall
Installs from a specified network path. After the Pixotope_Installer.exe is synced, a Powershell command is executed Start-Process -FilePath "Synced Config/AutoInstaller/Pixotope_Installer.exe" -ArgumentList /SILENT -Wait
Params
|
Name |
Type |
Description |
|---|---|---|
|
Path |
string |
Network path to install from |
Return
Returns true when installation is completed or false if it fails.
PauseDedicatedVideo
Pauses dedicated video.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
PauseVideo
Pauses video playback.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
PixotopeSpaceCuePreset
Cues a preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
|
PresetId |
string |
Preset identifier |
PixotopeSpaceGetPreset
Gets a specific preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
|
PresetId |
string |
Preset identifier |
PixotopeSpaceGetPresets
Gets all presets for an entity.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
PixotopeSpacePlayLoopPreset
Plays a preset in loop mode.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
|
PresetId |
string |
Preset identifier |
PixotopeSpacePlayPreset
Plays a preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
|
PresetId |
string |
Preset identifier |
PixotopeSpaceStopPreset
Stops a playing preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
EntityId |
string |
Entity identifier |
|
PresetId |
string |
Preset identifier |
PlayVideo
Plays video on a routing.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
RecordDedicatedVideo
Records dedicated video to a specific file.
Params
|
Name |
Type |
Description |
|---|---|---|
|
FileFolder |
string |
Folder path for the recording |
|
FileName |
string |
File name for the recording |
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
RecordVideo
Records video from a routing.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
RemoveMachineGroup
Removes a machine group.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineGroupId |
string |
ID of the group to remove |
RenameCamera
Renames a camera.
Params
|
Name |
Type |
Description |
|---|---|---|
|
CameraId |
string |
ID of the camera to rename |
|
NewName |
string |
New name for the camera |
RenameKeyerPreset
Renames a keyer preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
NewName |
string |
New preset name |
|
Preset |
string |
Current preset name |
RenameMachineGroup
Renames a machine group.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineGroupId |
string |
ID of the group |
|
NewName |
string |
New name for the group |
RenameMedia
Renames video media.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine name |
|
NewName |
string |
New media name |
|
VideoId |
string |
Video identifier |
ResetKeyerParameters
Resets keyer parameters to defaults.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Name |
string |
Name of the keyer |
ResetRoutingToProtocolDefaults
Resets routing to protocol defaults.
Params
|
Name |
Type |
Description |
|---|---|---|
|
CameraId |
string |
Camera identifier |
|
Machines |
array |
List of machines |
|
Protocol |
string |
Protocol name |
ResetTimecode
Resets timecode.
Params
|
Name |
Type |
Description |
|---|---|---|
|
IsPTP |
boolean |
Whether using PTP |
|
MachineName |
string |
Target machine |
RestartMachines
Restarts specified machines in the system.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Machines |
array |
List of machines to restart |
RestartPipelines
Restarts all rendering pipelines.
No params.
RestartVideo
Restarts video playback.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
Record |
boolean |
Whether to restart recording |
|
RoutingID |
string |
Routing identifier |
RouteCameraSystem
Routes a camera system.
Params
|
Name |
Type |
Description |
|---|---|---|
|
CameraId |
string |
Camera identifier |
|
IsMobile |
boolean |
Whether this is a mobile camera |
|
Machines |
array |
List of machines |
|
Name |
string |
Routing name |
RouteLocalCamera
Routes a local camera.
Params
|
Name |
Type |
Description |
|---|---|---|
|
CameraId |
string |
Camera identifier |
|
Machines |
array |
List of machines |
SaveKeyerPreset
Saves the current keyer settings as a preset.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Machine |
string |
Target machine |
|
Preset |
string |
Preset name |
|
VideoIOName |
string |
Video IO name |
SetCalibratedLag
Sets calibrated lag for a component.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Component |
string |
Component identifier |
|
Lag |
number |
Lag value in milliseconds |
|
Machine |
string |
Machine name |
SetTimecode
Configures timecode settings.
Params
|
Name |
Type |
Description |
|---|---|---|
|
AnyVideoIsST2110 |
boolean |
Whether any video is ST2110 |
|
AutoReset |
boolean |
Whether to auto-reset |
|
Enabled |
boolean |
Whether timecode is enabled |
|
Machines |
array |
List of machines |
SetTrackingProtocol
Sets the tracking protocol for a camera.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Camera |
string |
Camera identifier |
|
Protocol |
string |
Tracking protocol to use |
SetupTestIO
Sets up test IO configuration.
Params
|
Name |
Type |
Description |
|---|---|---|
|
FilePath |
string |
Path to test file |
|
IncludeOutput |
boolean |
Whether to include output |
SetupTestVideoColorMatchingOutput
Sets up test video color matching output.
No params.
SetupTestVideoConsistency
Sets up video consistency test.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Delay |
number |
Delay value |
|
Format |
string |
Video format |
|
InputType |
string |
Input type |
|
TestLength |
number |
Test length in seconds |
SetupVideoIOTestOCIO
Sets up Video IO OCIO test.
No params.
SetupVideoIOTestRouting
Sets up Video IO routing test.
No params.
ShuffleColors
Development function to shuffle colors.
No params.
ShutdownPipelines
Shuts down all rendering pipelines.
No params.
StopDedicatedVideo
Stops dedicated video.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
RoutingID |
string |
Routing identifier |
StopVideo
Stops video playback.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineName |
string |
Target machine |
|
Record |
boolean |
Whether to stop recording |
|
RoutingID |
string |
Routing identifier |
StoreState
Tests store state functionality.
No params.
Swap
Swaps two values.
Params
|
Name |
Type |
Description |
|---|---|---|
|
First |
string |
First value |
|
Second |
string |
Second value |
|
Service |
string |
Service name |
SwitchCameraGroup
Switches to a different camera group.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Group |
string |
Name of the camera group to switch to |
SyncChanges
Synchronizes changes.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Action |
string |
Action to perform |
|
ReadFrom |
string |
Source to read from |
SyncRenderMapping
Synchronizes render mapping.
No params.
TestAIKeyer
Tests the AI keyer functionality.
No params.
TestAwait
Tests await functionality.
No params.
TestExternalKey
Tests external keying.
No params.
TestIOBotConnection
Tests the IO Bot connection.
No params.
TestKeyer
Tests the keyer functionality.
No params.
TestSharpening
Tests image sharpening.
No params.
TestSpamSettingsChange
Tests rapid settings changes.
No params.
TestStorePerformance
Tests Store performance.
No params.
UNFINISHED_TestVideoIOLatency
This test is unfinished.
No params.
UpdateBackupServer
Updates backup server configuration.
Params
|
Name |
Type |
Description |
|---|---|---|
|
Hostname |
string |
Backup server hostname |
|
IPAddress |
string |
Backup server IP address |
|
Name |
string |
Backup server name |
UpdateMachineGroupMapping
Updates machine group mapping.
Params
|
Name |
Type |
Description |
|---|---|---|
|
IOIndex |
number |
IO index |
|
IOType |
string |
IO type |
|
IOValue |
string |
IO value |
|
MachineGroupId |
string |
Machine group ID |
|
MachineName |
string |
Machine name |
|
MachinesType |
string |
Type of machines |
UpdateMachineGroupSelection
Updates machine selection for a group.
Params
|
Name |
Type |
Description |
|---|---|---|
|
MachineGroupId |
string |
ID of the group |
|
Machines |
array |
List of machines |
|
MachinesType |
string |
Type of machines |
VideohubTestConnection
Tests the Videohub connection.
No params.
WaitForEngineToLaunch
Waits for an engine instance to launch.
No params.
WaitForEnginesToBeReady
Waits for all Unreal Engine instances to be ready.
No params.
WaitForMainServicesToStart
Waits for main services to start.
No params.
WaitForPipelinesToFinishBuilding
Waits for all pipelines to finish building.
No params.