You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do so many API requests seem to respond with unnecessary responses?
I'll give you a few examples:
If you fetch the comments to a post, it will also include the community and the post it was commented in for each comment. I have this information already from fetching the post.
When requesting your private_messages, it will include the recipient per pm, I am the recipient, I don't need this information. (same goes for mentions and replies)
user/mark_all_as_read the endpoint that marks all unread mentions/replies/messages as read will also return all the replies. Why does it return the replies and why does it only return the replies?
So many responses include the full objects where a simple id for that object suffices. And sometimes like in the cases above, that id imo is not even needed.
The text was updated successfully, but these errors were encountered:
MV-GH
changed the title
Question: Why do so many API requests seem to respond with unnecessary responses causing unneccessary bandwith usage?
Question: Why do so many API requests seem to respond with unnecessary responses causing unneccessary bandwidth usage?
Jul 29, 2023
MV-GH
changed the title
Question: Why do so many API requests seem to respond with unnecessary responses causing unneccessary bandwidth usage?
Question: Why do so many API requests seem to respond with unnecessary responses causing extra bandwidth usage?
Jul 29, 2023
Question
Why do so many API requests seem to respond with unnecessary responses?
I'll give you a few examples:
user/mark_all_as_read
the endpoint that marks all unread mentions/replies/messages as read will also return all the replies. Why does it return the replies and why does it only return the replies?So many responses include the full objects where a simple id for that object suffices. And sometimes like in the cases above, that id imo is not even needed.
The text was updated successfully, but these errors were encountered: