Skip to content

Update reading progress

PUT
/kosync/syncs/progress

Create or update reading progress for a document on a device. Upserts on (document, device) and appends to reading history.

Request Body

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

Responses

Progress saved

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

Samples