com.atproto.repo.get_record

class atproto_client.models.com.atproto.repo.get_record.Params

Bases: ParamsModelBase

Parameters model for com.atproto.repo.getRecord.

field cid: str | None = None

The CID of the version of the record. If not specified, then return the most recent version.

field collection: str [Required]

The NSID of the record collection.

field repo: str [Required]

The handle or DID of the repo.

field rkey: str [Required]

The Record Key.

class atproto_client.models.com.atproto.repo.get_record.ParamsDict(*args, **kwargs)

Bases: dict

cid: typing_extensions.NotRequired[str | None]

The CID of the version of the record. If not specified, then return the most recent version.

collection: str

The NSID of the record collection.

repo: str

The handle or DID of the repo.

rkey: str

The Record Key.

class atproto_client.models.com.atproto.repo.get_record.Response

Bases: ResponseModelBase

Output data model for com.atproto.repo.getRecord.

field cid: str | None = None

Cid.

field uri: str [Required]

Uri.

field value: UnknownType [Required]

Value.