Endpoint
/api/v2/tenants/{tenantId}/alerts/{alertId}/comments
Path Parameters
tenantId
string

alertId
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.commentType
results.createdBy
results.createdDate
results.cumulativeAlertId
results.description
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": false,
  "orderBy": "created_date",
  "pageNo": 1,
  "pageSize": 2,
  "previousPageNo": 0,
  "results": [
    {
      "commentType": 5,
      "createdBy": {
        "email": "john.smith@gmail.com",
        "firstName": "John",
        "lastName": "Smith",
        "loginName": "John.Smith",
        "phoneNumber": "406-625-2345",
        "profileImage": {
          "imageType": "image/jpeg",
          "logoPath": "https://yourdomain.com/images/users/1/profileImages/1.jpg?1469269179000",
          "thumbPath": "https://yourdomain.com/images/users/1/profileImages/thumb-1.jpg?1469269180000",
          "tinyThumbPath": "https://yourdomain.com/images/users/1/profileImages/tiny-thumb-1.jpg?1469269180000"
        }
      },
      "createdDate": "2016-10-25T08:15:45+0000",
      "cumulativeAlertId": 289,
      "description": "Partition  : / Total  : 17133.81MB Used  : 11390.87MB Free  : 4872.59MB"
    },
    {
      "commentType": 5,
      "createdBy": {
        "email": "john.smith@gmail.com",
        "firstName": "John",
        "lastName": "Smith",
        "loginName": "John.Smith",
        "phoneNumber": "406-625-1234",
        "profileImage": {
          "imageType": "image/jpeg",
          "logoPath": "https://yourdomain.com/images/users/1/profileImages/1.jpg?1469269179000",
          "thumbPath": "https://yourdomain.com/images/users/1/profileImages/thumb-1.jpg?1469269180000",
          "tinyThumbPath": "https://yourdomain.com/images/users/1/profileImages/tiny-thumb-1.jpg?1469269180000"
        }
      },
      "createdDate": "2016-10-25T10:48:42+0000",
      "cumulativeAlertId": 289,
      "description": "Partition  : / Total  : 17133.81MB"
    }
  ],
  "totalPages": 1,
  "totalResults": 2
}