{
  "opencollection": "1.0.0",
  "info": {
    "name": "Uptrace Alerts Annotations API",
    "version": "v1"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Annotations",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Annotations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.uptrace.dev/api/v1/annotations",
            "params": [
              {
                "name": "projectId",
                "value": "",
                "type": "query",
                "description": "Project identifier"
              },
              {
                "name": "startTime",
                "value": "",
                "type": "query",
                "description": "Start of time range (ISO 8601)"
              },
              {
                "name": "endTime",
                "value": "",
                "type": "query",
                "description": "End of time range (ISO 8601)"
              },
              {
                "name": "tags",
                "value": "",
                "type": "query",
                "description": "Filter by annotation tags"
              }
            ]
          },
          "docs": "Retrieve chart annotations for a project within a time range."
        },
        {
          "info": {
            "name": "Create Annotation",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.uptrace.dev/api/v1/annotations",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a chart annotation to mark a deployment, incident, or other significant event on Uptrace dashboards."
        },
        {
          "info": {
            "name": "Get Annotation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.uptrace.dev/api/v1/annotations/:annotationId",
            "params": [
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "Annotation identifier"
              }
            ]
          },
          "docs": "Retrieve a specific annotation by ID."
        },
        {
          "info": {
            "name": "Update Annotation",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.uptrace.dev/api/v1/annotations/:annotationId",
            "params": [
              {
                "name": "annotationId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update an existing annotation."
        },
        {
          "info": {
            "name": "Delete Annotation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.uptrace.dev/api/v1/annotations/:annotationId",
            "params": [
              {
                "name": "annotationId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a chart annotation."
        }
      ]
    }
  ],
  "bundled": true
}