palbaseDocs

API reference

Palbase Flags

Palbase's flags module: a project's feature flags and remote configuration — typed values, the choices a string flag allows, conditions that target a value at a client context, a share of users, a country or a moment, and values given to single users — read by its apps, resolved for each reader, and kept up to date by deltas and realtime notices (flags:<ref> for every reader, flags:<ref>:<user_id> for one user). Definitions may change directly, or, once publishing is on, only through a reviewed and published template. Which builds of its apps are in use is counted from the reads. One shared, multi-tenant service: every replica caches the projects it serves, and a change on one drops them on every other.

Two doors. A client app reads with the publishable key, and a signed-in user's token makes the answer theirs. The project's server defines flags, sets users' values, publishes and reads installations with its secret key (apikey, role service_role).

Countries are resolved with DB-IP's IP to City Lite database: IP geolocation by DB-IP (https://db-ip.com), CC BY 4.0.

The contract itself: /openapi/flags.openapi.json

Reads

Users

Evaluations

Experiments

Installations

Definitions

Templates