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, enterprisesearch, sitesearch, allocator, constructor, runner, proxy].

Responses

edit
200

(CommentsWithMetas) The Comments

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

Request example

edit
curl -XGET {{hostname}}/api/v1/comments/{resource_type}/{resource_id} \
-u $CLOUD_USER:$CLOUD_KEY