Back-end API of a tasks manager application
https://documenter.getpostman.com/view/18745991/VUxSs5U9
- POST:
/account/register
- Params type:
Body
- Body params:
firstName
,lastName
,email
andpassword
- POST:
/account/confirm
- Params type:
Body
- Body params:
email
- PATCH:
/account/confirm
- Param type:
Body
- Body params:
email
andconfirmationToken
- POST:
/account/reset/password
- Param type:
Body
- Body params:
email
- PATCH:
/account/reset/password/:id
- Params types:
Route
andBody
- Body params:
password
- POST:
/account/login
- Param type:
Body
- Body params:
email
andpassword
- POST:
/account/logout
- Param type:
Header
- Header param:
x-access-token
- GET:
/account/user
- Param type:
Header
- Header param:
x-access-token
- PATCH:
/account/user
- Param type:
Header
andBody
- Body params:
firstName
andlastName
(optional fields) - Header param:
x-access-token
- POST:
/subject/create
- Params types:
Body
andHeader
- Body param:
name
- Header param:
x-access-token
- GET:
/subject/list
- Param type:
Header
- Header param:
x-access-token
- GET:
/subject/:id
- Params types:
Header
andRoute
- Header param:
x-access-token
- PATCH:
/subject/:id
- Params types:
Header
,Body
andRoute
- Body param:
name
- Header param:
x-access-token
- DELETE:
/subject/:id
- Params types:
Header
andRoute
- Header param:
x-access-token
- POST:
/task/create
- Params types:
Body
andHeader
- Body param:
name
,subject
andfinalDate
- Header param:
x-access-token
- GET:
/task/list
- Param type:
Header
- Header param:
x-access-token
- GET:
/task/:id
- Params types:
Header
andRoute
- Header param:
x-access-token
- PATCH:
/task/:id
- Params types:
Header
,Body
andRoute
- Body param:
name
,subject
,finalDate
andfinished
(optional fields) - Header param:
x-access-token
- DELETE:
/task/:id
- Params types:
Header
andRoute
- Header param:
x-access-token
- GET:
/report
- Param type:
Header
andQuery
- Header param:
x-access-token
- Query Params:
status
- Must be separated by commas.
0
= In progress1
= Late2
= Finished
subject
- Subject ids, separated by commas.
finalDate
- Format:
YYYY-MM-DD
- To filter tasks of only one day, you can enter only one date.
- It is possible to enter two dates separated by commas, and the final dates will be considered within the informed period.
- It is not necessary to enter the dates in ascending order.
- Format:
language
- It is possible to inform the language of the report which, if not informed, will be generated by default in English.
en
= Englishes
= Spanishpt
= Portuguese
- Example =
/report/?status=0,1,2&subject=630bbf78a43262ceca616379,630bbf7f588bd78b550a5f5a&finalDate=2022-08-16,2022-01-12&language=pt