URL
knowledge-base-article-activity-log-get.md
GET https://{api-url}/api/v2/tenants/{tenantId}/kb/{articleId}/activitylog
Sample URLs
https://{api-url}/api/v2/tenants/client_11/kb/article/KB0000000036/activityLog?pageNo=1&pageSize=20
Status code
200 OK
Sample response
{
"results": [
{
"operation": "UPDATE",
"message": "Updated <b>content</b>Updated <b>subject</b> of article",
"updateTIme": "2019-05-10T06:01:24+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> bustkt.pdf</div><div><i class='icon-file'></i> bustkt.pdf</div><div><i class='icon-file'></i> queries.txt</div></div>",
"updateTIme": "2019-05-10T06:01:24+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> bustkt.pdf</div><div><i class='icon-file'></i> bustkt.pdf</div></div>",
"updateTIme": "2019-05-10T05:53:36+0000",
"updatedBy": {
"id": "USR0000000003",
"loginName": "superadmin",
"lastName": "Admin",
"firstName": "OpsRamp",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> bustkt.pdf</div></div>",
"updateTIme": "2019-05-10T05:53:17+0000",
"updatedBy": {
"id": "USR0000000003",
"loginName": "superadmin",
"lastName": "Admin",
"firstName": "OpsRamp",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div></div><div><strong>Removed file(s):</strong><div><i class='icon-file'></i> 3.txt</div><div><i class='icon-file'></i> 3.txt</div><div><i class='icon-file'></i> 3.txt</div></div>",
"updateTIme": "2019-05-10T05:53:02+0000",
"updatedBy": {
"id": "USR0000000003",
"loginName": "superadmin",
"lastName": "Admin",
"firstName": "OpsRamp",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> 3.txt</div><div><i class='icon-file'></i> 3.txt</div><div><i class='icon-file'></i> 3.txt</div></div>",
"updateTIme": "2019-05-10T05:52:27+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "UPDATE",
"message": "Updated <b>expiryDate</b> of article",
"updateTIme": "2019-05-10T05:52:00+0000",
"updatedBy": {
"id": "USR0000000003",
"loginName": "superadmin",
"lastName": "Admin",
"firstName": "OpsRamp",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> 3.txt</div><div><i class='icon-file'></i> 3.txt</div></div>",
"updateTIme": "2019-05-10T05:51:08+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "ATTACH",
"message": "<div><strong>Attached file(s) to article:</strong><div><i class='icon-file'></i> 2.txt</div><div><i class='icon-file'></i> 1.txt</div><div><i class='icon-file'></i> 3.txt</div></div>",
"updateTIme": "2019-05-10T05:41:38+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "UPDATE",
"message": "Updated <b>content</b> of article",
"updateTIme": "2019-05-08T12:19:45+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "COMMENT",
"message": "Commented on the article and comment is <b><div class="ActivityLogDetails"> <p class="AttributeName" > Queries Please</p> </div></b>",
"updateTIme": "2019-05-08T12:05:58+0000",
"updatedBy": {
"id": "USR0000000009",
"loginName": "Client_User",
"lastName": "User",
"firstName": "Client",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "UPDATE",
"message": "Updated <b>content</b>Updated <b>subject</b>Updated <b>expiryDate</b> of article",
"updateTIme": "2019-05-08T12:03:01+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "UPDATE",
"message": "Updated <b>expiryDate</b> of article",
"updateTIme": "2019-05-08T11:23:20+0000",
"updatedBy": {
"id": "USR0000000009",
"loginName": "Client_User",
"lastName": "User",
"firstName": "Client",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "UPDATE",
"message": "Added <b>Related Articles</b><br />Related articles are <br /><div class="ActivityLogDetails"><p class="AttributeName" ><b>All Data</div>",
"updateTIme": "2019-05-08T11:23:20+0000",
"updatedBy": {
"id": "USR0000000009",
"loginName": "Client_User",
"lastName": "User",
"firstName": "Client",
"email": "dev@opsramp.com",
"phoneNumber": ""
}
},
{
"operation": "UPDATE",
"message": "Added <b>uniqueId</b>\n of article",
"updateTIme": "2019-05-08T10:55:37+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
},
{
"operation": "CREATE",
"message": "Created the Article in category <b>Cassandra</b>.",
"updateTIme": "2019-05-08T10:55:27+0000",
"updatedBy": {
"id": "USR0000000002",
"loginName": "opsramp_api_user",
"lastName": " ",
"firstName": "OpsRamp API User",
"email": "dev@opsramp.com"
}
}
],
"totalResults": 16,
"orderBy": "",
"pageNo": 1,
"pageSize": 20,
"totalPages": 1,
"nextPage": false,
"previousPageNo": 0,
"descendingOrder": true
}