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

Lemmy

12511 readers
47 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.

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago (1 children)

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

I recently learned there is [email protected]

[–] [email protected] 3 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

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