Interface Specifications - HunYahiko/smart-parking-system GitHub Wiki
Endpoints | Method | Request Body | Request Param | Response Status | Response Body |
---|---|---|---|---|---|
"/v1/api/users" | GET | NONE | NONE | 200 | List<UserDTO> |
"/v1/api/users" | POST | UserDTO | NONE | 201 | NONE |
"/v1/api/users" | PUT | UserDTO | ?username= | 204 | NONE |
"/v1/api/users" | DELETE | NONE | ?username= | 204 | NONE |
"/v1/api/auth/sing-in" | POST | LoginDTO | NONE | 200 | AuthenticationResponse(token) |
"/v1/api/booking" | POST | ParkingDTO | NONE | 200 | ParkingLotDTO |