{
  "opencollection": "1.0.0",
  "info": {
    "name": "AppDynamics Configuration API",
    "version": "23.x"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Health Rules Export/Import",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Export health rules for an application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controller-host}/controller/healthrules/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The name of a specific health rule to export. If omitted, all health rules are exported."
              }
            ]
          },
          "docs": "Exports all health rules for the specified application as an XML document. The exported configuration can be imported into another application or Controller instance."
        },
        {
          "info": {
            "name": "Import health rules for an application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{controller-host}/controller/healthrules/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              },
              {
                "name": "overwrite",
                "value": "",
                "type": "query",
                "description": "When true, overwrites existing health rules with matching names."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Imports health rule configurations from an XML file into the specified application. Existing health rules with matching names can be overwritten."
        }
      ]
    },
    {
      "info": {
        "name": "Transaction Detection Export/Import",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Export transaction detection rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controller-host}/controller/transactiondetection/:applicationId/:entryPointType",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              },
              {
                "name": "entryPointType",
                "value": "",
                "type": "path",
                "description": "The entry point type to export detection rules for."
              }
            ]
          },
          "docs": "Exports business transaction detection rules for the specified application and entry point type as an XML document."
        },
        {
          "info": {
            "name": "Import transaction detection rules",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{controller-host}/controller/transactiondetection/:applicationId/:entryPointType",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              },
              {
                "name": "entryPointType",
                "value": "",
                "type": "path",
                "description": "The entry point type to import detection rules for."
              },
              {
                "name": "overwrite",
                "value": "",
                "type": "query",
                "description": "When true, overwrites existing detection rules."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Imports business transaction detection rules from an XML file for the specified application and entry point type."
        }
      ]
    },
    {
      "info": {
        "name": "Custom Dashboards Export/Import",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Export a custom dashboard",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controller-host}/controller/CustomDashboardImportExportServlet",
            "params": [
              {
                "name": "dashboardId",
                "value": "",
                "type": "query",
                "description": "The numeric ID of the custom dashboard to export."
              }
            ]
          },
          "docs": "Exports a custom dashboard configuration as a JSON document for backup or migration to another Controller instance."
        },
        {
          "info": {
            "name": "Import a custom dashboard",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{controller-host}/controller/CustomDashboardImportExportServlet",
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Imports a custom dashboard configuration from a JSON file into the Controller."
        }
      ]
    },
    {
      "info": {
        "name": "Actions Export/Import",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Export actions for an application",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{controller-host}/controller/actions/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              }
            ]
          },
          "docs": "Exports all action configurations for the specified application as an XML document."
        },
        {
          "info": {
            "name": "Import actions for an application",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{controller-host}/controller/actions/:applicationId",
            "params": [
              {
                "name": "applicationId",
                "value": "",
                "type": "path",
                "description": "The numeric ID of the business application."
              },
              {
                "name": "overwrite",
                "value": "",
                "type": "query",
                "description": "When true, overwrites existing actions with matching names."
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": [
                {
                  "name": "file",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          },
          "docs": "Imports action configurations from an XML file into the specified application."
        }
      ]
    }
  ],
  "bundled": true
}