Skip to main content
Skip table of contents

Daemon API - Calls

Services

StartService

StartService

Starts a specific service.

Params
Name STRINGName of the service to start (not concatenated with the computerName). Available names: "PX_Daemon", "PX_Datahub", "PX_Gateway", "PX_License", "PX_VideoIO", "PX_Tracking", "PX_Store", "Director", "UnrealEditor"
Value ANY OPTIONALService specific parameters.
Example - Starting PX_VideoIO service.

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "StartService" } Message: {"Params":{"Name":"PX_VideoIO"}}

CallResult (you can receive, if subscribed) Topic: { "Type": "CallResult", "ExecutedOn": "RenderMachine1-Daemon", "Method": "StartService" } Message: {"Result":{"Success":true}}

StopService

StopService

Stops a specific service.

Params
Name STRINGName of the service to start (not concatenated with computerName).
Example - Stopping PX_VideoIO service.

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "StopService" } Message: {"Params":{"Name":"PX_VideoIO"}}

CallResult (you can receive, if subscribed) Topic: { "Type": "CallResult", "ExecutedOn": "RenderMachine1-Daemon", "Method": "StopService" } Message: {"Result":{"Success":true}}

Shutdown

Shutdown

Stops all services and exits.

No params.
RestartService

RestartService

Restarts a specific service.

Params
Name STRINGName of the service to start (not concatenated with computerName).
Value ANY OPTIONALService specific parameters.
Example - Restarting PX_VideoIO service.

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "RestartService" } Message: {"Params":{"Name":"PX_VideoIO"}}

CallResult (you can receive, if subscribed) Topic: { "Type": "CallResult", "ExecutedOn": "RenderMachine1-Daemon", "Method": "RestartService" } Message: {"Result":{"Success":true}}

Shows

CopyShowFileToLocal

CopyShowFileToLocal

Copies a specific show file from the server machine to this machine (client).

Params
ShowName STRINGName of the show to copy.
Example

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "CopyShowFileToLocal" } Message: {"Params":{"ShowName":"Show1"}}

CallResult (you can receive, if subscribed) Topic: { "Type": "CallResult", "ExecutedOn": "RenderMachine1-Daemon", "Method": "CopyShowFileToLocal" } Message: {"Result":{"Success":true}}

CheckShowFileLocal

CheckShowFileLocal

No params.
RescanProjects

RescanProjects

No params.
RemoveLocalProjectPath

RemoveLocalProjectPath

No params.
AddLinkedProject

AddLinkedProject

No params.
ChangeLocalLinkedProject

ChangeLocalLinkedProject

No params.
EnableEncryption

EnableEncryption

No params.
RegenerateEncryptionKeys

RegenerateEncryptionKeys

No params.
AddEncryptionKeys

AddEncryptionKeys

No params.
RemoveEncryptionKeys

RemoveEncryptionKeys

No params.
TestNetworkConnection

TestNetworkConnection

No params.
ToggleFavorite

ToggleFavorite

Either adds or removes show or level from the favorite shows or levels array (see Get FavouriteShows).

Params
Name STRINGName of the show/level to add/remove.
Add BOOLEANtrue if it should be added instead of removed.
Levels BOOLEANtrue if the provided name is a level instead of a show.
Example - Adding Show1 to favorites.

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "ToggleFavorite" } Message: { "Params": { "Name": "Show1", "Add": true, "Levels": false } }

ToggleFavoriteFilter

ToggleFavoriteFilter

Toggles filter boolean for favorites shows or levels in database.

Params
Levels BOOLEANtrue if it toggles the favorite filter for levels instead of shows.
Example

Call (you send) Topic: { "Type": "Call", "Target": "RenderMachine1-Daemon", "Method": "ToggleFavoriteFilter" } Message: {"Params":{"Levels":false}}

Health

Health

Checks daemon health

No params.
SetRole

SetRole

Sets role for machine

No params.
CreateControlPanel

CreateControlPanel

Creates new control panel

No params.
LicenseCheckout

LicenseCheckout

Checks out license

No params.
RenameControlPanel

RenameControlPanel

Renames existing control panel

No params.
DuplicateControlPanel

DuplicateControlPanel

Duplicate existing control panel

No params.
DeleteControlPanel

DeleteControlPanel

Delete existing control panel

No params.
RestartMachine

RestartMachine

Restart current machine

No params.
DisconnectFromServer

DisconnectFromServer

Restart current machine

No params.
RefreshNetworkAdapters

RefreshNetworkAdapters

Get netowrk adapters

No params.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.