{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Definition API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Definition",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Create or Update Service Definition",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.{site}/api/v2/services/definitions",
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Create or update service definition in the Datadog Service Catalog."
        },
        {
          "info": {
            "name": "Datadog Get a Single Service Definition",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/services/definitions/:service_name",
            "params": [
              {
                "name": "service_name",
                "value": "",
                "type": "path",
                "description": "The name of the service."
              },
              {
                "name": "schema_version",
                "value": "",
                "type": "query",
                "description": "The schema version desired in the response."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get a single service definition from the Datadog Service Catalog."
        },
        {
          "info": {
            "name": "Datadog Delete a Single Service Definition",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/services/definitions/:service_name",
            "params": [
              {
                "name": "service_name",
                "value": "",
                "type": "path",
                "description": "The name of the service."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete a single service definition in the Datadog Service Catalog."
        }
      ]
    }
  ],
  "bundled": true
}