Unrated-Limited-Unlimited / ua-backend

4 stars 0 forks source link

Document REST endpoints #13

Closed Veggissss closed 5 months ago

Veggissss commented 7 months ago

As a front-end developer I want to be able to quickly utilize the REST API.

Requirement: Use OpenAPI to document the different REST endpoints: /login /logout /register

Neelzee commented 6 months ago

Microservice: ua-fiso:

Does no authentication, To differentiate between profile-pic and whisky-img, we can prefix p or w, to the id of the whisky or user.

GET /api/img/<id>

Response:

POST /api/img/<id>

Request:

Veggissss commented 5 months ago

Docs for backend is currently on this branch. WIP

Veggissss commented 5 months ago

Backend endpoint docs can be viewed at https://api.unrated.no/ or http://localhost:8000/

Closing issue