com.atproto.sync.list_repos#
- pydantic model atproto.xrpc_client.models.com.atproto.sync.list_repos.Params#
Bases:
ParamsModelBase
Parameters model for
com.atproto.sync.listRepos
.Show JSON schema
{ "title": "Params", "description": "Parameters model for :obj:`com.atproto.sync.listRepos`.", "type": "object", "properties": { "cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cursor" }, "limit": { "anyOf": [ { "maximum": 1000, "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": 500, "title": "Limit" } }, "additionalProperties": false }
- field cursor: Optional[str] = None#
Cursor.
- field limit: Optional[int] = 500#
Limit.
- Constraints:
ge = 1
le = 1000
- class atproto.xrpc_client.models.com.atproto.sync.list_repos.ParamsDict#
Bases:
TypedDict
- cursor: typing_extensions.NotRequired[Optional[str]]#
Cursor.
- limit: typing_extensions.NotRequired[Optional[int]]#
Limit.
- pydantic model atproto.xrpc_client.models.com.atproto.sync.list_repos.Repo#
Bases:
ModelBase
Definition model for
com.atproto.sync.listRepos
.Show JSON schema
{ "title": "Repo", "description": "Definition model for :obj:`com.atproto.sync.listRepos`.", "type": "object", "properties": { "did": { "title": "Did", "type": "string" }, "head": { "title": "Head", "type": "string" }, "rev": { "title": "Rev", "type": "string" }, "$type": { "const": "com.atproto.sync.listRepos#repo", "default": "com.atproto.sync.listRepos#repo", "title": "$Type" } }, "additionalProperties": false, "required": [ "did", "head", "rev" ] }
- Fields:
- field did: str [Required]#
Did.
- field head: str [Required]#
Head.
- field py_type: typing_extensions.Literal[com.atproto.sync.listRepos#repo] = 'com.atproto.sync.listRepos#repo' (alias '$type')#
- field rev: str [Required]#
Rev.
- pydantic model atproto.xrpc_client.models.com.atproto.sync.list_repos.Response#
Bases:
ResponseModelBase
Output data model for
com.atproto.sync.listRepos
.Show JSON schema
{ "title": "Response", "description": "Output data model for :obj:`com.atproto.sync.listRepos`.", "type": "object", "properties": { "repos": { "items": { "$ref": "#/$defs/Repo" }, "title": "Repos", "type": "array" }, "cursor": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Cursor" } }, "$defs": { "Repo": { "additionalProperties": false, "description": "Definition model for :obj:`com.atproto.sync.listRepos`.", "properties": { "did": { "title": "Did", "type": "string" }, "head": { "title": "Head", "type": "string" }, "rev": { "title": "Rev", "type": "string" }, "$type": { "const": "com.atproto.sync.listRepos#repo", "default": "com.atproto.sync.listRepos#repo", "title": "$Type" } }, "required": [ "did", "head", "rev" ], "title": "Repo", "type": "object" } }, "additionalProperties": false, "required": [ "repos" ] }
- field cursor: Optional[str] = None#
Cursor.
- field repos: List[models.ComAtprotoSyncListRepos.Repo] [Required]#
Repos.