Jobs¶
/api/1.2/jobs¶
GET /api/1.2/jobs
Get all jobs (currently limited to invalidate content (PURGE) jobs) sorted by start time (descending).
Authentication Required: Yes
Role(s) Required: Operations or Admin
Request Query Parameters
Name Required Description dsIdno Filter jobs by Delivery Service ID. userIdno Filter jobs by User ID. Response Properties
Parameter Type Description idint Job id assetUrlstring URL of the asset to invalidate. deliveryServicestring Unique identifier of the job’s DS. keywordstring Job keyword (PURGE) parametersstring Parameters associated with the job. startTimestring Start time of the job. createdBystring Username that initiated the job. Response Example
{ "response": [ { "id": 1 "assetUrl": "http:\/\/foo-bar.domain.net\/taco.html", "deliveryService": "foo-bar", "keyword": "PURGE", "parameters": "TTL:48h", "startTime": "2015-05-14 08:56:36-06", "createdBy": "jdog24" }, { "id": 2 "assetUrl": "http:\/\/foo-bar.domain.net\/bell.html", "deliveryService": "foo-bar", "keyword": "PURGE", "parameters": "TTL:72h", "startTime": "2015-05-16 08:56:36-06", "createdBy": "jdog24" } ] }
GET /api/1.2/jobs/:id
Get a job by ID (currently limited to invalidate content (PURGE) jobs).
Authentication Required: Yes
Role(s) Required: Operations or Admin
Response Properties
Parameter Type Description idint Job id assetUrlstring URL of the asset to invalidate. deliveryServicestring Unique identifier of the job’s DS. keywordstring Job keyword (PURGE) parametersstring Parameters associated with the job. startTimestring Start time of the job. createdBystring Username that initiated the job. Response Example
{ "response": [ { "id": 1 "assetUrl": "http:\/\/foo-bar.domain.net\/taco.html", "deliveryService": "foo-bar", "keyword": "PURGE", "parameters": "TTL:48h", "startTime": "2015-05-14 08:56:36-06", "createdBy": "jdog24" } ] }