Skip to main content

Content items

Base URL: https://api.amplience.net/v2/content

Authorization and status codes

For authorization and status codes see the API Reference overview.

Content items
Link copied!

MethodEndpointSummary
PATCH/content-itemsUpdate multiple content items
GET/content-items/{contentItemId}Get content item
PATCH/content-items/{contentItemId}Update content item
POST/content-items/{contentItemId}/archiveArchive content item
GET/content-items/{contentItemId}/associationsGet content item associations
PATCH/content-items/{contentItemId}/delivery-keyAssigning a delivery key
GET/content-items/{contentItemId}/historyList content item history
POST/content-items/{contentItemId}/localizeLocalize content item
GET/content-items/{contentItemId}/plannedFinding content by epoch
POST/content-items/{contentItemId}/publishPublish content item
PUT/content-items/{contentItemId}/restoreRestore content by content version number
POST/content-items/{contentItemId}/unarchiveUnarchive content item
POST/content-items/{contentItemId}/unpublishUnpublish content item
GET/content-items/{contentItemId}/versionsList content item versions
GET/content-items/{contentItemId}/versions/{version}Finding content by content version number
GET/content-items/{contentItemId}
/versions/{version}/history
List content item history for a version
PATCH/content-items/{contentItemId}/workflowAssigning a workflow state
GET/content-items/search/findByIdWithChildrenGetting linked child content items
GET/content-items/search/findByIdWithParentsGetting linked parent content items
GET/content-repositories/{contentRepositoryId}
/content-items
List content items
POST/content-repositories/{contentRepositoryId}
/content-items
Create content item
POST/content-repositories/{contentRepositoryId}
/content-items/{sourceContentItemId}
Copy content item
POST/hubs/{hubId}/content-items/facetFaceting content items with search by text
POST/hubs/{hubId}/content-items/filterFiltering content items by collection keys
GET/hubs/{hubId}/content-items/findSearch content items by text
GET/hubs/{hubId}/delivery-keys/content-itemFinding content items by delivery keys

Text search query syntax
Link copied!

A simple query syntax is provided to allow full text search on content items. Several characters have special meaning and are reserved:

Reserved Search Characters

DescriptionSymbol
Negation Operator-
Field Search Operator:
Quote (for exact search)"
Comma (list multiple search terms),

Please note that the text search is case insensitive, and will only display content items within the hub. See the following examples for an explanation of the query syntax:

Text Search Examples

QueryMeaning
appleFind all content items containing the word "apple"
apple orangeFind all content items containing the words "apple" AND "orange"
apple,orangeFind all content items containing either "apple" OR "orange"
apple -orangeFind all content items that contain the word "apple" but NOT "orange"
-apple-orangeFind all content items that don't contain "apple-orange" (hyphens in the middle of a word are not treated as negation)
label:appleFind all content items that contain the word "apple" within the "label" field
"apple:orange"Find all content items containing "apple:orange" (quotes must be used to search for a colon character)
apple label:orangeFind all content items containing the word "apple" anywhere within them, AND the word "orange" in the label field

Publishing status values
Link copied!

The publishingStatus field appears on all content item responses and describes the relationship between the current version and the last published version:

ValueMeaning
NONEThe content item has never been published
EARLYThe content item has been published, but changes have been made since the last publish
LATESTThe content item has been published and no changes have been made since. The published version is current
UNPUBLISHEDThe content item was published and has since been unpublished

Workflow state
Link copied!

The workflow.state field on a content item response contains the ID of the assigned Workflow State resource. Use the Workflow States endpoints to list available states for a hub or retrieve a state by ID. The field is absent when no workflow state is assigned.

