postalserver / postalserver/postal

Bulk sending messages in single API call

Open
#183 1 comment 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
Ruby
Stars
16.8k
Forks
1.3k
Avg merge
13d 7h
Merged PRs (30d)
2

Description

It would be good to send multiple messages to the API in a single HTTP request. The current `send/message` and `send/raw` methods are designed for sending a single method.

A new method (or methods) will be needed for this purpose.

In theory, the API should simply accept an array of hashes containing the params that would normally be passed to the `send/message` or `send/raw` methods. It should then go through this array and compile a result hash that is the same format of that in the single messages above.

Contributor guide

Open the contributing guide

Research direction

Start by locating the API entry points for `send/message` and `send/raw` and read how their single-message results are assembled. Define how an array of equivalent parameter hashes should be accepted and how the combined result should preserve the existing single-message result format. Done means one HTTP request can process multiple messages through the API.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.