Mattermost-server: [Help Wanted] [PLT-6950] Add v4 endpoint for bulk selecting reactions based on provided post IDs

Created on 29 Jun 2017  路  13Comments  路  Source: mattermost/mattermost-server

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.

Per https://github.com/mattermost/platform/issues/6740

TecGo

Most helpful comment

Still working on this. Should have a PR out sometime this week.

All 13 comments

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:

Was this page helpful?
0 / 5 - 0 ratings