POST /auth/signup
Method for user signup
Input:
- login
- password
Response:
- access token
POST /auth/signin
Method for user signin
Input:
- login
- password
Response:
- access token
ALL private methods requiers access token
POST /refresh
Refreshing access token
Input:
- refresh token
Response:
- access token
POST /logout
Clears cookies
GET /get/list
Response:
- All tasks
- All categories
GET /get/task
Input:
- id
Response:
- task
GET /get/category
Input:
- id
Response:
- category
POST /task *or* category/create
Input:
- title
- description
Output:
- task
POST /task *or* category/delete
Input:
- id
POST /task *or* category/change
Input:
- title
- description