com.atproto.sync.get_repo_status

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

Bases: ParamsModelBase

Parameters model for com.atproto.sync.getRepoStatus.

field did: str [Required]

The DID of the repo.

Constraints:
class atproto_client.models.com.atproto.sync.get_repo_status.ParamsDict

Bases: TypedDict

did: str

The DID of the repo.

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

Bases: ResponseModelBase

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

field active: bool [Required]

Active.

field did: str [Required]

Did.

Constraints:
field rev: str | None = None

Optional field, the current rev of the repo, if active=true.

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