v1
Cloud Infrastructure

Write genesis snapshot entry for a replica

Changed on
post/v1/cloud/workspace/log/genesis

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/cloud/workspace/log/genesis
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

namespaceIdstring nullable
slugstring nullable
paprApiKeystring nullable
shareTokenstring nullable
orgIdstring nullable
ownerUserIdstring nullable
appIdstring nullable
external_user_idstring nullable

Parse _User.objectId of the acting user (desktop OAuth). Used for ownership-scoped cloud operations instead of the API key user.

replicaIdstring required
dbSourceIdstring nullable
snapshotHashstring required
tableCountinteger required

Response

Successful Response

replicaIdstring required
seqinteger required
hlcstring required
kindstring required
dbSourceIdstring nullable
latencyMsinteger required
changesinteger nullable
lastInsertRowidinteger nullable

Changes