OFREP Core
OFREP single flag evaluation contract
OFREP single flag evaluation request. The endpoint is called by the server providers to perform single flag evaluation.
post/ofrep/v1/evaluate/flags/{key}
Path parameters
keystring required
Request body
Example request
{
"context": {
"targetingKey": "user-123"
}
}Response
OFREP successful evaluation response
Example response
{
"key": "my-flag",
"reason": "STATIC",
"metadata": {
"team": "ecommerce",
"businessPurpose": "experiment"
}
}