Skip to main content
Source: equa-server/modules/api/src/endpoints.ts (inline privateEndpoints, lines 52–97)

Profile Endpoints

These endpoints are defined inline in the main endpoint registration file rather than in a dedicated module. They cover profile management, address records, an admin test endpoint, and a bulk member upload. All endpoints require authentication. Some require specific permissions. Endpoint count: 7

Upload Profile Document

Upload a file to a profile. Uses multipart/form-data with a configurable size limit (default 10 MB, set via AWS_S3_UPLOAD_SIZE_LIMIT_MB). Path Parameters:

Update Profile

Update profile fields. Path Parameters:

Get Profile

Get a profile by ID. Requires authentication but no specific permission. Path Parameters:

Get Address

Retrieve a single address record. Path Parameters:

Update Address

Update an existing address record. Path Parameters:

Admin Test

Simple endpoint that returns { "isAdmin": true } to verify site-level admin access.

Upload Member Details (Bulk)

Bulk upload member details via file. Uses the organization’s file storage middleware for upload processing.