Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Alejandrin08/Hackathon-SPEI/llms.txt
Use this file to discover all available pages before exploring further.
This profile can be auto-populated by the AI accessibility model during the onboarding wizard, then manually overridden in Preferences. See Accessibility Recommendation for the AI endpoint.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api/profile/accessibility | Retrieve the user’s accessibility profile |
PUT | /api/profile/accessibility | Update the user’s accessibility profile |
GET /api/profile/accessibility
Returns the current accessibility preferences for the authenticated user.Response
200 OK
Optional accessibility alias or label for the profile.
User’s age range, e.g.,
"18_30", "31_50", "51_60", "60_plus".User’s self-reported digital literacy level, e.g.,
"low", "medium", "high".Active visual theme. Default:
"light". Common values set by the AI model: "standard-accessible", "large-text-high-contrast", "voice-assisted".Whether screen reader mode is enabled. Default:
false.Font scale multiplier currently applied. Range: 0.5–3.0. Default:
1.0.Guidance nudging intensity. One of
"low", "medium", or "high". Default: "medium".Whether voice feedback is enabled. Default:
false.Example
PUT /api/profile/accessibility
Updates the accessibility preferences for the authenticated user.Request body
Visual theme to apply. The
theme field is required. Common values: "light", "standard-accessible", "large-text-high-contrast", "voice-assisted".Enable or disable screen reader mode.
Font scale multiplier. Must be between
0.5 and 3.0. Default: 1.0.Guidance nudging intensity. Accepted values:
"low", "medium", "high". Default: "medium".Enable or disable voice feedback.
Optional label for this accessibility configuration. Maximum 100 characters.
User’s age range. Maximum 50 characters.
User’s digital literacy level. Maximum 50 characters.
Response
200 OK
Returns the updated accessibility profile with the same structure as the GET response.Error responses
| Status | Description |
|---|---|
400 Bad Request | Validation error — fontScale out of range (must be 0.5–3.0) or missing required fields. |
401 Unauthorized | Invalid or expired token. |
