com.atproto.sync.list_hosts¶
- class atproto_client.models.com.atproto.sync.list_hosts.Host¶
Bases:
ModelBaseDefinition 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:
ParamsModelBaseParameters model for
com.atproto.sync.listHosts.- 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_hosts.ParamsDict¶
Bases:
TypedDict- 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:
ResponseModelBaseOutput 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.