v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
scripts

Compile a script

Compile a script

post/api/scripts/_compile

Request body

codeobject required

The code of the script

descobject required

The description of the script

idstring required

The id of the script

namestring required

The name of the script

Example request

{
  "code": {
    "key": "value"
  },
  "desc": {
    "key": "value"
  },
  "id": "a string value",
  "name": "a string value"
}

Response

Successful operation

doneboolean required

Is the task done or not

Example response

{
  "done": true,
  "error": {
    "column": "a string value",
    "file": {
      "key": "value"
    },
    "line": "a string value",
    "message": {
      "key": "value"
    },
    "rawMessage": {
      "key": "value"
    }
  }
}