A newer version is available. For the latest information, see the
current release documentation.
List Comments
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
List Comments
editRetrieves all the comments for a given Resource, in reverse modified time order.
Request
editGET /api/v1/comments/{resource_type}/{resource_id}
Path parameters
edit| Name | Type | Required | Description |
|---|---|---|---|
|
|
Y |
Id of the Resource that a Comment belongs to. |
|
|
Y |
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]. |
Responses
edit-
200 -
The Comments
Request example
editcurl -XGET https://{{hostname}}/api/v1/comments/{resource_type}/{resource_id} \
-H "Authorization: ApiKey $ECE_API_KEY"