younifyd
Menu

Get Publishing Job

Get a Publishing Job

GET/publishing-jobs/{publishingJobId}

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Get Publishing Job action (under Publishing Jobs).
  3. Fill in the fields below, then reference the result from later steps as {{getPublishingJob.response.data}}.

Request

Path parameters

publishingJobIdstringrequired

Publishing Job ID

Response

Returns 200 with an object. Read it in later steps with {{getPublishingJob.response.data.<field>}}.

idstring

ID

scheduledDatestring

Scheduled date & time for Publishing Job

createdDatestring

Date Publishing Job was created

createdBystring

User who created the Publishing Job

statestring

State of Publishing Job

One ofCREATEDCANCELLEDPREPARINGWAITINGPUBLISHINGFAILEDCOMPLETED

publishErrorStatusstring

Publish error status (only present if `state=FAILED`)

_linksobject

Resource HAL links

selfanyrequired
publishing-jobanyrequired
snapshotanyrequired
cancelany
json
{
  "id": "00112233445566778899aabb",
  "scheduledDate": "2018-01-01T00:00:00Z",
  "createdDate": "2018-01-01T00:00:00Z",
  "createdBy": "00112233-4455-6677-8899-aabbccddeeff",
  "state": "CREATED",
  "_links": {
    "self": null,
    "publishing-job": null,
    "snapshot": null,
    "cancel": null
  },
  "publishErrorStatus": "string"
}

Need more? See the Amplience guide for connection setup and behaviour shared by every action.

Get Publishing Job — Amplience — Documentation