Content sync
Base URL: https://api.amplience.net/v2/content
Authorization and status codes
For authorization and status codes see the API Reference overview.
JobsLink copied!
| Method | Endpoint | Summary |
|---|---|---|
POST | /hubs/{hubId}/deep-sync-job | Create deep sync job |
POST | /hubs/{hubId}/jobs | List job |
GET | /hubs/{hubId}/jobs/{jobId} | Get job |
Create deep sync jobLink copied!
POST /hubs/{hubId}/deep-sync-job
https://api.amplience.net/v2/content/hubs/{hubId}/deep-sync-job
create new deep sync job
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hubId | path | string | ✓ | Hub ID Example: 00112233445566778899aabb |
Request Body
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
label | string | Job label | |
ignoreSchemaValidation | boolean | Ignore schema validation | |
destinationHubId | string | Hub ID | |
input | object | job request input data |
Request example
Responses
| Status | Description |
|---|---|
| 200 | List Job response |
Response Example (200)
List jobLink copied!
POST /hubs/{hubId}/jobs
https://api.amplience.net/v2/content/hubs/{hubId}/jobs
retrieve jobs
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hubId | path | string | ✓ | Hub ID Example: 00112233445566778899aabb |
Request Body
Content-Type: application/json
| Field | Type | Required | Description |
|---|---|---|---|
user | string | User Id | |
limitDateRange | boolean | Limit the listed jobs to the last 30 days | |
status | string (CREATED, IN_PROGRESS, FAILED, COMPLETED) | Status of Job | |
jobType | string (DEEP_SYNC_JOB) | Status of Job |
Request example
Responses
| Status | Description |
|---|---|
| 200 | List Job response |
Response Example (200)
Get jobLink copied!
GET /hubs/{hubId}/jobs/{jobId}
https://api.amplience.net/v2/content/hubs/{hubId}/jobs/{jobId}
retrieve job
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hubId | path | string | ✓ | Hub ID Example: 00112233445566778899aabb |
jobId | path | string | ✓ | Job Id Example: 00112233445566778899aabb |
Responses
| Status | Description |
|---|---|
| 200 | Job response |
Response Example (200)
BalancesLink copied!
| Method | Endpoint | Summary |
|---|---|---|
GET | /hubs/{hubId}/balances | Get balances |
Get balancesLink copied!
GET /hubs/{hubId}/balances
https://api.amplience.net/v2/content/hubs/{hubId}/balances
retrieve balances
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hubId | path | string | ✓ | Hub ID Example: 00112233445566778899aabb |
Responses
| Status | Description |
|---|---|
| 200 | Balances Response |
Response Example (200)
Content repository mappingLink copied!
| Method | Endpoint | Summary |
|---|---|---|
GET | /hubs/{hubid}/linked-content-repositories | List linked content repositories |
List linked content repositoriesLink copied!
GET /hubs/{hubid}/linked-content-repositories
https://api.amplience.net/v2/content/hubs/{hubid}/linked-content-repositories
List the mapping relationships between two Hubs
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
hubId | path | string | ✓ | Hub ID Example: 00112233445566778899aabb |
Responses
| Status | Description |
|---|---|
| 200 | List Linked Content Repository |