DataUpload
BulkJSONUpload
JSON formatting info.
This JSON is ok:
{"order_ids":[1,2,3]}
This is not valid because it has objects nested inside arrays:
{"orders":[{"id":1,"price":22},{"id":2,"price":23}]}
post/collect/bulk/{streamname}
Request
- Base URLhttps://api.lytics.io
- URLhttps://api.lytics.io/collect/bulk/{streamname}
- AuthAPI key in header Authorization
Path parameters
streamnamestring required
The DataType, or "Table" of type of data being uploaded
Query parameters
account_idstring
Your Lytics account ID.
access_tokenstring
The Lytics DATA API key. Not the management key. Or use Authorization Header.
dryrunboolean
timestamp_fieldstring
The name of the column or field in file that contains event timestamp.
filenamestring
Just for record-keeping in our event - stream.
Response
OK
Example response
{
"status": 200,
"message": "success",
"data": {
"message_count": 2,
"rejected_count": 0,
"content-type": "application/json",
"droperrors": false,
"dryrun": false,
"timestamp_field": "event_created",
"filename": "myfile.json"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.