buzz.bookhive.putSyncProgress

Push reading progress for a document. Mirrors KOSync PUT /syncs/progress semantics.

Repository @bookhive.buzz did:plc:enu2j5xjlqsjaylv3du4myh4 namespace authority
Details · procedure
Kindprocedure
Authoritybookhive.buzz
Commit rev3n2mntp2l7c2e
Indexed
cid bafyreiasiufrzwtlosku6hiikfimlg5q2zw4ajvzmug56cjspcgtww4teu

Checks

Valid
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Push reading progress for a document. Mirrors KOSync PUT /syncs/progress semantics.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "device": {
              "description": "Device name",
              "type": "string"
            },
            "device_id": {
              "description": "Device identifier",
              "type": "string"
            },
            "document": {
              "description": "Document identifier",
              "type": "string"
            },
            "metadata": {
              "ref": "#syncMetadata",
              "type": "ref"
            },
            "percentage": {
              "description": "Reading progress as a decimal string (0-1, e.g. '0.42')",
              "type": "string"
            },
            "progress": {
              "description": "Reading progress position (KOSync format)",
              "type": "string"
            }
          },
          "required": [
            "document",
            "progress",
            "percentage",
            "device",
            "device_id"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "status": {
              "description": "Result status of the operation",
              "type": "string"
            }
          },
          "required": [
            "status"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    },
    "syncMetadata": {
      "description": "Optional metadata about the document being synced",
      "properties": {
        "authors": {
          "description": "Authors of the document",
          "type": "string"
        },
        "filename": {
          "description": "Original filename of the document",
          "type": "string"
        },
        "title": {
          "description": "Title of the document",
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "buzz.bookhive.putSyncProgress",
  "lexicon": 1
}