Skip to content

Upsert reading progress​

PUT
/kosync/syncs/progress

Create or update reading progress for a document/device pair. Also appends to the progress history table (fire-and-forget). Returns the persisted progress entry. Credentials are verified on every request, but only failed checks count against the per-user brute-force budget, so a device that keeps syncing never throttles itself.

Request Body​

application/json
JSON
{
  
"document": "string",
  
"progress": "string",
  
"device": "string",
  
"percentage": 0,
  
"device_id": "string"
}

Responses​

Persisted reading progress

application/json
JSON
{
  
"document": "string",
  
"progress": "string",
  
"percentage": 0,
  
"device": "string",
  
"device_id": "string",
  
"timestamp": 0
}

Samples​