Consent API
Auto-generated from
openapi-snapshot.json. Do not edit by hand — changes are overwritten byscripts/docs/generate_api_reference.py.
3 endpoints in this group.
GET /api/consent
Get Consent Map
Return current consent state for the toggle-able UI types.
Responses
| Code | Description |
|---|---|
200 | Successful Response |
POST /api/consent
Post Consent
Record a consent grant or revoke from the settings UI.
Request body: application/json
Responses
| Code | Description |
|---|---|
201 | Successful Response |
422 | Validation Error |
GET /api/consent/{consent_type}
Get Consent One
Return {type, granted} for one consent type.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
consent_type | path | string | required |
Responses
| Code | Description |
|---|---|
200 | Successful Response |
422 | Validation Error |