FlagFix
API referenceReferenceRuntime Flags

Évaluer plusieurs flags (SERVER_SDK)

Cette page n’a pas encore de traduction française. Le texte anglais fait foi.

POST
/api/v1/runtime/evaluate-all

Header Parameters

X-FlagFix-Sdk-Key*string

Clé 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.

Request Body

application/json
  1. body
keys?array<string>

Si omis, tous les flags publiés de l'environnement

targetingKey?string|null
context?|null

Response Body

Bundle de flags + segments matchés + version

application/json
  1. response
flags*array<>
matchedSegments*array<string>
configurationVersion*integer
Formatint64
Example Request
curl -X POST 'http://localhost:18080/api/v1/runtime/evaluate-all' \  -H 'X-FlagFix-Sdk-Key: ff_development_client-sdk.abc123…' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "flags": [    {      "key": "string",      "enabled": true,      "value": null,      "reason": "string",      "variant": "string",      "configurationVersion": 0    }  ],  "matchedSegments": [    "string"  ],  "configurationVersion": 0}

Cette page vous a-t-elle été utile ?