Generic Resource
PEPPERI NOTIFICATION SERVICE
Actions Queue
CPI Node
TODO training

Get List Of Code Jobs

get
Get List of Code Jobs

https://api.pepperi.com/v1.0/code_jobs
Get list of scheduled jobs
Request
Response
Request
Query Parameters
is_distinct
optional
boolean
PHASE #2 retrieves only distinct values based on fields - default false
full_mode
optional
boolean
PHASE #2 returns all relation objects fields(like Owner Name) - default false
include_count
optional
boolean
is returns count header - default false
include_deleted
optional
boolean
default is false (Hidden field)
order_by
optional
string
PHASE #1 -CodeJobName, NextRunTime
page_size
optional
number
PHASE #2 - by default 100 max is 250
page
optional
number
PHASE #2 - page number
fields
optional
string
list of fields - by default all fields are returned
where
optional
string
PHASE #2
Response
200: OK
[
{
"UUID" : "",
"CodeJobName" : "",
"Type": "AddonJob"/"UserCodeJob" //Read only
"Description" : "",
"Owner" : { "UUID" : ""} //Currently - addon UUID
"CronExpression" : "",
"NextRunTime" : "",
"IsScheduled" : true,
"CodeJobIsHidden" : false,
"FailureAlertEmailTo" : [ "emai[email protected]", "[email protected]" ],
"FailureAlertEmailSubject" : "Archive Job Failed" ,
"ExecutedCode" : "{ var x = 0; }", // Only for UserCodeJob
"AddonPath" : "addon_file_name", // Only for AddonJob
"AddonUUID" : "", // Only for AddonJob
"ExecutionMemoryLevel" : 2,
"NumberOfTries" : 2,
"DraftCode" :"{ var x = 0; }", // Only for UserCodeJob
"CreationDateTime" :"",
"ModificationDateTime" : "",
"FunctionName": "" // Currently "main" for UserCodeJob
},
.....
]
‚Äč