Sensitive Field Config Endpoint
Component Detail
Infrastructure
low complexity
backend
0
Dependencies
0
Dependents
0
Entities
0
Integrations
Description
REST API endpoint that returns the current sensitive field annotation registry and per-context warning behaviour settings for the authenticated tenant. Consumed by SensitiveFieldAnnotationService on startup and when the admin updates field annotations via the admin portal.
sensitive-field-config-endpoint
Responsibilities
- Serve the tenant-scoped sensitive field annotation manifest as JSON
- Support ETag-based conditional GET to minimise data transfer on unchanged config
- Expose a write endpoint so admins can toggle field sensitivity from the admin portal
Interfaces
GET /api/v1/accessibility/sensitive-fields
PUT /api/v1/accessibility/sensitive-fields/{fieldPath}
GET /api/v1/accessibility/sensitive-fields/config/{screenContext}