Skip to main content

com.atproto.repo.putRecord

POST 

com.atproto.repo.putRecord

Write a repository record, creating or updating it as needed. Requires auth, implemented by PDS.

Request

Body

required

    repo at-identifierrequired

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

    collection nsidrequired

    The NSID of the record collection.

    rkey stringrequired

    Possible values: <= 15 characters

    The Record Key.

    validate boolean

    Default value: true

    Can be set to 'false' to skip Lexicon schema validation of record data.

    record required
    swapRecord cid

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

    swapCommit cid

    Compare and swap with the previous commit by CID.

Responses

OK

Schema

    uri at-urirequired
    cid cidrequired
Loading...