Update api authored by Dillenn Terumalai's avatar Dillenn Terumalai
...@@ -3,5 +3,7 @@ ...@@ -3,5 +3,7 @@
| Resource | Method | URI | Params | Description | Middleware | | Resource | Method | URI | Params | Description | Middleware |
| ----- | ----- | ----- | ----- | ----- | ----- | | ----- | ----- | ----- | ----- | ----- | ----- |
| notification | **GET** | users/notifications | - | Return the user's notifications | auth | | notification | **GET** | users/notifications | - | Return the user's notifications | auth |
| notification | **PATCH** | notifications/{id}/update_status | { status: VALID/INVALID } | Update notification's status | auth | | notification | **PATCH** | notifications/{id}/update_status | { status: READ/UNREAD } | Update notification's status | auth |
| input_project | **GET** | users/input_projects | - | Return the user's notifications | auth | | input_project | **GET** | users/input_projects | - | Return the user's notifications | auth |
| input_project / monitor_project | **GET** | projects/{id} | - | Return a specific project | auth |
| input_project | **POST** | projects/input_project/create | { title: *string*, description: *string* } | Create a new input_project | auth |
\ No newline at end of file