v1
latestOpenAPI 3.1.02026-07-13372867.8 KBeditor
Insert Text
Inserts text at a specified line number in a file.
post/api/editor/insert
Request body
Example request
{
"insert_line": 5,
"path": "/path/to/file.txt",
"text": "New line of text"
}Response
Successfully inserted text