O F R E P Core
OFREP single flag evaluation contract
EvaluateVariant a single feature flag for a given key
Path Parameters
key*string
Request Body
application/json
Evaluation context
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://demo.kaiten.sh/ofrep/v1/evaluate/flags/string" \ -H "Content-Type: application/json" \ -d '{}'{
"key": "string",
"metadata": {
"property1": null,
"property2": null
},
"reason": "STATIC",
"value": null,
"variant": "string"
}{
"errorCode": "string",
"errorDetails": "string",
"key": "string",
"metadata": {
"property1": null,
"property2": null
}
}{
"errorCode": "string",
"errorDetails": "string",
"key": "string",
"metadata": {
"property1": null,
"property2": null
}
}
