Skip to main content

com.atproto.space.defs

#commit​

Commit to the current state of a space repo. Not signed; authenticated by the repo host with a MAC instead.

PropertyTypeKnown ValuesRequiredDescription
verinteger-✅Commit format version, currently 1.
repostring (did)-✅-
spacestring (unknown)-✅-
revstring (tid)-✅-
databytes-✅SHA-256 digest of the repo's LtHash state.

#repoWrite​

A repo in the space advanced to a new revision.

PropertyTypeKnown ValuesRequiredDescription
repostring (did)-✅-
repoRevstring (tid)-✅-
databytes-✅SHA-256 digest of the repo's LtHash state.
spaceRevstring (tid)-✅The space revision at which this update was sequenced.
prevSpaceRevstring (tid)-❌The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.

#repoRemoved​

A repo was removed from the writer set.

PropertyTypeKnown ValuesRequiredDescription
repostring (did)-✅-
spaceRevstring (tid)-✅The space revision at which this update was sequenced.
prevSpaceRevstring (tid)-❌The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters.