API Description | API Path |
---|---|
Register a Collection of API Calls at a Single End PointEnables you to make multiple API requests using a single request. The batch API takes in an array of logical HTTP requests represented as JSON arrays. Each request has a method (GET, PUT, POST, or DELETE), a relative_url (the portion of the URL after https://<nsx-mgr>/api/), optional headers array (corresponding to HTTP headers) and an optional body (for POST and PUT requests). The batch API returns an array of logical HTTP responses represented as JSON arrays. Each response has a status code, an optional headers array and an optional body (which is a JSON-encoded string). |
POST /api/v1/batch
|
Get information about all tasks |
GET /api/v1/tasks
|
Get information about the specified task |
GET /api/v1/tasks/<task-id>
|
Get the response of a task |
GET /api/v1/tasks/<task-id>/response
|