Feature management
Flag evaluation
Server evaluation, public evaluation, and explicit exposures.
لا توجد ترجمة عربية منشورة لهذه الصفحة بعد. النص الإنجليزي هو المرجع.
Last updated on
| Call | Key | Used by |
|---|---|---|
POST /api/v1/runtime/evaluate | SERVER_SDK | One flag, includes reason and variant |
POST /api/v1/runtime/evaluate-all | SERVER_SDK | Node SDK |
POST /api/v1/runtime/evaluate-public | CLIENT_SDK | Browser SDK. Reason, variant, and matched segments are stripped. Sensitive traits such as email, phone, token, password, and secret are filtered. |
GET /api/v1/runtime/meta | Either | Version check. If-None-Match can return 304. |
GET /api/v1/runtime/sse | Either | environment_updated events. Not a flag payload. |
hasFeature and getValue do not send an exposure. Call trackExposure(key) when the user actually sees the variant. Duplicate exposures in the same client session return { queued: false, reason: "DUPLICATE_EXPOSURE" }.
هل كانت هذه الصفحة مفيدة؟