feat: Adding groups feature without privacity enabled

This commit is contained in:
Josepablo Cruz
2026-03-30 16:52:38 -06:00
parent 4aefb75ef6
commit e2582f7464
7 changed files with 219 additions and 13 deletions

View File

@@ -237,6 +237,7 @@ The following list of endpoints requires a JWT.
- `GET /loads`: List loads related to my company.
- `GET /load-attachments`: List load attachments related to my company or load id.
- `GET /groups/private`: Get the private group for my company.
### /public-load-tracking
@@ -350,6 +351,12 @@ This endpoint is part of /loads endpoint
- `GET /users/:companyId` : Get the list of users within a company.
- `GET /:id` : Get data from specific company.
### /groups
- `GET /private` : Get the private group list from my company. If it does not exist, it will be created.
- `PATCH /private/:id` : Add a company (company id) to the private group list.
- `DELETE /private/:id` : Remove a company (company id) from the private group list.
### /load-attachments
- `POST /loading/:id` : Upload/Update a loading attachment.