Endpoint
/api/v2/tenants/{tenantId}/kb/article/{articleId}/comment
Path Parameters
tenantId
string

articleId
string

attachments
array

(Optional) Defines the attachment of an article.

attachments.contentURL
attachments.createdBy
attachments.createdDate
attachments.id
attachments.name
comment
string

Defines the comment to be updated in the article.

{
  "attachments": [
    {
      "file": "U2FtcGxlIFRleHQgZmlsZS0gdGVzdGluZyB3aXRoIGF0dGFjaG1lbnQ=",
      "name": "queries.txt"
    }
  ],
  "comment": "Test Update"
}

Responses

OK

attachments
array

attachments.contentURL
attachments.createdBy
attachments.createdDate
attachments.id
attachments.name
comment
string

createdTime
string

createdUser
object

createdUser.email
createdUser.firstName
createdUser.id
createdUser.lastName
createdUser.loginName
createdUser.mobileNumber
createdUser.phoneNumber
{
  "attachments": [
    {
      "contentURL": "https://api.opsramp.com/api/v2/tenants/client_11/article/KB0000000031/comments/45/resources/24",
      "createdBy": {
        "email": "john@opsramp.com",
        "firstName": "OpsRamp API User",
        "id": "USR0000000002",
        "lastName": " ",
        "loginName": "opsramp_api_user"
      },
      "createdDate": "2019-05-16T08:07:43+0000",
      "id": 24,
      "name": "queries.txt"
    }
  ],
  "comment": "Test Update",
  "createdTime": "2019-05-16T08:07:43+0000",
  "createdUser": {
    "email": "john@opsramp.com",
    "firstName": "OpsRamp API User",
    "id": "USR0000000002",
    "lastName": " ",
    "loginName": "opsramp_api_user"
  }
}