mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
updated todo
This commit is contained in:
21
src/api/TODO
Normal file
21
src/api/TODO
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Todo :
|
||||||
|
- view friend's activity status
|
||||||
|
- add a privacy setting so not anybody can GET friends, match history, etc. (what are the RGPD requirements ?) ?
|
||||||
|
- test updated score storing (delays)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
User API :
|
||||||
|
POST /users/:userId/avatar + {image} (calls POST /images, stores returned imageId in DB at :userId)
|
||||||
|
GET /users/:userId/avatar -> {image}
|
||||||
|
DELETE /users/:userId/avatar (calls DELETE /images/:imageId, clears imageId in DB at :userId)
|
||||||
|
PATCH /users/:userId/avatar + {image} (emulates a DELETE /users/:userId/avatar and a POST /users/:userId/avatar) -> use uMember instead ?
|
||||||
|
- provide a random kanel image from Adam's website ?
|
||||||
|
|
||||||
|
Image API :
|
||||||
|
- convert everything to webp (using @fastify/sharp)
|
||||||
|
- test size max
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Always update API docs
|
||||||
Reference in New Issue
Block a user