|  Developer
Updated on June 23, 2022

hub.scenes.scripts.run

  • Version: 1.0
  • Classes: UI
  • Title: Scene manager categories
  • Description: Run a script snippet
Edit
Field Type Required Description
_id string + Id of a script snippet to run
Edit
Code Message Data
-32600 Wrong params,
-32600 Anonymous plugin doesn’t exist!
-32500 Script error
Edit
Here is it an example of usage:
Edit
				
					{
   "id":"_ID_",
   "jsonrpc":"2.0",
   "method":"hub.scenes.scripts.run",
   "params":{
      "_id":"5cf0dc8c7f000068d223e88a"
   }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {
    }
}