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.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| ver | integer | - | ✅ | Commit format version, currently 1. |
| repo | string (did) | - | ✅ | - |
| space | string (unknown) | - | ✅ | - |
| rev | string (tid) | - | ✅ | - |
| data | bytes | - | ✅ | SHA-256 digest of the repo's LtHash state. |
#repoWrite
A repo in the space advanced to a new revision.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| repo | string (did) | - | ✅ | - |
| repoRev | string (tid) | - | ✅ | - |
| data | bytes | - | ✅ | SHA-256 digest of the repo's LtHash state. |
| spaceRev | string (tid) | - | ✅ | The space revision at which this update was sequenced. |
| prevSpaceRev | string (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.
| Property | Type | Known Values | Required | Description |
|---|---|---|---|---|
| repo | string (did) | - | ✅ | - |
| spaceRev | string (tid) | - | ✅ | The space revision at which this update was sequenced. |
| prevSpaceRev | string (tid) | - | ❌ | The space revision before this update, if any. Set in notifySpaceUpdate, where a gap indicates missed notifications, which can be recovered with listWriters. |