com.atproto.sync.getLatestCommit

Get the current commit CID & revision of the specified repo. Does not require auth.

class atproto_client.models.com.atproto.sync.get_latest_commit.Params

Bases: ParamsModelBase

Parameters model for com.atproto.sync.getLatestCommit.

field did: Did [Required]

The DID of the repo.

class atproto_client.models.com.atproto.sync.get_latest_commit.ParamsDict

Bases: TypedDict

did: Did

The DID of the repo.

class atproto_client.models.com.atproto.sync.get_latest_commit.Response

Bases: ResponseModelBase

Output data model for com.atproto.sync.getLatestCommit.

field cid: Cid [Required]

Cid.

field rev: Tid [Required]

Rev.