{
  "opencollection": "1.0.0",
  "info": {
    "name": "Datadog Account Entity API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "DD-API-KEY",
      "value": "{{DD-API-KEY}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Entity",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Datadog Delete a Single Entity",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.{site}/api/v2/catalog/entity/:entity_id",
            "params": [
              {
                "name": "entity_id",
                "value": "",
                "type": "path",
                "description": "UUID or Entity Ref."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Delete a single entity in Software Catalog."
        },
        {
          "info": {
            "name": "Datadog Get a List of Entity Relations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.{site}/api/v2/catalog/relation",
            "params": [
              {
                "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 relations in the response."
              },
              {
                "name": "filter[type]",
                "value": "",
                "type": "query",
                "description": "Filter relations by type."
              },
              {
                "name": "filter[from_ref]",
                "value": "service:shopping-cart",
                "type": "query",
                "description": "Filter relations by the reference of the first entity in the relation."
              },
              {
                "name": "filter[to_ref]",
                "value": "service:shopping-cart",
                "type": "query",
                "description": "Filter relations by the reference of the second entity in the relation."
              },
              {
                "name": "include",
                "value": "",
                "type": "query",
                "description": "Include relationship data."
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "DD-API-KEY",
              "value": "{{DD-API-KEY}}",
              "placement": "header"
            }
          },
          "docs": "Get a list of entity relations from Software Catalog."
        }
      ]
    }
  ],
  "bundled": true
}