feat: Adding notifications endpoint
This commit is contained in:
@@ -391,6 +391,15 @@ This endpoint is part of /loads endpoint
|
||||
|
||||
- `GET /loads/find?$sort[createdAt]=-1&load_status=Loading`: Get loads with status "Loading" sorted by createdAt.
|
||||
|
||||
### /notifications
|
||||
|
||||
- `GET /` : Get list of latest notifications:
|
||||
- `DELETE /:id` : Delete a single notification.
|
||||
|
||||
In order to delete a list of notifications use the following query:
|
||||
|
||||
`DELETE ?list[0]=66b6d50ce91a3a5b96686863&list[1]=66b6d50ce91a3a5b96686863&list[2]=66b6d50cf193e37bb1dd913d`
|
||||
|
||||
### /proposals
|
||||
|
||||
- `GET /find` : Find a list of elements with any of the following fields:
|
||||
|
||||
Reference in New Issue
Block a user