Source: equa-server/modules/api/src/endpoints/color-endpoints.ts
Color Endpoints
Endpoints for managing user-specific color preferences used for UI theming. Colors are scoped per user and target (e.g., a specific entity or UI element). All color endpoints require authentication. Endpoint count: 4Create/Update Color
| Field | Value |
|---|---|
| Auth | Required |
| Request Type | NewColorRequest |
| Parameter | Type | Description |
|---|---|---|
user | uuid | User ID |
target | string | Target identifier for the color preference |
NewColorRequest):
List Colors
| Field | Value |
|---|---|
| Auth | Required |
| Request Type | UserRequest |
| Parameter | Type | Description |
|---|---|---|
user | uuid | User ID |
Get Color
| Field | Value |
|---|---|
| Auth | Required |
| Request Type | UserRequest |
| Parameter | Type | Description |
|---|---|---|
user | uuid | User ID |
target | string | Target identifier |
Delete Color
| Field | Value |
|---|---|
| Auth | Required |
| Request Type | UserRequest |
| Parameter | Type | Description |
|---|---|---|
user | uuid | User ID |
target | string | Target identifier |