You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API Executor provides direct HTTP access to OpenFGA endpoints not yet wrapped by the SDK. It maintains the SDK's client configuration including authentication, telemetry, retries, and error handling.
1174
+
1175
+
Use cases:
1176
+
- Calling endpoints not yet supported by the SDK
1177
+
- Using an SDK version that lacks support for a particular endpoint
1178
+
- Accessing custom endpoints that extend the OpenFGA API
1179
+
1180
+
Initialize the SDK normally and access the API Executor via the `fgaClient` instance:
Copy file name to clipboardExpand all lines: examples/README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,10 @@ A simple example that creates a store, runs a set of calls against it including
9
9
10
10
#### OpenTelemetry Examples
11
11
-`opentelemetry/` - Demonstrates OpenTelemetry integration both via manual code configuration, as well as no-code instrumentation using the OpenTelemetry java agent
12
+
13
+
#### Streaming Examples
14
+
-`streamed-list-objects/` - Demonstrates using the StreamedListObjects API to retrieve large result sets without pagination limits
15
+
16
+
#### API Executor Examples
17
+
-`api-executor/` - Demonstrates direct HTTP access to OpenFGA endpoints not yet wrapped by the SDK, maintaining SDK configuration (authentication, retries, error handling)
0 commit comments