List Comments
Retrieves all the comments for a given Resource, in reverse modified time order.
Path parameters
-
The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, integrations_server, allocator, constructor, runner, proxy].
-
Id of the Resource that a Comment belongs to.
GET /comments/{resource_type}/{resource_id}
curl \
-X GET https://{{hostname}}/api/v1/comments/{resource_type}/{resource_id}
Response examples (200)
{
"values": [
{
"comment": {
"id": "string",
"user_id": "string",
"message": "string"
},
"metadata": {
"created_time": "2024-05-04T09:42:00+00:00",
"modified_time": "2024-05-04T09:42:00+00:00",
"version": "string"
}
}
]
}