OpenFeature / OFREP
Using standard OpenFeature OFREP providers with Flipswitch
OpenFeature / OFREP
Flipswitch is fully compliant with the OpenFeature Remote Evaluation Protocol (OFREP). You can use any standard OFREP provider without installing the official Flipswitch SDKs.
Standard OFREP providers don't include real-time SSE support. For live flag updates, use the official SDKs.
When to Use Standard OFREP
- You only need polling-based flag evaluation
- Your language doesn't have an official Flipswitch SDK
- You want to minimize dependencies
- You're building a proof-of-concept
JavaScript (Web)
JavaScript (Server)
Go
Python
.NET
OFREP Endpoints
Flipswitch exposes the following OFREP-compliant endpoints:
| Method | Endpoint | Description |
|---|---|---|
POST | /ofrep/v1/evaluate/flags/{flagKey} | Evaluate a single flag |
POST | /ofrep/v1/evaluate/flags | Bulk evaluate all flags |
Single Flag Evaluation
Response:
Bulk Evaluation
Response:
ETag Support
Bulk evaluation supports ETags for efficient caching:
Supported Languages
See the OpenFeature ecosystem for all available OFREP providers:
- JavaScript/TypeScript (web and server)
- Go
- Java
- .NET
- Python
- PHP
- Ruby
- Rust
- Swift
- Kotlin