|
|
# Requisitos API
|
|
|
|
|
|
## Resource: auth
|
|
|
## Resource: auth #2
|
|
|
|
|
|
#2 US 01: POST /login
|
|
|
Req #: POST /login
|
|
|
|
|
|
## Resource: users
|
|
|
## Resource: users #1
|
|
|
|
|
|
GET /
|
|
|
Req #: GET /
|
|
|
|
|
|
POST /
|
|
|
Req #: POST /
|
|
|
|
|
|
DELETE /{id}
|
|
|
Req #: DELETE /{id}
|
|
|
|
|
|
GET /{id}
|
|
|
Req #: GET /{id}
|
|
|
|
|
|
PUT /update
|
|
|
Req #: PUT /update
|
|
|
|
|
|
## Resource: faixa-etaria
|
|
|
## Resource: faixa-etaria #4
|
|
|
|
|
|
Req #9: GET /
|
|
|
|
|
|
Req #6: POST /
|
|
|
|
|
|
#8 DELETE /{id}
|
|
|
Req #8: DELETE /{id}
|
|
|
|
|
|
GET /{id}
|
|
|
Req #9: GET /{id}
|
|
|
|
|
|
PUT /update
|
|
|
Req #7: PUT /update
|
|
|
|
|
|
## Resource: eixo
|
|
|
## Resource: eixo #3
|
|
|
|
|
|
GET /
|
|
|
Req #13: GET /
|
|
|
|
|
|
POST /
|
|
|
Req #10: POST /
|
|
|
|
|
|
DELETE /{id}
|
|
|
Req #12: DELETE /{id}
|
|
|
|
|
|
GET /{id}
|
|
|
Req #13: GET /{id}
|
|
|
|
|
|
PUT /update |
|
|
Req #11: PUT /update |