apiBatchRequestElement

A single element of a batch request, often part of a list with other elements.

JSON

property type description
method method (HTTPMethod) The type of request (e.g. POST, GET, etc.).
url url (string) The URL of the request. Must not have a scheme, host, or port. The path should be prefixed with "/api/", and should include path and query parameters.
body body (anyType) Optional body of the request. Must be serialized in accordance with #getContentType(). For application/json, use com.cloudera.api.ApiObjectMapper.
contentType contentType (string) Content-Type header of the request element. If unset, the element will be treated as if the wildcard type had been specified unless it has a body, in which case it will fall back to application/json.
acceptType acceptType (string) Accept header of the request element. The response body (if it exists) will be in this representation. If unset, the element will be treated as if the wildcard type had been requested.