This server event occurs when a CONTENT_PUBLISHER
, KHUB_ADMIN
, or ADMIN
user uploads a ZIP archive to the Knowledge Hub for processing.
This event contains the following fields:
Field | Description |
---|---|
uploadId |
The identifier of the upload leading to the processing of the document. |
processType |
The type of job. Possible values are PUBLISH , DELETE , UPDATE_METADATA , REPROCESS_METADATA , and UPDATE_ATTACHMENTS . |
processStatus |
The status of the job. Possible values are OK , FAILED , and WARNING . |
document |
An object containing information about the document. |
id |
The document's identifier. |
title |
The document's title. |
type |
The document's type. Possible values are STRUCTURED_DOCUMENT , UNSTRUCTURED_DOCUMENT , RESOURCE , and MAP_ATTACHMENT . |
processSource |
An object containing information about the source. |
id |
The source's identifier. |
name |
The source's name. |
type |
The source's type. |
A table for the most common fields is in Analytics events.
Example:
[
{
"document": {
"id": "RHhnH6QWJ0OrQQQueJU~LQ",
"title": "Author-it Documents Are Duplicated",
"type": "STRUCTURED_DOCUMENT",
"metadata": []
},
"processSource": {
"id": "md_docxs",
"name": "Markdown DocXS",
"type": "Markdown"
},
"processStatus": "OK",
"processType": "PUBLISH",
"uploadId": "de9282b1-efcf-4639-8825-8cd9b309452c"
}
]