com.atproto.repo.putRecord
Write a repository record, creating or updating it as needed. 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 to write.
The handle or DID of the repo (aka, current account).
The Record Key.
maxLength: 512
swapCommit
string · cidCompare and swap with the previous commit by CID.
swapRecord
string · cidCompare and swap with the previous record by CID. WARNING: nullable and optional field; may cause problems with golang implementation
nullable
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
No description in schema.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.atproto.repo.createRecord
procedureCreate a single new repository record. 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.putRecord
procedure -
com.atproto.repo.deleteRecord
procedureDelete a repository record, or ensure it doesn't exist. Requires auth, implemented by PDS.
-
rsvp.atmo.space.putRecord
procedureWrite a record into a space. The author is always the JWT issuer. If rkey is omitted, a TID is generated.