You need to enable JavaScript to run this app.
MTAA APP
2.0.0
OAS3
/assets/documentation.yaml
REST API documentation by Peter Škríba & Filip Čaplák.
Servers
https://mtaa-app-backend.herokuapp.com - Main API endpoint.
http://127.0.0.1:4466 - Localhost API endpoint.
Authorize
Authentication
POST
/signin
Returns a logged user and auth token.
POST
/signup/customer
Creates customer and generates auth token.
POST
/signup/service
Creates service and generates auth token.
GET
/me
Returns logged user information.
Services
GET
/services
Returns list of services according to filter.
GET
/services/{id}
Returns service detail.
DELETE
/services/{id}
Removes service from favorites.
GET
/services/{id}/menu
Returns list of items of given service.
PUT
/services/favorite
Add service to favorites.
Orders
GET
/orders
Returns a list of orders.
GET
/orders/history
Returns a list of my orders.
GET
/orders/{id}
Returns order detail.
PUT
/orders/status
Updates order status.
Items
GET
/items
Returns list of items.
POST
/items
Creates item.
GET
/items/{id}
Returns item detail.
DELETE
/items/{id}
Deletes item.
Cart
GET
/cart
Returns cart information.
POST
/cart
Add item to cart.
DELETE
/cart
Removes cart.
GET
/cart/info
Returns basic cart information.
DELETE
/cart/{id}
Removes item from cart.
PUT
/cart/pay
Move cart to orders.
Profile
GET
/profile/customer
Returns customer profile informations.
PUT
/profile/customer
Updates customer profile informations.
GET
/profile/service
Returns service profile informations.
PUT
/profile/service
Updates service profile informations.
POST
/profile/address
Upserts address.
Schemas
AuthPayload
OpeningHour
Role
ID
Status
Payment
ServiceCategory
ItemCategory
Day