Productsup

Stream all items from the input file in one response.

Will stream every item of the file in one response, 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 of a complete stream. ERROR (0x03): a MessagePack {"message": ...} map, sent instead of END when the stream fails after the 200 response. Not available when the connector reads its input from a data store.

GET
/input/{type}/stream

Path Parameters

type*string
Match^(input|new|modified|unchanged|deleted)$

Query Parameters

show-hidden?boolean

Show (1) or hide (0) the columns whose names start with three underscores (___); hidden by default.

classification-id?integer

Classification ID for CSA export-delta

Response Body

application/octet-stream

application/json

application/json

application/json

curl -X GET "https://loading/input/string/stream"
Empty
{
  "message": "Bad request.",
  "errors": {
    "classification-id": "This value does not have valid integer."
  }
}
{
  "message": "Requested file not provided."
}
{
  "message": "Invalid file."
}