/auth

Checked N ENDPOINT M. HTTP Responsible
Y 1 /auth/login POST Customer
Y 2 /auth/login POST Manager
Y 3 /auth/login POST Employee

JSON


/customers

Checked N ENDPOINT M. HTTP Responsible
Y 1 /customers/{username} GET Customer
Y 2 /customers GET Employee
Y 3 /customers/{username}/orders GET Manager

JSON


/orders

Checked N ENDPOINT M. HTTP Responsible
Y 1 /orders GET Customer
Y 2 /orders GET Manager
Y 3 /orders/available GET Employee
Y 4 /orders POST Employee
Y 5 /orders/{id} GET Customer
Y 6 /orders/{id} GET Manager
Y 7 /orders/{id}/volumes GET Customer
Y 8 /orders/{id}/volumes GET Manager
Y 9 /orders/{id}/deliver PATCH Employee

JSON


/volumes

Checked N ENDPOINT M. HTTP Responsible
Y 1 /volumes/{id} GET Customer
Y 2 /volumes/{id} GET Manager
Y 3 /volumes/{id}/sensors GET Customer
Y 4 /volumes/{id}/sensors GET Manager
Y 5 /volumes/{id}/products GET Customer
Y 6 /volumes/{id}/products GET Manager
Y 7 /volumes/{id}/delivered PATCH Employee
Y 8 /volumes POST Employee

JSON


/managers

Checked N ENDPOINT M. HTTP Responsible
Y 1 /managers/{username} GET Manager

JSON