Content Import

Get validation hook version details

GET
/knowledge/contentmgr/v4/import/config/hooks/{hookID}/version/{versionID}

Get details and content URL for a specific version of a hook.

Authorization

accessToken
AuthorizationBearer <token>

JWT Bearer Token authentication for API access

In: header

Path Parameters

hookID*integer

Integer ID of the Hook resource.

Range1 <= value <= 9999999999
versionID*integer

The sequential version number of the hook (e.g., 1, 2, 3).

Range1 <= value <= 9999999999

Response Body

application/json

application/json

curl -X GET "https://example.com/knowledge/contentmgr/v4/import/config/hooks/1/version/1"
{  "fileID": "1a2b3c4d-5717-4562-b3fc-2c963f66afa6",  "createdDate": "2024-03-15T10:30:00.000Z",  "createdBy": {    "id": "500",    "userName": "jdoe",    "firstName": "John",    "lastName": "Doe"  },  "version": {    "versionID": 1,    "isCurrent": false  },  "file": {    "name": "check_dept_tags.js",    "content": "ZnVuY3Rpb24gb2xkLi4u",    "contentUrl": "https://api.egain.cloud/knowledge/contentmgr/v4/import/config/hooks/10050/version/1"  }}