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

Describes the client ID or msp ID of the tenant

articleId
string

Specifies the unique article identifier

Responses

OK

[
  {
    "attachments": [
      {
        "contentURL": "https://api.opsramp.com/api/v2/tenants/client_11/kb/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"
    }
  },
  {
    "comment": "Test Update",
    "createdTime": "2019-05-16T08:06:21+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "OpsRamp API User",
      "id": "USR0000000002",
      "lastName": " ",
      "loginName": "opsramp_api_user"
    }
  },
  {
    "comment": "Comment from SP",
    "createdTime": "2019-05-07T09:44:19+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "OpsRamp",
      "id": "USR0000000003",
      "lastName": "Admin",
      "loginName": "superadmin",
      "phoneNumber": ""
    }
  },
  {
    "comment": "Test",
    "createdTime": "2019-05-07T08:58:11+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "Client",
      "id": "USR0000000009",
      "lastName": "User",
      "loginName": "Client_User",
      "phoneNumber": ""
    }
  },
  {
    "comment": "Test",
    "createdTime": "2019-05-07T08:57:39+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "CLient",
      "id": "USR0000000011",
      "lastName": "User2",
      "loginName": "Client_User_2",
      "phoneNumber": ""
    }
  },
  {
    "comment": "Test Update",
    "createdTime": "2019-05-07T08:54:31+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "OpsRamp API User",
      "id": "USR0000000002",
      "lastName": " ",
      "loginName": "opsramp_api_user"
    }
  },
  {
    "comment": "Test Update",
    "createdTime": "2019-05-07T08:53:44+0000",
    "createdUser": {
      "email": "john@opsramp.com",
      "firstName": "OpsRamp API User",
      "id": "USR0000000002",
      "lastName": " ",
      "loginName": "opsramp_api_user"
    }
  }
]