-
Notifications
You must be signed in to change notification settings - Fork 41
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
Document batch publish support in /rest-api. #553
Comments
Hey @tomczoink I agree we should do this given it's trivial to do. |
Recording the text I've been sending to customers here (since the api had somewhat changed since Paddy wrote that exercise, and it contains a lot of stuff not relevant to the customer): The batch publish endpoint is currently undocumented and not formally supported by the client lib, so to use it you need to use the Rest#request method, see https://www.ably.io/documentation/rest/usage#request . You POST to
where:
Example 1:
Example 2:
Example 3:
Make sure your request body obeys the following restrictions:
|
I think this description also needs examples of how to handle the different kinds of errors that arise (ie full vs partial errors). |
@tomczoink can this issue be closed? |
Currently we have no documentation for this besides https://gist.github.com/paddybyers/932cb484362713f52bfa762611b0b865 . We may not have immediate plans for integrating this into client libs proper (discussion proposal for that is ably/specification#64 ), but we should still document it on the rest-api page (possibly marked as
beta
) -- we've been pointing customers to it for a while now, so it's effectively a public api (ie we can't drastically change the interface without a reasonable deprecation period etc).The text was updated successfully, but these errors were encountered: