23
submitted 1 year ago by idunnololz_test@lemmy.ml to c/lemmy@lemmy.ml

Hello! I'm the developer of Summit, one of the Lemmy apps.

I want to be able to mark a post as read using an API call.

I understand that fetching the post itself using the account JWT will mark the post as read for that account, however this also fetches a lot of data.

Trying to be as server friendly as possible, what is the least resource intensive way to mark a post as read and nothing else?

Also if there is a better place to ask this, please let me know.

top 3 comments
sorted by: hot top controversial new old
[-] nachtigall@feddit.de 5 points 1 year ago

Also if there is a better place to ask this, please let me know.

I recently learned there is !lemmydev@lemm.ee

[-] idunnololz_test@lemmy.ml 4 points 1 year ago

Oh wow. This looks perfect for this question. Thanks!

[-] 1rre@discuss.tchncs.de 1 points 1 year ago

If it comes to it then there's nothing stopping you adding an endpoint for that yourself...

this post was submitted on 09 Jul 2023
23 points (100.0% liked)

Lemmy

11947 readers
97 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS