Athena
ProvisionDependenciesInstall

Attempt to install Docker and Postgres dependencies for local provisioning

Best-effort Linux-only installer that detects the host package manager, attempts to install Docker and PostgreSQL packages, and optionally starts the related services. Requires root or passwordless sudo for package installation.

POST
/admin/provision/dependencies/install

Header Parameters

apikey*string

The static admin key configured as ATHENA_KEY_12. Authorization headers (Bearer <key>), X-API-Key, X-Athena-Key, or ?api_key= are also accepted.

Request Body

application/json

install_docker?boolean
Defaulttrue
install_postgres?boolean
Defaulttrue
start_services?boolean
Defaulttrue
use_sudo?boolean
Defaulttrue

Response Body

application/json

curl -X POST "https://athena-cluster.com/admin/provision/dependencies/install" \  -H "apikey: string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "requested": {},
  "before": {
    "os_family": "string",
    "package_manager": "string",
    "running_as_root": true,
    "sudo_available": true,
    "sudo_non_interactive_available": true,
    "systemctl_available": true,
    "can_attempt_install": true,
    "docker_binary_available": true,
    "docker_service_active": true,
    "postgres_binary_available": true,
    "postgres_service_active": true,
    "missing": [
      "string"
    ],
    "notes": [
      "string"
    ]
  },
  "after": {
    "os_family": "string",
    "package_manager": "string",
    "running_as_root": true,
    "sudo_available": true,
    "sudo_non_interactive_available": true,
    "systemctl_available": true,
    "can_attempt_install": true,
    "docker_binary_available": true,
    "docker_service_active": true,
    "postgres_binary_available": true,
    "postgres_service_active": true,
    "missing": [
      "string"
    ],
    "notes": [
      "string"
    ]
  },
  "overall_status": "string",
  "steps": [
    {
      "key": "string",
      "status": "string",
      "description": "string",
      "command": "string",
      "detail": "string",
      "output": "string"
    }
  ]
}
Empty
Empty
Empty