Skip to main content
Each item requires operation and its fields.

Parameters

string
required
The absolute path to the file to edit.
object[]
required
A list of operations. Each item needs an operation name and its fields: replace_block (search_block, replace_block), insert_after (after_block, insert_block), insert_before (before_block, insert_block), delete_block (delete_block), or append_line (line_content).