editor
Insert Text
Changed onInserts text at a specified line number in a file.
post/api/editor/insert
Request
- Base URLhttp://localhost:4242/your-computer-name
- URLhttp://localhost:4242/your-computer-name/api/editor/insert
- Authnone declared
Request body
Example request
{
"insert_line": 5,
"path": "/path/to/file.txt",
"text": "New line of text"
}Response
Successfully inserted text
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking