Assets
Change Requests
Edit an asset's file content via string-replace edits, as a ChangeRequest
post/api/v1/assets/{assetId}/edit-content
Request
- Base URL: https://api-docs.busabase.com
- URL: https://api-docs.busabase.com/api/v1/assets/{assetId}/edit-content
- Auth: none declared
Path parameters
assetIdstring required
Request body
Response
Applied the string-replace edits (coding-agent Edit-tool semantics: unique-match or replaceAll) to the asset's current mounted Drive/Skill file content and recorded the result as a ChangeRequest — merged immediately when the actor has write access on the mounting node, left "in_review" otherwise or when autoMerge: false is passed. Reuses the existing filetree update-via-CR pipeline end to end, including baseContentHash optimistic-concurrency conflict protection at merge time. Requires the asset to be mounted in exactly one editable Drive/Skill location.
Changes
No recorded changes to this operation across all 1 revision of this API.