Skip to main content

com.atproto.repo.createRecord

POST 

com.atproto.repo.createRecord

Create a single new repository record. 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 string

    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
    swapCommit cid

    Compare and swap with the previous commit by CID.

Responses

OK

Schema

    uri at-urirequired
    cid cidrequired
Loading...