OFREP core

OFREP bulk flag evaluation contract

OFREP bulk evaluation request. The endpoint is called by the client providers to evaluate all flags at once.

post/ofrep/v1/evaluate/flags

Headers

If-None-Matchstring

The request will be processed only if ETag doesn't match any of the values listed.

Request body

Example request

{
  "context": {
    "targetingKey": "user-123"
  }
}

Response

OFREP successful evaluation response

Example response

{
  "flags": [
    {
      "key": "my-flag",
      "reason": "STATIC"
    }
  ]
}

Changes