Authorization: ********************{
"operations": [
{
"type": "quiz_submit",
"offline_id": "string",
"offline_at": "2019-08-24T14:15:22.123Z",
"data": {}
}
]
}curl --location 'https://diveraid.test/api/v1/sync/upload' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"operations": [
{
"type": "quiz_submit",
"offline_id": "string",
"offline_at": "2019-08-24T14:15:22.123Z",
"data": {}
}
]
}'{
"status": "success",
"message": "string",
"data": {
"processed": 0,
"results": [
{
"offline_id": "string",
"type": "string",
"status": "success",
"data": {},
"error": "string"
}
]
}
}