stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
1.01k stars 45 forks source link

Basic reading list support #37

Open aaronleopold opened 2 years ago

aaronleopold commented 2 years ago

A user should be able to add media to a reading list, like a playlist but for books. Reading lists may be either for a user or for a set of users

Core tasks:

Basic REST endpoints:

# get all reading lists *created* by session user
GET /api/reading-list -> ReadingList[]
# get reading list by id IF *created* by session user
GET /api/reading-list/:id -> ReadingList

# create reading list, take in something like: { media_ids: string[]; }
POST /api/reading-list -> ReadingList
# update reading list, take in something like: { media_ids: string[]; }. replace with input
PUT /api/reading-list -> ReadingList

# delete reading list by id IF *created* by session user
DELETE /api/reading-list/:id -> ReadingList

Interface tasks:

berkingurcan commented 2 years ago

I can take it