Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Latest commit

 

History

History
32 lines (29 loc) · 1.73 KB

README.md

File metadata and controls

32 lines (29 loc) · 1.73 KB

Routes

User
/api/v1/user
Method Description Params Auth required
GET Get all active sessions self: (1, 0) +
POST Sign in login: String, password: String
PUT Sign up login: String, password: String
DELETE Close session self: (1, 0), id: Int +
History
/api/v1/history
Method Description Params Auth required
GET Get all history +
POST Store new, updated and deleted items and return another updated: [], deleted: [] +
DELETE Delete one item from history id: Int +
Favourites
/api/v1/favourites
Method Description Params Auth required
GET Get all favourites +
POST Store new, updated and deleted items and return another updated: [], deleted: [] +
DELETE Delete one item from favourites id: Int +