Method : POST
URI : /stream/upload_data
Body : json doc with details for uploading the data
Let’s say we wish to upload data from stream visitor to BRS, name the file visitor_upload.txt, then here is how the body will look like
{ "schema-name":"website", "stream-name":"visitor", "model_name":"sales_model", "duration_sec":86400, "file_name":"visitor_upload.txt" }
Response
{ "msg": "stream data uploaded to BRS successfully", "num_lines": 10, "file_size_bytes": 1062 }