Most content item API responses include a standard set of HAL _links describing the actions and related resources available. The examples throughout this page show an abbreviated set of links for readability. The full set returned in a typical content item response looks like this:

  "_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
},
"unpublish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/unpublish"
},
"linked-content": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"content-item-with-children": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item-with-parents": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithParents?id=00112233-4455-6677-8899-aabbccddeeff"
},
"update": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?ignoreSchemaValidation}",
"templated": true
},
"restore-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/restore"
},
"content-repository": {
"href": "https://api.amplience.net/v2/content/content-repositories/00112233445566778899aabb"
},
"content-item-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{/version}",
"templated": true
},
"content-item-versions": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{?page,size,sort}",
"templated": true
},
"content-item-history": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/history{?page,size,sort}",
"templated": true
},
"copy": {
"href": "https://api.amplience.net/v2/content/content-repositories/{id}/content-items?sourceContentItemId=00112233-4455-6677-8899-aabbccddeeff",
"templated": true
},
"unarchive": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/unarchive"
},
"archive": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/archive"
},
"set-delivery-key": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/delivery-key"
},
"set-locale": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/locale"
},
"create-localizations": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/localize"
},
"localizations": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/localizations{?page,size,sort}",
"templated": true
},
"localization-jobs": {
"href": "https://api.amplience.net/v2/content/localization-jobs/search/findByRootContentItem?id=00112233-4455-6677-8899-aabbccddeeff{&page,size,sort}",
"templated": true
},
"edition-slot-associations": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/edition-slot-associations"
},
"edit-workflow": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/workflow"
}
}
Which links you'll actually see

The exact set of links returned can vary slightly by content item state. Endpoints that return a partial or list representation may include a smaller subset of these links rather than the full set shown above.

Update multiple content items
Link copied!

PATCH /content-items

https://api.amplience.net/v2/content/content-items

Update Multiple Content Items

Request Body

Content-Type: application/json

Request example
[
{
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json"
},
"heading": "Heading",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Label",
"version": 1,
"folderId": "00112233445566778899aabb",
"assignees": "00112233445566778899aabb",
"id": "00112233-4455-6677-8899-aabbccddeeff"
}
]

Responses

StatusDescription
207Update Multiple Content Items response
Response Example (207)
{
"results": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"status": 200,
"code": "SUCCESS",
"level": "INFO"
}
]
}

Get content item
Link copied!

GET /content-items/{contentItemId}

https://api.amplience.net/v2/content/content-items/{contentItemId}

Get a Content Item

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Update content item
Link copied!

PATCH /content-items/{contentItemId}

https://api.amplience.net/v2/content/content-items/{contentItemId}

Update a Content Item. Please note that deliveryKey can only be set when Content Delivery v2 is enabled.

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff
ignoreSchemaValidationquerybooleanWhen true, the content item body is not validated against the content type schema. Use with caution. Invalid content may cause delivery errors.

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
bodyobject
labelstringLabel
folderIdstringFolder ID
assigneesarrayAssignees
localestringLocale
versionintegerThe current version number of the content item. Must match the stored version to prevent overwriting concurrent edits. If the version supplied does not match the current version, a 400 error is returned.
Request example
{
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"locale": "en-GB"
}

Responses

StatusDescription
200Updated Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Archive content item
Link copied!

POST /content-items/{contentItemId}/archive

https://api.amplience.net/v2/content/content-items/{contentItemId}/archive

Archive a Content Item

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
versionintegerVersion to archive
Request example
{
"version": 1
}

Responses

StatusDescription
200Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"status": "ARCHIVED",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Get content item associations
Link copied!

GET /content-items/{contentItemId}/associations

https://api.amplience.net/v2/content/content-items/{contentItemId}/associations

