List Comments

Retrieves all the comments for a given Resource, in reverse modified time order.

Request

GET /api/v1/comments/{resource_type}/{resource_id}

Path parameters

Name Type Required Description

resource_id

string

Y

Id of the Resource that a Comment belongs to.

resource_type

string

Y

The kind of Resource that a Comment belongs to. Should be one of [elasticsearch, kibana, apm, appsearch, enterprise_search, allocator, constructor, runner, proxy].

Responses

200

(CommentsWithMetas) The Comments

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

curl -XGET https://{{hostname}}/api/v1/comments/{resource_type}/{resource_id} \
-H "Authorization: ApiKey $ECE_API_KEY"