Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(api): restrict the pinned builtIn flag rule to an unpinned host

Yudhi Armyndharis513afe3a5ca9
diff --git a/docs/06-api-specification.md b/docs/06-api-specification.md
index 2426dd510..d84990b1d 100644
--- a/docs/06-api-specification.md
+++ b/docs/06-api-specification.md
@@ -5655,7 +5655,7 @@ Read the effective infrastructure config used to hydrate the dashboard form. Eac
}
```
-`builtInSet` says whether the saved configuration states the built-in mode of the database, Redis or storage. It is `false` when a host pinned by the environment (`DATABASE_HOST`, `REDIS_HOST`, `S3_ENDPOINT`) decides the mode, in which case `builtIn` reports the pin (`true` for the bundled host `postgres`, `redis` or `http://minio:9000`), when the saved file does not select the service (the first boot writes every flag as `false` next to a service that is not in use), when the file holds the bundled host with the flag not `true` (the next boot dials the container, so `builtIn` is `true`), and when nothing is saved. Read what runs from `GET /api/infra/status` then. A flag pinned by the environment itself counts as stated.
+`builtInSet` says whether the saved configuration states the built-in mode of the database, Redis or storage. It is `false` when a host pinned by the environment (`DATABASE_HOST`, `REDIS_HOST`, `S3_ENDPOINT`) decides the mode, in which case `builtIn` reports the pin (`true` for the bundled host `postgres`, `redis` or `http://minio:9000`), when the saved file does not select the service (the first boot writes every flag as `false` next to a service that is not in use), when the file holds the bundled host with the flag not `true` (the next boot dials the container, so `builtIn` is `true`), and when nothing is saved. Read what runs from `GET /api/infra/status` then. Where no host is pinned, a flag pinned by the environment itself counts as stated.
When nothing supplies a key — no pinned environment value and the file absent or silent about it — empty-string/default values are returned (`schema='public'`, `poolSize=10`, `sslRejectUnauthorized=true`, `engine.type='whatsapp-web.js'`, `headless=true`).