Get Content Item Associations

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200Get Content Item Associations response
Response Example (200)
{
"contentItemId": "00112233-4455-6677-8899-aabbccddeeff",
"associations": [
{
"eventTitle": "Test",
"eventId": "00112233445566778899aabb",
"eventStart": "2019-01-01T00:00:00.000Z",
"eventEnd": "2019-01-01T00:00:00.000Z",
"editionTitle": "Test",
"editionId": "00112233445566778899aabb",
"editionStart": "2019-01-01T00:00:00.000Z",
"editionEnd": "2019-01-01T00:00:00.000Z",
"editionPubStatus": "DRAFT",
"editionSlotTitle": "Simple Slot",
"editionSlotId": "00112233445566778899aabb",
"editionSlotLocked": true,
"editionSlotLastModifiedDate": "2019-01-01T00:00:00.000Z",
"editionContentTitle": null,
"editionContentId": null,
"editionContentLocked": null,
"editionContentLastModifiedDate": null,
"editionContentMultiRoot": false,
"snapshotComments": "This is an example snapshot.",
"snapshotCreatedBy": "user",
"snapshotCreatedDate": "2019-01-01T00:00:00.000Z",
"snapshotId": "00112233445566778899aabb",
"usageCount": 1,
"snapshotLocale": "en-GB",
"contentTypeSchema": "http://deliver.bigcontent.io/schema/simple-slot-type.json",
"_links": {
"get-content": {
"href": "https://api.amplience.net/v2/content/editions/00112233445566778899aabb/slots/00112233445566778899aabb"
},
"update-content": {
"href": "https://api.amplience.net/v2/content/editions/00112233445566778899aabb/slots/00112233445566778899aabb/content{?lastModifiedDate,page,size,sort}",
"templated": true
}
}
},
{
"eventTitle": "Test",
"eventId": "00112233445566778899aabb",
"eventStart": "2019-01-01T00:00:00.000Z",
"eventEnd": "2019-01-01T00:00:00.000Z",
"editionTitle": "Test",
"editionId": "00112233445566778899aabb",
"editionStart": "2019-01-01T00:00:00.000Z",
"editionEnd": "2019-01-01T00:00:00.000Z",
"editionPubStatus": "DRAFT",
"editionSlotTitle": null,
"editionSlotId": null,
"editionSlotLocked": null,
"editionSlotLastModifiedDate": null,
"editionContentTitle": "Banner Ad Homepage",
"editionContentId": "00112233445566778899aabb",
"editionContentLocked": true,
"editionContentLastModifiedDate": "2019-01-01T00:00:00.000Z",
"editionContentMultiRoot": true,
"snapshotComments": "This is an example snapshot.",
"snapshotCreatedBy": "user",
"snapshotCreatedDate": "2019-01-01T00:00:00.000Z",
"snapshotId": "00112233445566778899aabb",
"usageCount": 1,
"snapshotLocale": "en-GB",
"contentTypeSchema": null,
"_links": {
"get-editionContent": {
"href": "https://api.amplience.net/v2/content/editions/00112233445566778899aabb/edition-contents/00112233445566778899aabb"
},
"update-editionContent": {
"href": "https://api.amplience.net/v2/content/editions/00112233445566778899aabb/edition-contents/00112233445566778899aabb/content{?lastModifiedDate,page,size,sort}",
"templated": true
}
}
}
],
"_links": {
"edition-slot-associations": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/edition-slot-associations"
},
"content-item-associations": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/associations"
}
}
}

Assigning a delivery key
Link copied!

PATCH /content-items/{contentItemId}/delivery-key

https://api.amplience.net/v2/content/content-items/{contentItemId}/delivery-key

Assign a delivery key to a content item or slot and replace any existing key. The delivery key must meet the validation rules and be unique within the hub.

The current version of the content item must be included in the request payload. If the version specified is not the current one, then a 400 error will be returned in the response.

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
deliveryKeystringDelivery key
versionnumberVersion
Request example
{
"deliveryKey": "promo-page/main-banner",
"version": 1
}

Responses

StatusDescription
200Assign Content Item Delivery Key response
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

List content item history
Link copied!

GET /content-items/{contentItemId}/history

https://api.amplience.net/v2/content/content-items/{contentItemId}/history

List Content Item History

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200List Content Item History response
Response Example (200)
{
"_embedded": {
"content-item-history": [
{
"summary": [
{
"action": {
"code": "UPDATED"
},
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"historyEventId": "00112233-4455-6677-8899-aabbccddeeff"
}
],
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"version": 1,
"_links": {
"content-item-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1"
},
"content-item-version-history": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history{?page,sort,size}"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/history?page=0&size=20"
},
"first": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/history?page=0&size=20"
},
"last": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/history?page=0&size=20"
}
},
"page": {
"size": 20,
"totalElements": 1,
"totalPages": 1,
"number": 0
}
}

