younifyd
Menu

Post Bulk Publish Items

Post Bulk Publish Job

POST/hubs/{hubId}/bulk-publish-items

Use it in a workflow

  1. Add a step and choose the Amplience connector.
  2. Pick the Post Bulk Publish Items action (under Hubs).
  3. Fill in the fields below, then reference the result from later steps as {{postBulkPublishItems.response.data}}.

Request

Path parameters

hubIdstringrequired

Hub ID

Request body

Enter the body as JSON in the step's Body field.

selectionarray<object>
contentItemIdstring

ID of content item

versioninteger

Version of content item to publish

json
{
  "selection": [
    {
      "contentItemId": "00112233-4455-6677-8899-aabbccddeeff",
      "version": 1
    }
  ]
}

Response

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

idstring

ID

typestring

Type of job operation

statusstring

Status of Job

One ofCREATEDSTARTEDPARTIALFAILEDCOMPLETED

resultsobject
succeededarray<any>
failedarray<any>
createdDatestring (date-time)

Created Date

createdBystring (uuid)

Created by User Id

_linksobject

Resource HAL links

selfanyrequired
bulk-publish-itemsany
json
{
  "id": "00112233-4455-6677-8899-aabbccddeeff",
  "type": "PUBLISH",
  "status": "CREATED",
  "results": {
    "succeeded": [
      null
    ],
    "failed": [
      null
    ]
  },
  "createdDate": "2019-01-01T00:00:00.000Z",
  "createdBy": "00112233-4455-6677-8899-aabbccddeeff",
  "_links": {
    "self": null,
    "bulk-publish-items": null
  }
}

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