#main
- procedureApply a batch transaction of repository creates, updates, and deletes. Requires auth, implemented by PDS.
Query Parameters
No fields defined
Request Body
Content Type: application/json
Data Fields
Name | Type | Details |
---|---|---|
repo |
string (required) |
The handle or DID of the repo (aka, current account). Syntax Format: |
swapCommit |
string |
If provided, the entire operation will fail if the current repo commit CID does not match this value. Used to prevent conflicting repo mutations. Syntax Format: |
validate |
boolean |
Can be set to 'false' to skip Lexicon schema validation of record data across all operations, 'true' to require it, or leave unset to validate only for known Lexicons. |
writes |
array (required) |
UNHANDLED IN ARRAYS: union |
Response Body
Content Type: application/json
Data Fields
Name | Type | Details |
---|---|---|
commit |
ref |
Reference: |
results |
array |
UNHANDLED IN ARRAYS: union |
Errors
Name | Description |
---|---|
InvalidSwap |
Indicates that the 'swapCommit' parameter did not match current commit. |