Problems API - GET a comment

Gets the specified comment on a problem.

The request produces an application/json payload.

Early Adopter

This request is an Early Adopter release and may be changed in non-compatible way.

GET
  • Managed https://{your-domain}/e/{your-environment-id}/api/v2/problems/{problemId}/comments/{commentId}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/v2/problems/{problemId}/comments/{commentId}

Authentication

To execute this request, you need the Access problem and event feed, metrics, and topology (DataExport) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.

Parameters

Parameter Type Description In Required
problemId string

The ID of the problem the comment is assigned to.

path required
commentId string

The ID of the comment you're inquiring.

path required

Response format

The CommentDto object

Element Type Description
createdAtTimestamp integer
authorName string
context string
id string
content string