com.atproto.sync.list_repos

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 = 500

Limit.

Constraints:
  • ge = 1

  • le = 1000

class atproto_client.models.com.atproto.sync.list_repos.ParamsDict(*args, **kwargs)

Bases: dict

cursor: typing_extensions.NotRequired[str | None]

Cursor.

limit: typing_extensions.NotRequired[int | None]

Limit.

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: str [Required]

Did.

field head: str [Required]

Current repo commit CID.

field py_type: Literal['com.atproto.sync.listRepos#repo'] = 'com.atproto.sync.listRepos#repo'
field rev: str [Required]

Rev.

field status: Literal['takendown'] | Literal['suspended'] | Literal['deactivated'] | 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.

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.