If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide, specifically for machine setup and for developer workflow.
Notes: Jira ticket
Summary: Add a new endpoint for bulk selecting reactions to posts.
Problem it solves: Prevents needing to make a separate request for each post to load all the reactions in a channel.
HTTP Verb: POST
Endpoint: /api/v4/posts/ids/reactions
Request body: A JSON array of post IDs to get reactions for.
Response body: A JSON object mapping post IDs to arrays of reactions. Posts with no reactions should have an empty array.
Implementation help: This will likely need new app and store functions. Also please see https://docs.mattermost.com/developer/api4.html for details on implementing APIv4 endpoints. Please add the handler in the api4/reaction.go file.
Interested
Awesome, thanks @uriklagnes! Let us know if there are any questions
I'd like to pick this up. Is that cool @jasonblais ?
That would be great, thank you @theblueskies!
@theblueskies Let us know if you have any questions?
@jasonblais Yes, i'll ask on the api v4 channel on the mattermost developer channel.
Hi, I would like to try this.
Still working on this. Should have a PR out sometime this week.
@gupsho How is your implementation going? Do you have questions?
Hi @hanzei I was not able to work on it for last few weeks and probably wont be able to during the holiday season. Can pick it up again in the new year but feel free to assign to somebody if they can work on it sooner. Apologies for the delay.
Hey @gupsho,
Thanks for the reply. I will make this ticket available to the public again. If no one pick its put, it would be great if you work on this once you got the time!
I can pick this one
Nice. Thanks @pradeepmurugesan! :tada:
Most helpful comment
Still working on this. Should have a PR out sometime this week.