{
  "opencollection": "1.0.0",
  "info": {
    "name": "Cribl As Code API Credentials Groups API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all worker groups and fleets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/master/groups"
          },
          "docs": "Retrieves a list of all worker groups and edge fleets configured in the Cribl instance, including their deployment status and node counts."
        },
        {
          "info": {
            "name": "Create a new worker group or fleet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.cribl.cloud/master/groups",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new worker group or edge fleet with the specified configuration. Groups organize worker nodes and allow shared configuration deployment."
        },
        {
          "info": {
            "name": "Get a group by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://gateway.cribl.cloud/master/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Retrieves the configuration and status of a specific worker group or edge fleet including its nodes and deployment state."
        },
        {
          "info": {
            "name": "Update a group",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://gateway.cribl.cloud/master/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the configuration of an existing worker group or edge fleet."
        },
        {
          "info": {
            "name": "Delete a group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://gateway.cribl.cloud/master/groups/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Deletes a worker group or edge fleet by its unique ID."
        },
        {
          "info": {
            "name": "Deploy configuration to a group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://gateway.cribl.cloud/master/groups/:id/deploy",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the resource"
              }
            ]
          },
          "docs": "Deploys the current configuration to all worker nodes or edge agents in the specified group or fleet."
        }
      ]
    }
  ],
  "bundled": true
}