Skip to main content

com.atproto.repo.applyWrites

POST 

com.atproto.repo.applyWrites

Apply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.

Request

Body

required

    repo at-identifierrequired

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

    validate boolean

    Default value: true

    Can be set to 'false' to skip Lexicon schema validation of record data, for all operations.

    writes

    object[]

    required

  • Array [

  • oneOf

    collection nsidrequired
    rkey string

    Possible values: <= 15 characters

    value required
  • ]

  • swapCommit cid

    If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations.

Responses

OK

Loading...