Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@
"pages": [
"reference/openfeature/overview",
"reference/openfeature/configuration",
"reference/openfeature/flag-evaluation"
"reference/openfeature/flag-evaluation",
"reference/openfeature/bulk-evaluation"
]
},
{
Expand Down
22 changes: 22 additions & 0 deletions reference/openfeature/bulk-evaluation.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "Bulk Evaluation"
openapi: "POST /ofrep/v1/evaluate/flags"
---

<RequestExample>

```bash cURL
curl --request POST \
--url https://try.flipt.io/ofrep/v1/evaluate/flags \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {
"flags": ["flagKey1", "flagKey2", "flagKey3"],
"targetingKey": "targetingKey1"
},
}'
```

</RequestExample>
4 changes: 3 additions & 1 deletion reference/openfeature/flag-evaluation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ curl --request POST \
--header 'Accept: application/json' \
--header 'X-Flipt-Namespace: <namespaceKey>' \
--data '{
"context": {},
"context": {
"targetingKey": "targetingKey1"
},
}'
```

Expand Down
1 change: 1 addition & 0 deletions reference/openfeature/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The OFREP protocol is implemented in the Flipt API. The following endpoints are

- [Configuration](/reference/openfeature/configuration) - Supplies information about the remote flag management system to set up the OpenFeature SDK providers.
- [Single Flag Evaluation](/reference/openfeature/flag-evaluation) - Called by the server providers to perform single flag evaluation.
- [Bulk Evaluation](/reference/openfeature/bulk-evaluation) - Called by the server providers to perform bulk evaluation of multiple flags.

## Providers

Expand Down
Loading