{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cribl As Code API Credentials Edge Nodes API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Edge Nodes",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all edge nodes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/master/workers"
          },
          "docs": "Retrieves all connected edge nodes across all fleets including their status, OS, version, and resource utilization metrics."
        },
        {
          "info": {
            "name": "Get an edge node by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/master/workers/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Retrieves the status and details of a specific edge node including its OS, version, fleet membership, and resource utilization."
        },
        {
          "info": {
            "name": "Restart an edge node",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.cribl.cloud/master/workers/:id/restart",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Initiates a restart of a specific edge node agent on the endpoint system."
        }
      ]
    }
  ],
  "bundled": true
}