Productsup

Stream all items to the output file in one request.

Will write every item of the request body to the file. The body is sent as application/octet-stream and framed as kind (1 byte) | length (uint32 big-endian) | payload. ITEM (0x01): one row as a MessagePack map, an array when the row keys are exactly 0..n-1. END (0x02): the item count as an unsigned 64-bit big-endian integer, the last frame. A body that does not end with a valid END frame writes nothing. Not available for output when the connector writes its output to a data store.

POST
/output/{type}/stream

Path Parameters

type*string
Match^(output|feedback)$

Request Body

application/octet-stream

body*unknown

Response Body

application/json

application/json

application/json

application/json

curl -X POST "https://loading/output/string/stream"
{
  "message": "Written successfully."
}
{
  "message": "This connector writes its output to a data store, and therefore can not stream output files.",
  "errors": []
}
{
  "message": "File size reached maximum."
}
{
  "message": "Unsupported media type. Expected application/octet-stream."
}