Localize content item
Link copied!

POST /content-items/{contentItemId}/localize

https://api.amplience.net/v2/content/content-items/{contentItemId}/localize

Localize a Content Item. Creates new localized copies of the content item for each requested locale.

Locale prerequisite

The source content item must have a locale set before localization can be triggered. Use Assigning locales to Content Items (POST /content-items/{contentItemId}/locale) to set the source locale (for example en-GB) first. Calling this endpoint without a source locale set will fail.

This operation is asynchronous and returns a 202 Accepted response immediately. To poll the status of the localization job, follow the findByRootContentItem link in the response. This points to the Localization Jobs endpoint. The job status field will be IN_PROGRESS until complete.

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
localesarrayList of locales
versionintegerContent item version number
replicateFolderStructurebooleanWhen true, the new localized content items will be placed into the same folder as the origin content item. If localizing across repositories then the folder structure of the origin content item will be replicated in the destination repository for the new localized content items.
Request example
{
"locales": [
"fr-FR",
"de-DE"
],
"version": 1,
"replicateFolderStructure": true
}

Responses

StatusDescription
202Content Item
Response Example (202)
{
"status": "IN_PROGRESS",
"rootContentItem": {
"label": "l10n",
"locale": "en-GB",
"id": "00112233-4455-6677-8899-aabbccddeeff"
},
"requestedLocale": [
"fr-FR",
"de-DE"
],
"replicateFolderStructure": true,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"_links": {
"content-root": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"findByRootContentItem": {
"href": "https://api.amplience.net/v2/content/localization-jobs/search/findByRootContentItem?id=00112233-4455-6677-8899-aabbccddeeff{&page,size,sort}",
"templated": true
}
}
}

Finding content by epoch
Link copied!

GET /content-items/{contentItemId}/planned

https://api.amplience.net/v2/content/content-items/{contentItemId}/planned

Find content items that are candidates for being published at a point in time.

Parameters

NameInTypeRequiredDescription
epochquerynumberEpoch Time
Example: 1546300800
timequerynumberTime
Example: 2019-01-01T00:00:00.000Z

Responses

StatusDescription
200Finding Content by Epoch response
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Heading",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1"
},
"content-item-version-history": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history{?page,size,sort}",
"templated": true
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"content-item-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{/version}",
"templated": true
},
"content-item-versions": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{?page,size,sort}",
"templated": true
},
"content-repository": {
"href": "https://api.amplience.net/v2/content/content-repositories/00112233445566778899aabb"
},
"content-item-with-children": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item-with-parents": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithParents?id=00112233-4455-6677-8899-aabbccddeeff"
}
}
}

Publish content item
Link copied!

POST /content-items/{contentItemId}/publish

https://api.amplience.net/v2/content/content-items/{contentItemId}/publish

Publish a Content Item. Publishing is asynchronous. The response body is empty, but the Location response header contains the URL of the created Publishing Job. Poll that URL to track the job state through CREATEDPREPARINGWAITINGPUBLISHINGCOMPLETED (or FAILED). The job can be cancelled by sending PATCH to the same URL with {"state": "CANCELLED"}.

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

Responses

StatusDescription
204No Content. The Location response header contains the Publishing Job URL.
Response Headers (204)
Location: https://api.amplience.net/v2/content/publishing-jobs/68a83ba8f0c94d9ab9b515e01ec70d28

Follow the Location URL to retrieve and poll the Publishing Job. See Get a Publishing Job.

Restore content by content version number
Link copied!

PUT /content-items/{contentItemId}/restore

https://api.amplience.net/v2/content/content-items/{contentItemId}/restore

Restore Content by Content Version Number

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
versionnumberVersion
restoreVersionnumberRestore Version
Request example
{
"version": 2,
"restoreVersion": 1
}

