editor

Reverts the last edit made to a file.

post/api/editor/undo-edit

Request

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

Request body

pathstring required

File path to undo changes

Example request

{
  "path": "/path/to/file.txt"
}

Response

Successfully undid last edit

Changes