Skip to main content

Scripting

Run and manage global scripts. Test and execute JavaScript scripts against Mango data.

See also: Scripting documentation | Full API Reference for interactive testing and complete schemas.

Endpoints

MethodPathDescriptionReference
GET/global-scriptsQuery Global ScriptsAPI Reference →
POST/global-scriptsCreate a Global ScriptAPI Reference →
DELETE/global-scripts/{xid}Delete a Global ScriptAPI Reference →
GET/global-scripts/{xid}Get a Global ScriptAPI Reference →
PUT/global-scripts/{xid}Update a Global ScriptAPI Reference →
GET/global-scripts/exportExport formatted for Configuration Import by supplying an RQL queryAPI Reference →
POST/global-scripts/validateValidate a Global ScriptAPI Reference →
POST/global-scripts/validate-scriptValidate a ScriptAPI Reference →
GET/script/enginesList available script engines (e.g. Nashorn, Graal.js)API Reference →
POST/script/eval-file-store/{fileStoreName}/**Evaluate a filestore file as a script on the backend using a scripting engineAPI Reference →
POST/script/runRun a script, supplied permissions must already be granted to submitting User. Admin onlyAPI Reference →
POST/script/validateValidate a script, supplied permissions must already be granted to submitting User.API Reference →