{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Monitor API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Monitor",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Get All Monitor Notification Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule",
            "params": [
              {
                "name": "include",
                "value": "created_by",
                "type": "query",
                "description": "Comma-separated list of resource paths for related resources to include in the response. Supported resource\npath is `created_by`."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Returns a list of all monitor notification rules."
        },
        {
          "info": {
            "name": "Datadog Create a Monitor Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Creates a monitor notification rule."
        },
        {
          "info": {
            "name": "Datadog Get a Monitor Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "abc-123-def",
                "type": "path",
                "description": "ID of the monitor notification rule to fetch."
              },
              {
                "name": "include",
                "value": "created_by",
                "type": "query",
                "description": "Comma-separated list of resource paths for related resources to include in the response. Supported resource\npath is `created_by`."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Returns a monitor notification rule by `rule_id`."
        },
        {
          "info": {
            "name": "Datadog Update a Monitor Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "abc-123-def",
                "type": "path",
                "description": "ID of the monitor notification rule to update."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Updates a monitor notification rule by `rule_id`."
        },
        {
          "info": {
            "name": "Datadog Delete a Monitor Notification Rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/monitor/notification_rule/:rule_id",
            "params": [
              {
                "name": "rule_id",
                "value": "abc-123-def",
                "type": "path",
                "description": "ID of the monitor notification rule to delete."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Deletes a monitor notification rule by `rule_id`."
        },
        {
          "info": {
            "name": "Datadog Get All Monitor Configuration Policies",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/policy",
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get all monitor configuration policies."
        },
        {
          "info": {
            "name": "Datadog Create a Monitor Configuration Policy",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/monitor/policy",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a monitor configuration policy."
        },
        {
          "info": {
            "name": "Datadog Get a Monitor Configuration Policy",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id",
            "params": [
              {
                "name": "policy_id",
                "value": "00000000-0000-1234-0000-000000000000",
                "type": "path",
                "description": "ID of the monitor configuration policy."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get a monitor configuration policy by `policy_id`."
        },
        {
          "info": {
            "name": "Datadog Edit a Monitor Configuration Policy",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id",
            "params": [
              {
                "name": "policy_id",
                "value": "00000000-0000-1234-0000-000000000000",
                "type": "path",
                "description": "ID of the monitor configuration policy."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Edit a monitor configuration policy."
        },
        {
          "info": {
            "name": "Datadog Delete a Monitor Configuration Policy",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/monitor/policy/:policy_id",
            "params": [
              {
                "name": "policy_id",
                "value": "00000000-0000-1234-0000-000000000000",
                "type": "path",
                "description": "ID of the monitor configuration policy."
              }
            ]
          },
          "docs": "Delete a monitor configuration policy."
        },
        {
          "info": {
            "name": "Datadog Get Active Downtimes for a Monitor",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/monitor/:monitor_id/downtime_matches",
            "params": [
              {
                "name": "monitor_id",
                "value": "42",
                "type": "path",
                "description": "The id of the monitor."
              },
              {
                "name": "page[offset]",
                "value": "",
                "type": "query",
                "description": "Specific offset to use as the beginning of the returned page."
              },
              {
                "name": "page[limit]",
                "value": "100",
                "type": "query",
                "description": "Maximum number of downtimes in the response."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get all active downtimes for the specified monitor."
        }
      ]
    }
  ],
  "bundled": true
}