Daemon API - Calls
Services
StartService
Starts a specific service.
Params
Name | STRING | Name of the service to start (not concatenated with the computerName).
Available names: |
Value | ANY OPTIONAL | Service specific parameters. |
Example - Starting PX_VideoIO service. Call (you send)
CallResult (you can receive, if subscribed)
|
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)
CallResult (you can receive, if subscribed)
|
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)
CallResult (you can receive, if subscribed)
|
Shows
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)
CallResult (you can receive, if subscribed)
|
CheckShowFileLocal
No params.
PixotopeDump
No params.
RescanProjects
No params.
RemoveLocalProjectPath
No params.
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 |
|
Levels | BOOLEAN |
|
Example - Adding Show1 to favorites. Call (you send)
|
ToggleFavoriteFilter
Toggles filter boolean for favorites shows or levels in database.
Params
Levels | BOOLEAN |
|
Example Call (you send)
|
Other
ResetRole
Resets the role of this machine to its initial state.
No params.
Example Call (you send)
CallResult (you can receive, if subscribed)
|
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 and will disable production mode
(Permissions - affecting SETUP or PRODUCTION).
Sends an Update message named "ServerChangedRole" to Director that role has been updated.
No params.
AddCameraType
Adds a provided camera type to the existing array of types and stores it in
[Installation folder]/Local storage/CameraTypes.json
Params
id | NUMBER | Unique Id. |
label | STRING | Display name of camera. |
camera_name | STRING | Name of camera. |
width | STRING | Width of backplate in mm. |
height | STRING | Height of backplate in mm. |
Example Call (you send)
Update (you can receive, if subscribed)
|