Skip to main content

Interface: InputSchema

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:22

Properties

collection

collection: string

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:26

The NSID of the record collection.


record

record: object

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:32

The record to write.

Index Signature

[key: string]: unknown


repo

repo: string

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:24

The handle or DID of the repo (aka, current account).


rkey

rkey: string

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:28

The Record Key.


swapCommit?

optional swapCommit: string

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:36

Compare and swap with the previous commit by CID.


swapRecord?

optional swapRecord: null | string

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:34

Compare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation


validate?

optional validate: boolean

Defined in: web/lib/api/generated/types/com/atproto/repo/putRecord.ts:30

Can be set to 'false' to skip Lexicon schema validation of record data, 'true' to require it, or leave unset to validate only for known Lexicons.