post https://management-api.wonderpush.com/v1/batch
Perform multiple calls in one HTTP round-trip.
Perform multiple calls in one HTTP round-trip. Limited to 100 requests per call, 1 MB of POST body for the whole batch, 10 seconds of execution time for the whole batch (above which the server closes the connection with a 500 error, but continues processing).
The requests
parameter expects a JSON array of request object with the following fields:
method
: HTTP verb string, one of"GET"
,"POST"
,"PUT"
,"PATCH"
or"DELETE"
path
: string path to an end-point of the Management API, eg.:"/v1/installations/Android:fakedeviceid"
args
(optional): object giving the arguments values, eg.:{"userId":null,"overwrite":false}
body
(optional): expected body of the end point chosen in path, eg.:{"custom":{"string_foo":"bar"}}