Utility endpoint to submit a batch of sequenced, dependent requests.
The requests are guaranteed to be performed sequentially in the order given in the request and will abort if any request does not return a status-2xx response. For example, this can be used to ban and delete all of a user's messages by sequencing the ban followed by the delete_all: if the ban fails (e.g. because permission is denied) then the delete_all will not occur. The batch body and response are identical to the /batch endpoint; requests that are not carried out because of an earlier failure will have a response code of 412 (Precondition Failed)."
Request body
Response
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
- ▲