com.atproto.sync.listHosts
Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.
- class atproto_client.models.com.atproto.sync.list_hosts.Params
Bases:
ParamsModelBaseParameters model for
com.atproto.sync.listHosts.
- class atproto_client.models.com.atproto.sync.list_hosts.ParamsDict
Bases:
TypedDict- cursor: NotRequired[str | None]
Cursor.
- limit: NotRequired[int | None]
Limit.
- class atproto_client.models.com.atproto.sync.list_hosts.Response
Bases:
ResponseModelBaseOutput data model for
com.atproto.sync.listHosts.- 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.
- class atproto_client.models.com.atproto.sync.list_hosts.Host
Bases:
ModelBaseDefinition model for
com.atproto.sync.listHosts.- field hostname: str [Required]
Hostname of server; not a URL (no scheme).
- field status: models.ComAtprotoSyncDefs.HostStatus | None = None
Status.