Other API Methods
Astra Version
Section titled “Astra Version”Request: POST /control/
{ "cmd": "version"}Astra Restart
Section titled “Astra Restart”Request: POST /control/
{ "cmd": "restart"}Download configuration
Section titled “Download configuration”Request: POST /control/
{ "cmd": "load"}In the response will be whole configuration file.
Upload configuration
Section titled “Upload configuration”Request: POST /control/
{ "cmd": "upload" "config": {}}config- whole configuration file
Set serial number
Section titled “Set serial number”Request: POST /control/
{ "cmd": "set-license", "license": "xxx"}license- license serial number
Set image to the stream tile
Section titled “Set image to the stream tile”Request: POST /control/
{ "cmd": "set-stream-image", "id": "a001", "url": "http://..."}id- stream identifierurl- image address, as well could be used data-format, for example:data:image/png;base64,...
This method used in the script to set screenshots for stream tiles. Read more in Channel Screenshots on Dashboard