For an overview of how to make batch API requests, see batch requests.
Batch
Property | Type | Description |
---|---|---|
status_code | integer | The HTTP status code that the invoked endpoint returned. |
headers | object | A map of HTTP headers specific to this result. This is primarily used for returning a Location header to accompany a 201 Created result. The parent HTTP response will contain all common headers. |
body | object | The JSON body that the invoked endpoint returned. |
Example JSON for Batch
:
{
"status_code": 200,
"headers": {
"location": "/tasks/1234"
},
"body": {
"data": {
"gid": "1967",
"completed": false,
"name": "Hello, world!",
"notes": "How are you today?"
}
}
}