Responses

StatusDescription
200List Content Item Versions
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Heading",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Unarchive content item
Link copied!

POST /content-items/{contentItemId}/unarchive

https://api.amplience.net/v2/content/content-items/{contentItemId}/unarchive

Unarchive a Content Item

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
versionintegerVersion to unarchive
Request example
{
"version": 1
}

Responses

StatusDescription
200Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Unpublish content item
Link copied!

POST /content-items/{contentItemId}/unpublish

https://api.amplience.net/v2/content/content-items/{contentItemId}/unpublish

Unpublish a Content Item

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

Responses

StatusDescription
202Accepted

List content item versions
Link copied!

GET /content-items/{contentItemId}/versions

https://api.amplience.net/v2/content/content-items/{contentItemId}/versions

List Content Item Versions

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200List Content Item Versions
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Main-Banner",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"deliveryKey": "promo-page/main-banner"
}
},
"heading": "Main-Banner",
"link": "http://anyafinn.com/buymore?campaign=shouting"
}
],
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff"
},
"_links": {
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1"
},
"content-item-version-history": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history{?page,size,sort}",
"templated": true
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"content-item-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{/version}",
"templated": true
},
"content-item-versions": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{?page,size,sort}",
"templated": true
},
"content-repository": {
"href": "https://api.amplience.net/v2/content/content-repositories/00112233445566778899aabb"
},
"content-item-with-children": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item-with-parents": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithParents?id=00112233-4455-6677-8899-aabbccddeeff"
}
}
}

Finding content by content version number
Link copied!

GET /content-items/{contentItemId}/versions/{version}

https://api.amplience.net/v2/content/content-items/{contentItemId}/versions/{version}

Finding Content by Content Version Number

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff
versionquerynumberVersion
Example: 1

Responses

StatusDescription
200List Content Item Versions
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Heading",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1"
},
"content-item-version-history": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history{?page,size,sort}",
"templated": true
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"content-item-version": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{/version}",
"templated": true
},
"content-item-versions": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions{?page,size,sort}",
"templated": true
},
"content-repository": {
"href": "https://api.amplience.net/v2/content/content-repositories/00112233445566778899aabb"
},
"content-item-with-children": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item-with-parents": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithParents?id=00112233-4455-6677-8899-aabbccddeeff"
}
}
}

List content item history for a version
Link copied!

GET /content-items/{contentItemId}/versions/{version}/history

https://api.amplience.net/v2/content/content-items/{contentItemId}/versions/{version}/history

List Content Item History for a Version

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff
versionpathstringVersion
Example: 1

Responses

StatusDescription
200List Content Item History for a Version response
Response Example (200)
{
"_embedded": {
"content-item-version-history": [
{
"historyEventId": "00112233-4455-6677-8899-aabbccddeeff",
"contentItemId": "00112233445566778899aabb",
"version": 1,
"createdDate": "2019-01-01T00:00:00.000Z",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"action": {
"code": "CREATED"
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history?page=0&size=20"
},
"first": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history?page=0&size=20"
},
"last": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/versions/1/history?page=0&size=20"
}
},
"page": {
"size": 20,
"totalElements": 1,
"totalPages": 1,
"number": 0
}
}

Assigning a workflow state
Link copied!

PATCH /content-items/{contentItemId}/workflow

https://api.amplience.net/v2/content/content-items/{contentItemId}/workflow

Assign or unassign a Workflow State on a Content Item. To unassign the current workflow state, omit the state field or set it to null.

Parameters

NameInTypeRequiredDescription
contentItemIdpathstringContent Item ID
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
versionintegerCurrent version of the content item
statestringWorkflow State ID. Omit or set to null to remove the current workflow state.
Request example
{
"version": 1,
"state": "00112233445566778899aabb"
}

Responses

StatusDescription
200Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Getting linked child content items
Link copied!

GET /content-items/search/findByIdWithChildren

https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren

Get Linked Child Content Items

Parameters

