Dynatrace · JSON Structure

Problems Api V2 Comment Request Body Structure

The request body for creating or updating a problem comment.

Type: object Properties: 2 Required: 1
AI OperationsAnalyticsAPMApplication Performance MonitoringApplication SecurityAutomationCloud MonitoringDigital Experience ManagementIntelligenceObservability

CommentRequestBody is a JSON Structure definition published by Dynatrace, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

message context

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dynatrace/refs/heads/main/json-structure/problems-api-v2-comment-request-body-structure.json",
  "description": "The request body for creating or updating a problem comment.",
  "type": "object",
  "properties": {
    "message": {
      "type": "string",
      "description": "The text content of the comment.",
      "example": "Example description."
    },
    "context": {
      "type": "string",
      "description": "An optional context reference for the comment, such as a ticket ID, a link to a runbook, or a category label.",
      "example": "example-value"
    }
  },
  "required": [
    "message"
  ],
  "name": "CommentRequestBody"
}