{
  "opencollection": "1.0.0",
  "info": {
    "name": "AppDynamics Alert and Respond Actions Schemas API",
    "version": "23.x"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Schemas",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a custom event schema",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controller-host}/controller/events/schema/:schemaName",
            "headers": [
              {
                "name": "X-Events-API-AccountName",
                "value": ""
              },
              {
                "name": "X-Events-API-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "schemaName",
                "value": "",
                "type": "path",
                "description": "The name of the custom event schema."
              }
            ]
          },
          "docs": "Retrieves the schema definition for the specified custom event schema name."
        },
        {
          "info": {
            "name": "Create a custom event schema",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{controller-host}/controller/events/schema/:schemaName",
            "headers": [
              {
                "name": "X-Events-API-AccountName",
                "value": ""
              },
              {
                "name": "X-Events-API-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "schemaName",
                "value": "",
                "type": "path",
                "description": "The name of the custom event schema."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new custom event schema with the specified name and field definitions. The schema defines the structure and data types for events that will be published under this schema name."
        },
        {
          "info": {
            "name": "Update a custom event schema",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{controller-host}/controller/events/schema/:schemaName",
            "headers": [
              {
                "name": "X-Events-API-AccountName",
                "value": ""
              },
              {
                "name": "X-Events-API-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "schemaName",
                "value": "",
                "type": "path",
                "description": "The name of the custom event schema."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing custom event schema by adding new fields. Existing fields cannot be removed or modified."
        },
        {
          "info": {
            "name": "Delete a custom event schema",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{controller-host}/controller/events/schema/:schemaName",
            "headers": [
              {
                "name": "X-Events-API-AccountName",
                "value": ""
              },
              {
                "name": "X-Events-API-Key",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "schemaName",
                "value": "",
                "type": "path",
                "description": "The name of the custom event schema."
              }
            ]
          },
          "docs": "Deletes the specified custom event schema and all events stored under it. This operation is irreversible."
        }
      ]
    }
  ],
  "bundled": true
}