editor
Create New File
Changed onCreates a new file with optional initial content.
post/api/editor/create
Request
- Base URLhttp://localhost:4242/your-computer-name
- URLhttp://localhost:4242/your-computer-name/api/editor/create
- Authnone declared
Request body
Example request
{
"file_text": "Hello, World!",
"path": "/path/to/newfile.txt"
}Response
Successfully created file
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking