You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
Batch API (http://elasticinbox.github.io/api/v2/batch/) is more efficient than single requests because EI, in turn, performs batch request to Cassandra. Therefore, if you are deleting 100 messages through batch API, there will be only one request sent to Cassandra node.
Obviously, for batch operations operating on many messages the batch command is more efficient. I meant, for a single message, is it the same to call the single DELETE method than calling a batch DELETE with a single id?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I mean, can I just replace...
DELETE /rest/v2/:domain/:user/mailbox/message/:uuid
withDELETE /rest/v2/:domain/:user/mailbox/message
and
PUT /rest/v2/:domain/:user/mailbox/message/:uuid
withPUT /rest/v2/:domain/:user/mailbox/message
...and send a JSON array consisting of a single
:uuid
?Are there any side effects?
The text was updated successfully, but these errors were encountered: