com.atproto.sync.get_latest_commit#

pydantic model atproto.xrpc_client.models.com.atproto.sync.get_latest_commit.Params#

Bases: ParamsModelBase

Parameters model for com.atproto.sync.getLatestCommit.

Show JSON schema
{
   "title": "Params",
   "description": "Parameters model for :obj:`com.atproto.sync.getLatestCommit`.",
   "type": "object",
   "properties": {
      "did": {
         "title": "Did",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "did"
   ]
}

Fields:
field did: str [Required]#

The DID of the repo.

class atproto.xrpc_client.models.com.atproto.sync.get_latest_commit.ParamsDict#

Bases: TypedDict

did: str#

The DID of the repo.

pydantic model atproto.xrpc_client.models.com.atproto.sync.get_latest_commit.Response#

Bases: ResponseModelBase

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

Show JSON schema
{
   "title": "Response",
   "description": "Output data model for :obj:`com.atproto.sync.getLatestCommit`.",
   "type": "object",
   "properties": {
      "cid": {
         "title": "Cid",
         "type": "string"
      },
      "rev": {
         "title": "Rev",
         "type": "string"
      }
   },
   "additionalProperties": false,
   "required": [
      "cid",
      "rev"
   ]
}

Fields:
field cid: str [Required]#

Cid.

field rev: str [Required]#

Rev.