NameInTypeRequiredDescription
idquerystringId
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200Get Linked Child Content Items response
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/linked-content-validation/nestable.json",
"deliveryKey": "promo-page/main-banner"
},
"nested": {
"_meta": {
"schema": "http://bigcontent.io/cms/schema/v1/core#/definitions/content-link"
},
"contentType": "http://deliver.bigcontent.io/schema/linked-content-validation/nestable.json",
"id": "00112233-4455-6677-8899-aabbccddeeff"
}
},
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithChildren?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 22 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Getting linked parent content items
Link copied!

GET /content-items/search/findByIdWithParents

https://api.amplience.net/v2/content/content-items/search/findByIdWithParents

Get Linked Parent Content Items

Parameters

NameInTypeRequiredDescription
idquerystringId
Example: 00112233-4455-6677-8899-aabbccddeeff

Responses

StatusDescription
200Get Linked Parent Content Items response
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "Name",
"schema": "http://deliver.bigcontent.io/schema/linked-content-validation/nestable.json",
"deliveryKey": "promo-page/main-banner"
},
"nested": {
"_meta": {
"schema": "http://bigcontent.io/cms/schema/v1/core#/definitions/content-link"
},
"contentType": "http://deliver.bigcontent.io/schema/linked-content-validation/nestable.json",
"id": "00112233-4455-6677-8899-aabbccddeeff"
}
},
"version": 1,
"label": "Label",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/search/findByIdWithParents?id=00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 22 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

List content items
Link copied!

GET /content-repositories/{contentRepositoryId}/content-items

https://api.amplience.net/v2/content/content-repositories/{contentRepositoryId}/content-items

This lists all of the Content Items within this Content Repository

Parameters

NameInTypeRequiredDescription
contentRepositoryIdpathstringContent Repository ID
Example: 00112233445566778899aabb
projectionquerystring (projection)"basic" - omits the body property from the return Content Items
Example: basic
pagequeryintegerPage number
Example: 0
folderIdquerystringFolder ID
Example: 00112233445566778899aabb
statusquerystringStatus
excludeHierarchicalChildrenquerybooleanExclude hierarchical child items
Example: True
sizequeryintegerPage size
Example: 20
sortquerystringSort paramter
Example: createdDate,asc

Responses

