These endpoints let authenticated users manage their own account settings, and help the app populate contact lists and user-search results with paginated, name-filtered data.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Rubick65/calenderyBack/llms.txt
Use this file to discover all available pages before exploring further.
Get user settings
Returns the editable account settings for the authenticated user — including a signed Supabase URL for their current profile photo. RequiresROLE_USER and ownership (#idUsuario == authentication.principal.idUsuario).
Query parameters
Numeric ID of the user whose settings to fetch. Must match the authenticated principal.
Response 200 OK
The user’s current display name (not blank).
A signed Supabase Storage URL for the current profile photo.
The user’s bio / description.
Response
Update user settings
Persists new values for the user’s editable settings fields. RequiresROLE_USER and ownership (#idUsuario == authentication.principal.idUsuario).
Query parameters
Numeric ID of the user to update. Must match the authenticated principal.
Request body
Updated display name. Must not be blank.
Updated profile photo URL.
Updated bio / description.
Response
| Status | Meaning |
|---|---|
204 No Content | Settings saved. Empty body. |
403 Forbidden | idUsuario does not match the authenticated user. |
List all users
Returns an array of allUserDto records in the system. Requires an authenticated session.
Response 200 OK
An array of UserDto objects.
Numeric user ID.
Display name.
Email address.
Bio / description.
Hashed password.
Profile photo URL.
E2E encryption public key.
Follower count.
Following count.
Whether the account is activated.
List of assigned
Rol objects.Update a user
Replaces a user record with the providedUserDto. Requires an authenticated session.
Request body
FullUserDto object (see fields in List all users).
Response
| Status | Meaning |
|---|---|
204 No Content | User updated. Empty body. |
Delete a user by ID
Permanently deletes a single user record. Requires an authenticated session.Path parameters
Numeric ID of the user to delete.
Response
| Status | Meaning |
|---|---|
204 No Content | User deleted. Empty body. |
Delete all users
Permanently deletes every user record in the system. Use with caution. Requires an authenticated session.Response
| Status | Meaning |
|---|---|
204 No Content | All users deleted. Empty body. |
Get paginated chat contacts
Returns a paginated list of the caller’s existing chat contacts, optionally filtered by display name. Each result includes the last message exchanged in the shared chat and a flag indicating unread messages. RequiresROLE_USER.
Query parameters
Name fragment to filter contacts. Pass an empty string to return all contacts.
Zero-based page number (default
0).Number of items per page (default
10).Sort expression, e.g.
nombre,asc.Response 200 OK
A Spring Page envelope containing UserChatDataDto items.
Contact’s numeric user ID.
Contact’s display name.
Contact’s profile photo URL.
ID of the shared chat session.
Text of the last message in the chat.
true if there are unread messages from this contact.Total contacts matching the filter.
Total number of pages.
Current page number (zero-based).
Page size used for this response.
Response
Search users by name
Returns a paginated list of users whose display name matches the given fragment, excluding the calling user. Designed for the “Find people” search UI. RequiresROLE_USER.
Query parameters
Name fragment to search for.
Zero-based page number (default
0).Number of items per page (default
10).Sort expression, e.g.
nombre,asc.Response 200 OK
A Spring Page envelope containing UserReducedData items.
Numeric user ID.
Display name.
Profile photo URL.
Total users matching the search.
Total number of pages.
Current page number (zero-based).
Page size used for this response.
Response