Skip to content

Commit 7428e39

Browse files
committed
docs: fix getting started link
1 parent 6dee926 commit 7428e39

File tree

4 files changed

+37
-1
lines changed

4 files changed

+37
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ STAC Auth Proxy is a proxy API that mediates between the client and your interna
3030

3131
[Full documentation is available on the website](https://developmentseed.org/stac-auth-proxy).
3232

33-
Head to [Getting Started](https://developmentseed.org/stac-auth-proxy/getting-started/) to dig in.
33+
Head to [Getting Started](https://developmentseed.org/stac-auth-proxy/user-guide/getting-started/) to dig in.
3434

3535
[pypi-version-badge]: https://badge.fury.io/py/stac-auth-proxy.svg
3636
[pypi-link]: https://pypi.org/project/stac-auth-proxy/

docs/architecture/filtering-data.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Filtering Data
2+
3+
> [!NOTE]
4+
>
5+
> For more information on using filters to solve authorization needs, more information can be found in the [user guide](../user-guide/record-level-auth.md).
6+
7+
## Example Request Flow for multi-record endpoints
8+
9+
```mermaid
10+
sequenceDiagram
11+
Client->>Proxy: GET /collections
12+
Note over Proxy: EnforceAuth checks credentials
13+
Note over Proxy: BuildCql2Filter creates filter
14+
Note over Proxy: ApplyCql2Filter applies filter to request
15+
Proxy->>STAC API: GET /collection?filter=(collection=landsat)
16+
STAC API->>Client: Response
17+
```
18+
19+
## Example Request Flow for single-record endpoints
20+
21+
The Filter Extension does not apply to fetching individual records. As such, we must validate the record _after_ it is returned from the upstream API but _before_ it is returned to the user:
22+
23+
```mermaid
24+
sequenceDiagram
25+
Client->>Proxy: GET /collections/abc123
26+
Note over Proxy: EnforceAuth checks credentials
27+
Note over Proxy: BuildCql2Filter creates filter
28+
Proxy->>STAC API: GET /collection/abc123
29+
Note over Proxy: ApplyCql2Filter validates the response
30+
STAC API->>Client: Response
31+
```

docs/user-guide/record-level-auth.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ Record-level authorization is implemented through **data filtering**—a strateg
1717

1818
For endpoints where the filter extension doesn't apply (such as single-item endpoints), the filters are used to validate response data from the upstream STAC API before the user receives the data, ensuring complete authorization coverage.
1919

20+
> [!NOTE]
21+
>
22+
> For more information on _how_ data filtering works, some more information can be found in the [architecture section](../architecture/filtering-data.md) of the docs.
23+
2024
## Supported Operations
2125

2226
### Collection-Level Filtering

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ nav:
3737
- Tips: user-guide/tips.md
3838
- Architecture:
3939
- Middleware Stack: architecture/middleware-stack.md
40+
- Filtering Data: architecture/filtering-data.md
4041
- Changelog: changelog.md
4142

4243
plugins:

0 commit comments

Comments
 (0)