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 @
c8473271
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
| Resource | Method | URI | Params | Description | Middleware |
| Resource | Method | URI | Params | Description | Middleware |
| ----- | ----- | ----- | ----- | ----- | ----- |
| ----- | ----- | ----- | ----- | ----- | ----- |
| auth |
**POST**
| authentication/signin | { username:
*String*
, password:
*String*
} | Login | - |
| auth |
**POST**
| authentication/signin | { username:
*String*
, password:
*String*
} | Login | - |
| auth |
**GET**
| authentication/user | - | Check and update the JWT |
-
|
| auth |
**GET**
| authentication/user | - | Check and update the JWT |
auth
|
| 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 input_projects | auth |
| input_project |
**GET**
| users/input_projects | - | Return the user's input_projects | auth |
...
...