List Jobs
Get a list of all scheduled jobs for the current site.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /
.
HTTP Verb
|
GET
|
URL
|
/api/1/site/jobs/list |
Response Formats
|
JSON , XML |
Example
Request
GET .../api/1/site/jobs/list.json
Response
Status 200 OK
[
{
"name": "editorial:/scripts/jobs/hourly/hourly-job.groovy",
"nextFireTime": "2018-05-08T00:00:00Z",
},
{
"name": "editorial:/scripts/jobs/custom-job.groovy",
"nextFireTime": "2018-05-08T00:00:00Z",
}
]
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
500
|
{ "message" : "Internal server error" } |