-
Notifications
You must be signed in to change notification settings - Fork 78
Stats for multiple categories in one API call #129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello @neelabhtiwari, You would call the Please let me know if that solves your issue. Thank you! With best regards, Elmer |
Hi Elmer, Apologies for late reply but I had actually tried this already. This doesn't work. The addQueryParam will just replace the previously set category with the latter one. Please see the following example -
Expected would be to get category stats for all three categories but it would just replace the category value with the latest one i.e. prod. Thanks & Regards, |
This issue has been added to our internal backlog to be prioritized. Pull requests and +1s on the issue summary will help it move up the backlog. |
+1 |
Issue Summary
Sendgrid API v3 Reference for categories/stats endpoints states that API call can be made to get stats for upto 10 categories.
However, it does not provide any reference for how to make that API call. I checked the code for addQueryParam here
https://github.com/sendgrid/java-http-client/blob/main/src/main/java/com/sendgrid/Request.java
which takes categories as only key-value pair. How are we supposed to pass "upto 10 categories"?
Steps to Reproduce
Code Snippet
paste exception/log here
The text was updated successfully, but these errors were encountered: