Métadonnées de configuration (ETag / poll fallback)
Source de vérité de rattrapage quand SSE est indisponible. Envoyer `If-None-Match` pour obtenir 304 si inchangé.
لا توجد ترجمة عربية منشورة لهذه الصفحة بعد. النص الإنجليزي هو المرجع.
Source de vérité de rattrapage quand SSE est indisponible.
Envoyer If-None-Match pour obtenir 304 si inchangé.
X-FlagFix-Sdk-Key*stringClé d'environnement complète {prefix}.{secret}.
Le serveur en dérive projectId, environmentId et keyType.
CLIENT_SDK et SERVER_SDK acceptés selon l'opération.
If-None-Match?stringETag précédemment reçu (ex. "v12-abc")
Meta courante
application/json- response
projectId*stringuuidenvironmentId*stringuuidconfigurationVersion*integerint64checksum*stringenvironmentActive*booleancurl -X GET 'http://localhost:18080/api/v1/runtime/meta' \ -H 'X-FlagFix-Sdk-Key: ff_development_client-sdk.abc123…'{ "projectId": "019a0000-0000-7000-8000-000000000001", "environmentId": "019a0000-0000-7000-8000-000000000002", "configurationVersion": 12, "checksum": "a3f1c9…", "environmentActive": true}هل كانت هذه الصفحة مفيدة؟
Évaluer des flags pour clients publics (CLIENT_SDK) POST
Traits sensibles filtrés côté serveur (email, phone, token, password, secret). `reason` et `variant` omis dans la réponse publique. `matchedSegments` toujours vide.
Stream SSE d'invalidation de configuration GET
Stream `text/event-stream`. N'envoie pas le payload flags. Événement applicatif : - `event: environment_updated` - `id: <configurationVersion>` - `data: {"configurationVersion":12,"checksum":"…","environmentId":"…"}` Fan-out multi-instance via Redis pub/sub `flagfix:env:{environmentId}:config`. Heartbeats en commentaires SSE. Si Redis est down, aucun event live n'est garanti ; le SDK doit poller `/meta`.