Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
docs: cover rollback in the dev-compose caveat, fix health version
Yudhi Armyndharis372b623c1e46
diff --git a/docs/07-api-collection.md b/docs/07-api-collection.mdindex 5e1acd41f..ecaafad13 100644--- a/docs/07-api-collection.md+++ b/docs/07-api-collection.md@@ -1268,10 +1268,13 @@ curl -X POST "$BASE/api/auth/validate" \#### GET /api/health-Basic health check (status, timestamp, version). Public.+Basic health check (status, timestamp). Public. The running `version` is added only when the request carries a valid API key, so an unauthenticated probe gets `status` and `timestamp` alone.```bashcurl "$BASE/api/health"++# With the version field:+curl -H "X-API-Key: $API_KEY" "$BASE/api/health"```#### GET /api/health/livediff --git a/docs/13-horizontal-scaling.md b/docs/13-horizontal-scaling.mdindex 321a551ba..edfb905f7 100644--- a/docs/13-horizontal-scaling.md+++ b/docs/13-horizontal-scaling.md@@ -653,7 +653,7 @@ groups:| Endpoint | Purpose || ------------------- | ------------------------------------------------------------------------------------------------------------ |-| `/api/health` | Basic health check — returns `status`, `timestamp`, `version` |+| `/api/health` | Basic health check — returns `status` and `timestamp`; `version` only for an authenticated caller || `/api/health/live` | Liveness probe (static `ok`; reflects process liveness only) || `/api/health/ready` | Readiness probe — verifies the main + data databases respond (returns 503 while draining or if a DB is down) |diff --git a/docs/14-migration-guide.md b/docs/14-migration-guide.mdindex 7d647f0fa..4c00574f2 100644--- a/docs/14-migration-guide.md+++ b/docs/14-migration-guide.md@@ -682,9 +682,10 @@ chain by hand with `npm run migration:run:main`.set -e# Started with docker-compose.dev.yml (the README Quick Start)? Add `-f docker-compose.dev.yml` to-# every docker compose command in this script and in the migration block right after it, and write-# `openwa` wherever a command names the `openwa-api` service. Do NOT carry the flag up to the-# `--profile postgres` commands in 14.3: postgres exists only in the production compose file.+# every docker compose command in this script, in the migration block right after it, and in 14.6+# Rollback Procedures, and write `openwa` wherever a command names the `openwa-api` service. Do NOT+# carry the flag up to the `--profile postgres` commands in 14.3: postgres exists only in the+# production compose file.# 1. Backup: both databases + session auth + media + plugin state./scripts/backup.sh@@ -782,6 +783,9 @@ fiecho "🔄 Rolling back to v${TARGET_VERSION}..."+# Started with docker-compose.dev.yml (the README Quick Start)? Add `-f docker-compose.dev.yml` to+# every docker compose command below, and write `openwa` wherever one names the `openwa-api` service.+# 1. Stop currentdocker compose downdiff --git a/docs/21-glossary.md b/docs/21-glossary.mdindex 4bfe5654b..d804f3f4b 100644--- a/docs/21-glossary.md+++ b/docs/21-glossary.md@@ -118,7 +118,7 @@ Browser mode that runs without a GUI. Puppeteer runs Chrome in headless mode.### Health Check-Endpoints to check system health: `/api/health` (basic status and running version), `/api/health/live` (liveness) and `/api/health/ready` (readiness — probes both databases, and reports 503 while the process is draining). All three are public and exempt from rate limiting. The `/api` prefix is applied globally with no exclusions, so the unprefixed paths do not exist — container and Kubernetes probes must use the prefixed form.+Endpoints to check system health: `/api/health` (basic status; the running version is added only for an authenticated caller), `/api/health/live` (liveness) and `/api/health/ready` (readiness — probes both databases, and reports 503 while the process is draining). All three are public and exempt from rate limiting. The `/api` prefix is applied globally with no exclusions, so the unprefixed paths do not exist — container and Kubernetes probes must use the prefixed form.### Hook