Flagsmith / Flagsmith/flagsmith

OFREP endpoints

Open
#8,434 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

Need to add to our core API the endpoints as specified in the [OFREP](https://github.com/open-feature/protocol) so Flagsmith becomes compliant:

- `/ofrep/v1/evaluate/flags/{key}` - evaluate a single feature flag
- `/ofrep/v1/evaluate/flags` - bulk evaluate all feature flags

Full specification in the [OFREP OpenAPI document](https://github.com/open-feature/protocol/blob/main/service/openapi.yaml).

> [!NOTE]
> This epic is pending Server Side Events support in the bulk endpoint. OFREP states it's optional, so it will be brought to discussion for integrating with our Real Time Updates (for enterprise).

Contributor guide

Open the contributing guide

Research direction

Start by reading the OFREP OpenAPI specification linked in the issue and tracing the core API entry points for single and bulk feature-flag evaluation. Done means both `/ofrep/v1/evaluate/flags/{key}` and `/ofrep/v1/evaluate/flags` comply with the specified responses; Server-Side Events support is explicitly pending discussion.

Written by the indexing model from the issue text.

Assessment

Tech stack
openapi, python
Domain
api, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.