Update API to return list of specified posts #246
brootle
started this conversation in
Medium CIPs
Replies: 2 comments 2 replies
-
sounds good for collections |
Beta Was this translation helpful? Give feedback.
0 replies
-
I suggest a new endpoint instead. This endpoint is already overloaded for getting feeds. Something like GetPostsByPostHashHexes and returns a map of post to post hash hex |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Let's update
get-posts-stateless
API, so we can pass array of post-hashes as parameter, so we get the list of posts objects in response.Update needs to be done here https://github.com/deso-protocol/backend/blob/aff732a2ad05d88cf634b678d15393bd93fb97d5/routes/post.go#L20
@diamondhands0 @lazynina @bluepartyhat
PS sure it must support pagination, similar like when fetching all posts
Beta Was this translation helpful? Give feedback.
All reactions