Breadcrumbs

Daemon API - Calls

Services

StartService

StartService

Starts a specific service.

Params

Name

STRING

Name 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

OPTIONAL

Service 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

STRING

Name 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}}

RestartService

RestartService

Restarts a specific service.

Params

Name

STRING

Name of the service to start (not concatenated with computerName).

Value

ANY

OPTIONAL

Service 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}}

CheckShowFileLocal

CheckShowFileLocal

No params.

CheckShowFileLocal

CheckShowFileLocal

No params.

Shows

CopyShowFileToLocal

CopyShowFileToLocal

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

Params

ShowName

STRING

Name 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.

PixotopeDump

PixotopeDump

No params.

RescanProjects

RescanProjects

No params.

RemoveLocalProjectPath

RemoveLocalProjectPath

No params.

ToggleFavorite

ToggleFavorite

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

Params

Name

STRING

Name of the show/level to add/remove.

Add

BOOLEAN

true if it should be added instead of removed.

Levels

BOOLEAN

true 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

BOOLEAN

true 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}}

DisconnectServer

DisconnectServer

Called on a machine connected to a server machine, when the server changes its role. This will change the role of the client to stand-alone.
Sends an Update message named "ServerChangedRole" to Director that role has been updated.

No params.

Health

Health

Checks daemon health

No params.

SetRole

SetRole

Sets role for machine

No params.

CreateControlPanel

CreateControlPanel

Creates new control panel

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.