stumpapp / stump

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

Basic reading list support #37

Open aaronleopold opened 1 year ago

aaronleopold commented 1 year 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 1 year ago

I can take it