v1

latestOpenAPI 3.0.0Apache 2.02026-07-1410280162.7 KB
scripts

Create a new script

Create a new script

post/api/scripts

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

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 response

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