editor

Creates a new file with optional initial content.

post/api/editor/create

Request

  • Base URL
    http://localhost:4242/your-computer-name
  • URL
    http://localhost:4242/your-computer-name/api/editor/create
  • Auth
    none declared

Request body

pathstring required

File path to create

file_textstring nullable

Initial file contents

Example request

{
  "file_text": "Hello, World!",
  "path": "/path/to/newfile.txt"
}

Response

Successfully created file

Changes