Skip to content

Commit 2002f73

Browse files
aaguiarzclaude
andauthored
feat: authzen docs (#1211)
Co-authored-by: Claude <noreply@anthropic.com>
1 parent 0f10ff6 commit 2002f73

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/content/interacting/authzen.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ All AuthZEN endpoints return an `Unimplemented` error if the experimental flag i
5252

5353
## Endpoints
5454

55-
All AuthZEN endpoints are scoped to a store and available under `/stores/{store_id}/access/v1/`.
55+
All AuthZEN endpoints are scoped to a store. Evaluation and search endpoints are available under `/stores/{store_id}/access/v1/`. The Get Configuration (discovery) endpoint uses a different path: `/.well-known/authzen-configuration/{store_id}`.
5656

5757
| Endpoint | Method | Path | Description |
5858
|---|---|---|---|
@@ -87,7 +87,7 @@ The Evaluation endpoint determines whether a subject is authorized to perform an
8787

8888
**Request:**
8989

90-
```json
90+
```http
9191
POST /stores/{store_id}/access/v1/evaluation
9292
9393
{
@@ -155,7 +155,7 @@ The Evaluations endpoint performs batch authorization checks in a single request
155155

156156
**Request:**
157157

158-
```json
158+
```http
159159
POST /stores/{store_id}/access/v1/evaluations
160160
161161
{
@@ -235,7 +235,7 @@ This answers questions like "Who can read this document?"
235235

236236
**Request:**
237237

238-
```json
238+
```http
239239
POST /stores/{store_id}/access/v1/search/subject
240240
241241
{
@@ -270,7 +270,7 @@ This answers questions like "What documents can Anne read?"
270270

271271
**Request:**
272272

273-
```json
273+
```http
274274
POST /stores/{store_id}/access/v1/search/resource
275275
276276
{
@@ -305,7 +305,7 @@ This answers questions like "What can Anne do with this document?"
305305

306306
**Request:**
307307

308-
```json
308+
```http
309309
POST /stores/{store_id}/access/v1/search/action
310310
311311
{
@@ -426,7 +426,7 @@ The AuthZEN spec does not define a standard way to pin requests to a specific mo
426426

427427
### X-Request-ID header
428428

429-
The spec RECOMMENDS that PEPs include an `X-Request-ID` header in requests and that PDPs echo it back in responses. <ProductName format={ProductNameFormat.ShortForm}/> returns an `X-Request-Id` header in all responses but does not currently echo back client-provided request IDs.
429+
The spec RECOMMENDS that PEPs include an `X-Request-ID` header in requests and that PDPs echo it back in responses. <ProductName format={ProductNameFormat.ShortForm}/> returns an `X-Request-ID` header in all responses but does not currently echo back client-provided request IDs.
430430

431431
### Contextual Tuples
432432

0 commit comments

Comments
 (0)