Create a Comment
Creates a comment for the given Resource.
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.
Responses
-
The Comment that was just created.
-
Your current session does not have a user id associated with it. (code:
comments.no_user_id
) -
No Resource of the given type and id exist. (code:
comments.resource_does_not_exist
) -
A Comment already exists with the generated id. Please try again. (code:
comments.id_already_exists
)
POST
/comments/{resource_type}/{resource_id}
curl \
--request POST 'https://{{hostname}}/api/v1/comments/{resource_type}/{resource_id}' \
--user "username:password" \
--header "Content-Type: application/json" \
--data '{"message":"string"}'