com.atproto.repo.createRecord
Create a single new repository record. Requires auth, implemented by PDS.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | repo.atproto.com |
| Indexed |
Procedure
procedure · POSTInput
application/jsonThe NSID of the record collection.
The record itself. Must contain a $type field.
The handle or DID of the repo (aka, current account).
rkey
string · record-keyThe Record Key.
maxLength: 512
swapCommit
string · cidCompare and swap with the previous commit by CID.
validate
booleanCan 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.
Output
application/jsonErrors
InvalidSwap
Indicates that 'swapCommit' didn't match current repo commit.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atproto.repo.putRecord
procedureWrite a repository record, creating or updating it as needed. Requires auth, implemented by PDS.
-
com.atproto.repo.applyWrites
procedureApply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.
-
ooo.bsky.hds.createRecord
procedure -
ooo.bsky.hds.putRecord
procedure -
com.atproto.repo.deleteRecord
procedureDelete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.