Runtime config
Public settings the browser needs (app URL and Google client id and feature switches and version and default locale). Public and served before setup; never carries a secret.
Try the REST routes against the public demo at https://demostash.aldyernesto.my.id. Get a read-only token (valid for 60 minutes), then paste it as the Bearer token in the console of any route.
Public settings the browser needs (app URL and Google client id and feature switches and version and default locale). Public and served before setup; never carries a secret.
Public settings
application/json- response
appUrl*stringPublic URL of the instance, without a trailing slash.
googleClientId*|Google OAuth client id, or null when Google sign-in is off.
features*Feature switches.
version*stringRunning version.
defaultLocale*stringDefault UI locale, such as en.
demo*|Demo mode only: the demo accounts and their password; null on every other instance.
curl -X GET "https://example.com/api/v1/config"{ "appUrl": "string", "googleClientId": "string", "features": { "signup": true, "google": true, "search": true, "passwordResetEmail": true, "discussion": true, "demo": true }, "version": "string", "defaultLocale": "string", "demo": { "accounts": [ { "email": "string", "role": "string" } ], "password": "string" }}