{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Routing API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Routing",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Get On-call Team Routing Rules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/on-call/teams/:team_id/routing-rules",
            "params": [
              {
                "name": "team_id",
                "value": "27590dae-47be-4a7d-9abf-8f4e45124020",
                "type": "path",
                "description": "The team ID"
              },
              {
                "name": "include",
                "value": "example_value",
                "type": "query",
                "description": "Comma-separated list of included relationships to be returned. Allowed values: `rules`, `rules.policy`."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get a team's On-Call routing rules"
        },
        {
          "info": {
            "name": "Datadog Set On-call Team Routing Rules",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{subdomain}.{site}/api/v2/on-call/teams/:team_id/routing-rules",
            "params": [
              {
                "name": "team_id",
                "value": "27590dae-47be-4a7d-9abf-8f4e45124020",
                "type": "path",
                "description": "The team ID"
              },
              {
                "name": "include",
                "value": "example_value",
                "type": "query",
                "description": "Comma-separated list of included relationships to be returned. Allowed values: `rules`, `rules.policy`."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Set a team's On-Call routing rules"
        }
      ]
    }
  ],
  "bundled": true
}