Description Usage Arguments Value
Update some attributes of this Custom Script
1 2 3 4 5 6 7 8 9 10 11 12 |
id |
integer required. The ID for the script. |
name |
string optional. The name of the script. |
parent_id |
integer optional. The ID of the parent job that will trigger this script |
arguments |
list optional. Parameter-value pairs to use when running this script. Only settable if this script has defined parameters. |
remote_host_id |
integer optional. The remote host ID that this script will connect to. |
credential_id |
integer optional. The credential that this script will use. |
schedule |
list optional. A list containing the following elements:
|
notifications |
list optional. A list containing the following elements:
|
time_zone |
string optional. The time zone of this script. |
target_project_id |
integer optional. Target project to which script outputs will be added. |
A list containing the following elements:
id |
integer, The ID for the script. |
name |
string, The name of the script. |
type |
string, The type of the script (e.g Custom) |
createdAt |
string, The time this script was created. |
updatedAt |
string, The time the script was last updated. |
author |
list, A list containing the following elements:
|
state |
string, The status of the script's last run. |
finishedAt |
string, The time that the script's last run finished. |
category |
string, |
projects |
array, An array containing the following fields:
|
parentId |
integer, The ID of the parent job that will trigger this script |
params |
array, An array containing the following fields:
|
arguments |
list, Parameter-value pairs to use when running this script. Only settable if this script has defined parameters. |
isTemplate |
boolean, Whether others scripts use this one as a template. |
publishedAsTemplateId |
integer, The ID of the template that this script is backing. |
fromTemplateId |
integer, The ID of the template script. |
uiReportUrl |
integer, The url of the custom HTML. |
uiReportId |
integer, The id of the report with the custom HTML. |
uiReportProvideAPIKey |
boolean, Whether the ui report requests an API Key from the report viewer. |
templateScriptName |
string, The name of the template script. |
templateNote |
string, The template's note. |
remoteHostId |
integer, The remote host ID that this script will connect to. |
credentialId |
integer, The credential that this script will use. |
codePreview |
string, The code that this script will run with arguments inserted. |
schedule |
list, A list containing the following elements:
|
notifications |
list, A list containing the following elements:
|
runningAs |
list, A list containing the following elements:
|
timeZone |
string, The time zone of this script. |
lastRun |
list, A list containing the following elements:
|
hidden |
boolean, The hidden status of the item. |
archived |
string, The archival status of the requested item(s). |
targetProjectId |
integer, Target project to which script outputs will be added. |
lastSuccessfulRun |
list, A list containing the following elements:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.