com.atproto.sync.listRepos

Enumerates all the DID, rev, and commit CID for all repos hosted by this service. Does not require auth; implemented by PDS and Relay.

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

Bases: ParamsModelBase

Parameters model for com.atproto.sync.listRepos.

field cursor: str | None = None

Cursor.

field limit: int | None = None

Limit.

Constraints:
  • ge = 1

  • le = 1000

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

Bases: TypedDict

cursor: NotRequired[str | None]

Cursor.

limit: NotRequired[int | None]

Limit.

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

Bases: ResponseModelBase

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

field cursor: str | None = None

Cursor.

field repos: List[models.ComAtprotoSyncListRepos.Repo] [Required]

Repos.

class atproto_client.models.com.atproto.sync.list_repos.Repo

Bases: ModelBase

Definition model for com.atproto.sync.listRepos.

field active: bool | None = None

Active.

field did: Did [Required]

Did.

field head: Cid [Required]

Current repo commit CID.

field rev: Tid [Required]

Rev.

field status: Literal['takendown', 'suspended', 'deleted', 'deactivated', 'desynchronized', 'throttled'] | str | None = None

If active=false, this optional field indicates a possible reason for why the account is not active. If active=false and no status is supplied, then the host makes no claim for why the repository is no longer being hosted.