Update the archive status of this object
jobs_put_archive(id, status)
id | integer required. The ID of the object. |
---|---|
status | boolean required. The desired archived status of the object. |
A list containing the following elements:
integer,
string,
string,
integer,
string, Whether the job is idle, queued, running, cancelled, or failed.
string,
string,
array, An array containing the following fields:
id integer,
state string,
createdAt string, The time that the run was queued.
startedAt string, The time that the run started.
finishedAt string, The time that the run completed.
error string, The error message for this run, if present.
list, A list containing the following elements:
id integer,
state string,
createdAt string, The time that the run was queued.
startedAt string, The time that the run started.
finishedAt string, The time that the run completed.
error string, The error message for this run, if present.
boolean, The hidden status of the item.
string, The archival status of the requested item(s).
string,
string,
string,
string,
list, A list containing the following elements:
scheduled boolean, If the item is scheduled.
scheduledDays array, Day based on numeric value starting at 0 for Sunday.
scheduledHours array, Hours of the day it is scheduled on.
scheduledMinutes array, Minutes of the day it is scheduled on.
scheduledRunsPerHour integer, Alternative to scheduled minutes, number of times to run per hour.