SiteEventBatchResult
acceptedintegerrequired
New events, recorded and queued.
duplicatesintegerrequired
Events with an id the site had already reported. Nothing changes.
rejected object[]required
Refused events, each with its position and the reason. The rest of the batch goes on.
Array [
indexintegerrequired
The event's position in events.
idstringnullablerequired
The event's id, when it carried one.
errorstringrequired
The field and the reason: name: ..., or too_large when data and contact go over 64 KB.
Example:
occurred_at: Invalid datetime]
SiteEventBatchResult
{
"accepted": 0,
"duplicates": 0,
"rejected": [
{
"index": 0,
"id": "string",
"error": "occurred_at: Invalid datetime"
}
]
}