v1
latestSwagger 2.02026-07-17176789777.3 KBbatch
Submit a list of one or more intentful REST APIs to be processed
Batching allows for instructions for several operations to be sent using a single HTTP request. Depending on the batch parameters, the Nutanix v3 gateway processes each independent operation sequentially or in parallel. Once all operations in the batch have been completed, a consolidated response is returned and the HTTP connection is closed. The batch API takes an array of logical HTTP requests represented as JSON arrays. Maximum size of the array should not exceed 60. Each request comprises the following:
- A method (corresponding to HTTP methods such as GET, PUT, and POST)
- A relative URL (relative_url)
- (Optional) A body (for POST and PUT requests). The batch API returns an array of logical HTTP responses represented as JSON arrays containing the following:
- A status code
- (Optional) A body represented as a JSON-encoded string
post/batch
Request body
Response
Success