This route retrieves all existing comments based on the selected site IDs. It ensures that only comments from sites the user has access to are returned.
Send a GET request to /comments to view all comments.
The request will fail if the user does not have the appropriate permissions to read comments from the selected site IDs.
Only authenticated users with proper site-level permissions can access the list of comments.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Session token used for authenticating the request.
"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiIxMjM0NTY3ODkwIiwic2Vzc2lvbklkIjoiYWJjZGVmMTIzNDU2IiwiaWF0IjoxNjA1MDk3ODk5LCJleHAiOjE2MDUxODQyOTl9.4XRQ1iXDyvEj5LgPZHbmTmzOZs98M3YPOzgf3MhxjaI"
Content type, must be "application/json".
application/json List of site IDs.
"['1', '2']"
Extend options:
actions-info Filter by anomaly id
1
Filter by profile id
1
Filter by createdAt
{
"start": "2021-01-01T00:00:00.000Z",
"end": "2021-12-31T23:59:59.999Z"
}Include total count in response.
true
Page number.
1
Page size.
50
Get the page where the item with this id is located.
1
Sub page size for grouping items.
10