{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dash0 Edge Collectors Manage Sampling Rules API",
    "version": "1.0.0"
  },
  "items": [
    {
      "info": {
        "name": "Manage Sampling Rules",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a specific sampling rule by origin or ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.eu-west-1.aws.dash0.com/api/sampling-rules/:originOrId",
            "params": [
              {
                "name": "originOrId",
                "value": "",
                "type": "path",
                "description": "Sampling rule origin or UUID"
              },
              {
                "name": "dataset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns a specific sampling rule identified by its origin label or UUID."
        },
        {
          "info": {
            "name": "Update or create a sampling rule by origin or ID",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.eu-west-1.aws.dash0.com/api/sampling-rules/:originOrId",
            "params": [
              {
                "name": "originOrId",
                "value": "",
                "type": "path",
                "description": "Sampling rule origin or UUID"
              },
              {
                "name": "dataset",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates an existing sampling rule or creates a new one if it doesn't exist. Useful for Infrastructure-as-Code workflows."
        },
        {
          "info": {
            "name": "Delete a sampling rule by origin or ID",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.eu-west-1.aws.dash0.com/api/sampling-rules/:originOrId",
            "params": [
              {
                "name": "originOrId",
                "value": "",
                "type": "path",
                "description": "Sampling rule origin or UUID"
              },
              {
                "name": "dataset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Deletes a specific sampling rule identified by its origin label or UUID."
        },
        {
          "info": {
            "name": "List all sampling rules for the organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.eu-west-1.aws.dash0.com/api/sampling-rules",
            "params": [
              {
                "name": "dataset",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Returns all sampling rules configured for your organization."
        },
        {
          "info": {
            "name": "Create a new sampling rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.eu-west-1.aws.dash0.com/api/sampling-rules",
            "params": [
              {
                "name": "dataset",
                "value": "",
                "type": "query"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new sampling rule for your organization."
        }
      ]
    }
  ],
  "bundled": true
}