PowerSync upload queue — batched CRUD operations
curl --request POST \
--url https://api.kazzle.app/api/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ops": [
{
"id": "<string>",
"op": "PUT",
"table": "<string>",
"data": {}
}
]
}
'{
"ok": true,
"discarded": true,
"code": "<string>",
"error": "<string>"
}curl --request POST \
--url https://api.kazzle.app/api/sync \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"ops": [
{
"id": "<string>",
"op": "PUT",
"table": "<string>",
"data": {}
}
]
}
'{
"ok": true,
"discarded": true,
"code": "<string>",
"error": "<string>"
}