Skip to main content

com.atproto.space.listRepoOps

#main​

List operations on a space repo after a given revision. Used for incremental sync. Hosts may truncate the log, so use getRepo for a full sync. Responses are authenticated with a MAC. Requires auth as the repo's account or with a space credential; implemented by PDS.

Parameters​

PropertyTypeKnown ValuesRequiredDescription
spacestring (unknown)-✅-
repostring (did)-✅-
sincestring (tid)-❌-
limitinteger-❌-
cursorstring-❌-
excludeValuesboolean-❌-

Output​

  • Encoding: application/json
PropertyTypeKnown ValuesRequiredDescription
opsarray of #opEntry-✅-
commitcom.atproto.space.defs#commit-✅-
cursorstring-❌-

#opEntry​

Operations that share a rev were applied in the same commit.

PropertyTypeKnown ValuesRequiredDescription
revstring (tid)-✅-
collectionstring (nsid)-✅-
rkeystring (record-key)-✅-
cidstring (cid)-✅CID of the record after the operation. Null for deletes.
prevstring (cid)-✅CID of the record before the operation. Null for creates.
valueunknown-❌Omitted for deletes, if excludeValues is set, or if the record has since changed.