com.atproto.sync.get_record#

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

Bases: ParamsModelBase

Parameters model for com.atproto.sync.getRecord.

Show JSON schema
{
   "title": "Params",
   "description": "Parameters model for :obj:`com.atproto.sync.getRecord`.",
   "type": "object",
   "properties": {
      "collection": {
         "title": "Collection",
         "type": "string"
      },
      "did": {
         "title": "Did",
         "type": "string"
      },
      "rkey": {
         "title": "Rkey",
         "type": "string"
      },
      "commit": {
         "anyOf": [
            {
               "type": "string"
            },
            {
               "type": "null"
            }
         ],
         "default": null,
         "title": "Commit"
      }
   },
   "additionalProperties": false,
   "required": [
      "collection",
      "did",
      "rkey"
   ]
}

Fields:
field collection: str [Required]#

Collection.

field commit: Optional[str] = None#

An optional past commit CID.

field did: str [Required]#

The DID of the repo.

field rkey: str [Required]#

Rkey.

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

Bases: TypedDict

collection: str#

Collection.

commit: typing_extensions.NotRequired[Optional[str]]#

An optional past commit CID.

did: str#

The DID of the repo.

rkey: str#

Rkey.

atproto.xrpc_client.models.com.atproto.sync.get_record.Response#

Response raw data type.