feat: Adding load-attachments endpoints

This commit is contained in:
2023-10-07 00:03:53 -06:00
parent e538e229f3
commit 964a94eec8
7 changed files with 88 additions and 7 deletions

View File

@@ -27,6 +27,7 @@ Read registered resources:
- `GET /meta-data`: List registered meta-data.
- `GET /meta-groups`: List registered meta-data.
- `GET /product-categories`: List registered product-categories.
- `GET /public-load-attachments/download/:id`: Downloads the attachment of the load identified by Id.
- `GET /public-vehicles`: List registered product-categories.
- `GET /states`: List registered states.
@@ -40,6 +41,10 @@ All these endpoints support the following parameters (except for those with `pub
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.
## Test Endpoint
A private endpoint to test the JWT and the api response.