StatusDescription
200Content Repository
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-type/00112233-4455-6677-8899-aabbccddeeff?page=0&size=20"
},
"first": {
"href": "https://api.amplience.net/v2/content/content-type/00112233-4455-6677-8899-aabbccddeeff?page=0&size=20"
},
"last": {
"href": "https://api.amplience.net/v2/content/content-type/00112233-4455-6677-8899-aabbccddeeff?page=0&size=20"
},
"search": {
"href": "https://api.amplience.net/v2/content/content-type/00112233-4455-6677-8899-aabbccddeeff/search"
}
},
"page": {
"size": 20,
"totalElements": 1,
"totalPages": 1,
"number": 0
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Create content item
Link copied!

POST /content-repositories/{contentRepositoryId}/content-items

https://api.amplience.net/v2/content/content-repositories/{contentRepositoryId}/content-items

Create a Content Item. Please note that deliveryKey can only be set when Content Delivery v2 is enabled. Copying a content item will not copy the deliveryKey.

Parameters

NameInTypeRequiredDescription
contentRepositoryIdpathstringContent Repository ID
Example: 00112233445566778899aabb
ignoreSchemaValidationquerybooleanWhen true, the content item body is not validated against the content type schema. Use with caution. Invalid content may cause delivery errors.

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
bodyobject
labelstringLabel
folderIdstringFolder ID
assigneesarrayAssignees
localestringLocale
workflowobject
Request example: Create content item
{
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"locale": "en",
"assignees": [
"a79f0b27-5934-4154-9cda-36399e011c68",
"cbda3aa3-ebc4-4bb1-84a5-d9b31990c703"
]
}
Request example: Slot content item
{
"body": {
"_meta": {
"name": "simple-slot",
"schema": "http://example.com/simple-slot-type.json"
}
},
"label": "Simple Slot"
}

Responses

StatusDescription
201Created Content Item
Response example (201): Create content item
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"version": 1,
"label": "Banner Ad Homepage",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"assignee": "00112233-4455-6677-8899-aabbccddeeff",
"assignedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 21 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Copy content item
Link copied!

POST /content-repositories/{contentRepositoryId}/content-items/{sourceContentItemId}

https://api.amplience.net/v2/content/content-repositories/{contentRepositoryId}/content-items/{sourceContentItemId}

Copy a Content Item. Please note that deliveryKey can only be set when Content Delivery v2 is enabled. Copying a content item will not copy the deliveryKey.

Parameters

NameInTypeRequiredDescription
contentRepositoryIdpathstringContent Repository ID
Example: 00112233445566778899aabb
sourceContentItemIdpathstringSource Content Item ID (used to copy an existing Content Item)
Example: 00112233-4455-6677-8899-aabbccddeeff

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
bodyobject
labelstringLabel
folderIdstringFolder ID
assigneesarrayAssignees
localestringLocale
workflowobject
Request example: Copy content item
{
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"locale": "en"
}

Responses

StatusDescription
201Created Content Item
Response example (201): Copy content item
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"version": 1,
"label": "Banner Ad Homepage",
"status": "ACTIVE",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 21 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Faceting content items with search by text
Link copied!

POST /hubs/{hubId}/content-items/facet

https://api.amplience.net/v2/content/hubs/{hubId}/content-items/facet

Facet content items and search by text. See Text Search Query Syntax for a summary of the query syntax.

Parameters

NameInTypeRequiredDescription
hubIdpathstringHub ID
Example: 00112233445566778899aabb
sortquerystringSort
Example: createdDate
createdDate.dirquerystring (asc, desc)Direction of sort
Example: desc

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
fieldsarrayArray of facet field definitions. Each entry defines one facet dimension. See field schema below.
returnEntitiesbooleanWhen true, matching content items are included in the response alongside facet counts.

Facet field schema

Each object in the fields array supports the following properties:

PropertyTypeRequiredDescription
facetAsstringFacet type. ENUM groups results by distinct values; DATE groups by date ranges.
fieldstringThe content item field to facet on. Common values: schema, assignees, workflow.state, publishingStatus, locale, lastModifiedDate, createdDate.
userFacingNamestringDisplay name for the facet
filterobjectFor ENUM facets: pre-filters results to items matching this value.
filter.typestringFilter operator. EQ matches a single value; IN matches any value in an array.
filter.valuesstring or arrayThe value(s) to filter by. Use an array with IN.
rangeobjectFor DATE facets: defines the date range
range.startstringRange start. ISO 8601 date, or a relative expression such as NOW, -7:DAYS, -30:DAYS, -60:DAYS.
range.endstringRange end. Same format as range.start.
Request example
{
"fields": [
{
"facetAs": "ENUM",
"filter": {
"type": "EQ",
"values": [
"http://deliver.bigcontent.io/schema/nested/nested-type.json"
]
},
"field": "schema",
"userFacingName": "Schema"
}
],
"returnEntities": true
}

Responses

StatusDescription
200Content Item Facet response
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"version": 1,
"status": "ACTIVE",
"label": "Label",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/..."
}
},
"page": {
"size": 20,
"totalElements": 1,
"totalPages": 1,
"number": 0
},
"_facets": {
"schema": [
{
"_id": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"count": 1
}
]
}
}

Filtering content items by collection keys
Link copied!

POST /hubs/{hubId}/content-items/filter

https://api.amplience.net/v2/content/hubs/{hubId}/content-items/filter

Filter content items using Collection Keys.

Parameters

NameInTypeRequiredDescription
hubIdpathstringHub ID
Example: 00112233445566778899aabb

Request Body

Content-Type: application/json

