com.atproto.sync.list_hosts

class atproto_client.models.com.atproto.sync.list_hosts.Host

Bases: ModelBase

Definition model for com.atproto.sync.listHosts.

field account_count: int | None = None

Account count.

field hostname: str [Required]

Hostname of server; not a URL (no scheme).

field py_type: Literal['com.atproto.sync.listHosts#host'] = 'com.atproto.sync.listHosts#host'
field seq: int | None = None
field status: models.ComAtprotoSyncDefs.HostStatus | None = None

Status.

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

Bases: ParamsModelBase

Parameters model for com.atproto.sync.listHosts.

field cursor: str | None = None

Cursor.

field limit: int | None = 200

Limit.

Constraints:
  • ge = 1

  • le = 1000

class atproto_client.models.com.atproto.sync.list_hosts.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_hosts.Response

Bases: ResponseModelBase

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

field cursor: str | None = None

Cursor.

field hosts: List[models.ComAtprotoSyncListHosts.Host] [Required]

Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.