DataUpload

Data JSON Upload

post/collect/json/{stream}

Request

  • Base URL
    https://api.lytics.io
  • URL
    https://api.lytics.io/collect/json/{stream}
  • Auth
    API key in header Authorization

Path parameters

streamstring required

The DataType, or "Table" of type of data being uploaded

Query parameters

account_idstring

Your Lytics account ID.

access_tokenstring required

The Lytics DATA API key (not management key)

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

statusnumber
messagestring

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.