Skip to content
GitLab
Explore
Sign in
This is an archived project. Repository and other project resources are read-only.
SPSP
spsp-vue
Wiki
api
api
· Changes
Page history
Update api
authored
Dec 03, 2019
by
Dillenn Terumalai
Hide whitespace changes
Inline
Side-by-side
api.md
View page @
0892894c
...
@@ -4,6 +4,9 @@
...
@@ -4,6 +4,9 @@
| ----- | ----- | ----- | ----- | ----- | ----- |
| ----- | ----- | ----- | ----- | ----- | ----- |
| 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: READ/UNREAD } | 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
notification
s | auth |
| input_project |
**GET**
| users/input_projects | - | Return the user's
input_project
s | auth |
| input_project / monitor_project |
**GET**
| projects/{id} | - | Return a specific project | 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 |
| input_project |
**POST**
| projects/input_project/create | { title:
*String*
, description:
*String*
} | Create a new input_project | auth |
\ No newline at end of file
| input_project / monitor_project |
**GET**
| projects/{id}/samples | - | Return the samples of the project | auth |
| monitor_project |
**GET**
| users/monitor_projects | - | Return the user's monitor_projects | auth |
| monitor_project |
**POST**
| projects/monitor_project/create | { title:
*String*
, description:
*String*
, access_level: RESTRICTED/EXTENDED/FULL, query:
*queryBuilder*
| Create a new monitor_project | auth |
\ No newline at end of file