Consider accepting an array of documents as batch ingestion


#1

Hello,

Regarding the ingestion API (https://dev.datasift.com/docs/platform/api/ingestion-api) when using bulk operations and sending the following payload:

{}
{“hello”: “world”}
{}

Notice that this is not valid JSON, however, the API is validating that we should send the header Content-Type: application/json in the request.

I would consider accepting an array of documents since that would be a valid JSON or removing the need to send the application/json content header.

Cheers


#2

Hi Lucas,

Thanks for your suggestion! I’ll add it to our discussion internally for consideration.

Sincerely,
Lars (Product)