List Comments

edit

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

Request

edit

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

Path parameters

edit
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, integrations_server, allocator, constructor, runner, proxy].

Responses

edit
200

(CommentsWithMetas)

The Comments

Request example

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