Initiate a content management job
Starts a content management job that creates, updates, or deletes entities in Mindtickle Content Center.
Prerequisites
- Authentication and setup: A valid access token.
- Create an integration: The integration ID and root folder ID the job runs against.
- Get an upload URL: The upload key of each file the job syncs.
Endpoint
Section titled “Endpoint”POST /services/data/v1.0/content/managementBase URL: the standard REST host for your region. See Base URLs.
Headers: Authorization: Bearer ACCESS_TOKEN, Content-Type: application/json.
Request
Section titled “Request”| Parameter | Type | Required | Description |
|---|---|---|---|
request_meta |
object | Required | Identifies the integration the job runs against. See RequestMeta object. |
request_meta.integration_id |
string | Required | ID of the integration created earlier. |
request_meta.root_folder_id |
string | Required | ID of the root folder created in Content Center. |
entities |
array | Required | The files or folders to manage. See Entity object reference. |
The example below is for UPSERT. Before submitting a DELETE job, confirm its required fields with Mindtickle Support, including whether to include upload_key and metadata.
Request example
Section titled “Request example”{ "request_meta": { "integration_id": "AEM Content-789012", "root_folder_id": "123456" }, "entities": [ { "id": "doc-001", "operation": "UPSERT", "upload_key": "1234/56789_example.pdf", "parent_folder_id": "folder-123456", "metadata": { "file_name": "example.pdf", "source_path": "https://source-system.example.com/brochures/Q1-2025.pdf", "additional_properties": { "size": 1024000, "created_at": "2023-05-15T10:30:00Z", "author": "John Smith" } } } ]}Response
Section titled “Response”| Field | Type | Description |
|---|---|---|
execution_id |
string | Unique identifier used to track the content management job. |
created_at |
string | Time the job was created. |
entities |
object | The entities in the job, keyed by the id sent in the request. |
entities.ENTITY_ID.external_id |
string | External identifier for the entity. |
entities.ENTITY_ID.file_id |
string | Internal file identifier. |
Response example
Section titled “Response example”{ "execution_id": "12345678-1234-4123-8123-123456789101_1709278427", "created_at": "2025-03-11T12:00:00Z", "entities": { "doc-001": { "external_id": "brochure-2025-Q1", "file_id": "file-123456" } }}- Async processing: The job runs asynchronously, and the response returns an
execution_idyou use to track it. - Operations:
UPSERTcreates the file if it does not exist and updates it if it does.DELETEdeletes a file. - Batching: You can include multiple operations in a single sync job. See Usage examples.
Check status
Section titled “Check status”Track the job with its execution_id. See Check content management job status.
GET /services/data/v1.0/content/management/{execution_id}