Skip to content

Commit 1a19d08

Browse files
committed
chore(docs): mv diagram below filter endpoints
1 parent 68d1063 commit 1a19d08

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,18 +160,6 @@ The system supports generating CQL2 filters based on request context to provide
160160
> [!TIP]
161161
> Integration with external authorization systems (e.g. [Open Policy Agent](https://www.openpolicyagent.org/)) can be achieved by specifying an `ITEMS_FILTER` that points to a class/function that, once initialized, returns a [`cql2.Expr` object](https://developmentseed.org/cql2-rs/latest/python/#cql2.Expr) when called with the request context.
162162

163-
#### Example GET Request Flow
164-
165-
```mermaid
166-
sequenceDiagram
167-
Client->>Proxy: GET /collections
168-
Note over Proxy: EnforceAuth checks credentials
169-
Note over Proxy: BuildCql2Filter creates filter
170-
Note over Proxy: ApplyCql2Filter applies filter to request
171-
Proxy->>STAC API: GET /collection?filter=(collection=landsat)
172-
STAC API->>Client: Response
173-
```
174-
175163
#### Filters
176164

177165
If enabled, filters are intended to be applied to the following endpoints:
@@ -236,3 +224,15 @@ If enabled, filters are intended to be applied to the following endpoints:
236224
- **Action:** Create Items
237225
- **Applied Filter:** `ITEMS_FILTER`
238226
- **Strategy:** Validate items in body with generated CQL2 query.
227+
228+
#### Example GET Request Flow
229+
230+
```mermaid
231+
sequenceDiagram
232+
Client->>Proxy: GET /collections
233+
Note over Proxy: EnforceAuth checks credentials
234+
Note over Proxy: BuildCql2Filter creates filter
235+
Note over Proxy: ApplyCql2Filter applies filter to request
236+
Proxy->>STAC API: GET /collection?filter=(collection=landsat)
237+
STAC API->>Client: Response
238+
```

0 commit comments

Comments
 (0)