Script
Update an existing script or create a new one if it does not exist (in this case, the new script ID is returned in the data field).
post/script/{name}
Path parameters
namestring required
Name of the script to update or create, with its extension (.js or .coffee).
Query parameters
textstring required
Full text contents of the script. This parameter must be in the request body in x-www-form-urlencoded format.
insertOnlyboolean
If true, make sure that we don’t update an existing script (optional). An error will be returned if a script with the same name already exists.
Response
Success
Example response
{
"status": "success",
"data": 345
}