FieldTypeRequiredDescription
collectionKeystringcollectionKey
hubName:
527c95fd10c77e96b5164633b445271ffc0392031b6c99448cbaec579767b76b
sortByobject
pageobject
Request example
{
"collectionKey": "hubName:527c95fd10c77e96b5164633b445271ffc0392031b6c99448cbaec579767b76b",
"sortBy": {
"order": "asc"
},
"page": {
"cursor": "SSBhbSBhIGhhdGNoZWQtZWFzdGVyLWVnZy4gUGxlYXNlIGRvbid0IGRlY29kZSBtZS4="
}
}

Responses

StatusDescription
200Content Item filter response
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
]
},
"page": {
"cursor": "SSBhbSBhIGhhdGNoZWQtZWFzdGVyLWVnZy4gUGxlYXNlIGRvbid0IGRlY29kZSBtZS4=",
"count": 1
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/hubs/00112233-4455-6677-8899-aabbccddeeff/content-items/filter"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.

Search content items by text
Link copied!

GET /hubs/{hubId}/content-items/find

https://api.amplience.net/v2/content/hubs/{hubId}/content-items/find

Text is the default search field. See Text Search Query Syntax for a summary of the query syntax.

Parameters

NameInTypeRequiredDescription
hubIdpathstringHub ID
Example: 00112233445566778899aabb
queryquerystringQuery
Example: uniondusk

Responses

StatusDescription
200Search Content Items by Text response
Response Example (200)
{
"_embedded": {
"content-items": [
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"folderId": "00112233445566778899aabb",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"schema": "http://deliver.bigcontent.io/schema/nested/nested-type.json",
"version": 1,
"status": "ACTIVE",
"label": "Label",
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"_links": {
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
}
}
}
]
},
"_links": {
"self": {
"href": "https://api.amplience.net/..."
}
},
"page": {
"size": 20,
"totalElements": 1,
"totalPages": 1,
"number": 0
}
}

Finding content items by delivery keys
Link copied!

GET /hubs/{hubId}/delivery-keys/content-item

https://api.amplience.net/v2/content/hubs/{hubId}/delivery-keys/content-item

Find content items using the Delivery Key.

Parameters

NameInTypeRequiredDescription
hubIdpathstringHub ID
Example: 00112233445566778899aabb
keyquerystringThe delivery key
Example: promo-page/main-banner

Responses

StatusDescription
200Content Item
Response Example (200)
{
"id": "00112233-4455-6677-8899-aabbccddeeff",
"contentRepositoryId": "00112233445566778899aabb",
"body": {
"_meta": {
"name": "main-banner",
"schema": "http://example.com/banner.json",
"deliveryKey": "promo-page/main-banner"
},
"heading": "Buy more stuff!!",
"link": "http://anyafinn.com/buymore?campaign=shouting"
},
"label": "Banner Ad Homepage",
"folderId": "00112233445566778899aabb",
"assignees": [
"00112233445566778899aabb"
],
"assignedDate": "2019-01-01T00:00:00.000Z",
"locale": "en-GB",
"version": 1,
"createdBy": "00112233-4455-6677-8899-aabbccddeeff",
"createdDate": "2019-01-01T00:00:00.000Z",
"lastModifiedBy": "00112233-4455-6677-8899-aabbccddeeff",
"lastModifiedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedDate": "2019-01-01T00:00:00.000Z",
"lastPublishedVersion": 1,
"lastUnpublishedDate": "2019-01-01T00:00:00.000Z",
"lastUnpublishedVersion": 1,
"publishingStatus": "NONE",
"deliveryId": "00112233-4455-6677-8899-aabbccddeeff",
"workflow": {
"state": "00112233445566778899aabb"
},
"_links": {
"self": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff"
},
"content-item": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff{?projection}",
"templated": true
},
"planned": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/planned{?epoch,time}",
"templated": true
},
"publish": {
"href": "https://api.amplience.net/v2/content/content-items/00112233-4455-6677-8899-aabbccddeeff/publish"
}
}
}
Abbreviated response

The _links object in this example is truncated for readability: it shows 4 of the 24 links the API actually returns. Every content item response includes the full standard set. See Content item response links for the complete list.