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

Lemmy

2172 readers
18 users here now

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

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago

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