com.atproto.sync Lexicon#

Definitions related to cross-server sync in ATP.


com.atproto.sync.getRepo#

RPC query Gets the repo state.

Parameters:

  • did Required string. The DID of the repo.
  • from Optional string. A past commit CID

Response:

  • Encoding: application/cbor

com.atproto.sync.getRoot#

RPC query Gets the current root CID of a repo.

Parameters:

  • did Required string. The DID of the repo.

Response:

  • Encoding: application/json
  • Schema:
export interface Response {
  root: string;
}

com.atproto.sync.updateRepo#

RPC procedure Writes commits to a repo.

QP options:

  • did Required string. The DID of the repo.

Parameters:

  • Encoding: application/cbor

See what's next.Join the private beta.

The AT Protocol will launch soon.
Join the waitlist to try the beta before it's publicly available.

Join the waitlist