| Field | Type | Required | Description |
|---|---|---|---|
contentType |
String | ✔️ | HTTP response content type for this operation |
statusCode |
int | ✔️ | HTTP response status code for this operation |
rawResponse |
HttpResponse<?> | ✔️ | Raw HTTP response; suitable for custom response parsing |
responseJson |
Map<String, Object> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
responseBinary |
Optional<InputStream> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
responsePdf |
Optional<InputStream> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
responseXml |
Optional<String> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
responseCsv |
Optional<String> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
responseText |
Optional<String> | ➖ | Ok. When the request includes x-apideck-follow-redirects: false and the downstream response would otherwise redirect to a presigned URL (oversized responses), the body is instead an application/json object { url, expires_at } — fetch url explicitly (without the Authorization header) to retrieve the payload. |
errorJson |
Map<String, Object> | ➖ | Proxy error |
errorXml |
Optional<String> | ➖ | Proxy error |
errorHtml |
Optional<String> | ➖ | Proxy error |
errorText |
Optional<String> | ➖ | Proxy error |
headers |
Map<String, List\<String>> | ✔️ | N/A |