Utility endpoint to allow submitting multiple independent requests at once.
This is used, for example, to poll multiple rooms on the same server for updates in a single query rather than needing to make multiple requests for each room. No guarantee is made as to the order in which sub-requests are processed; use the /sequence instead if you need that. For contained subrequests that specify a body (i.e. POST or PUT requests) exactly one of json, b64, or bytes must be provided with the request body.
Request body
Response
Batch jobs completed. Note that 200 only means the batch was processed; for individual sub-requests see the relevant sub-response code. The returned array returns responses in exactly the same order as the request's list of sub-requests (regardless of the actual order jobs were processed).
Changes
Changed in 3 of the 21 revisions of this API.322
- ▲
the
items/bytesrequest property type/format changed from/binarytostring/binaryrequest-property-type-changed
- ▲
- ▲
the
items/bytesrequest property type/format changed fromstring/byteto/binaryrequest-property-type-changed
- ○
added the new optional request property
items/b64new-optional-request-property
- ○
added the new optional request property
items/headersnew-optional-request-property
- ▲
- ▲
the
items/bytesrequest property type/format changed fromstring/binarytostring/byterequest-property-type-changed
- ●
removed the request property
items/b64request-property-removed
- ●
removed the request property
items/headersrequest-property-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