Notes

Rename / move a note

Moves the note from old_path to new_path and returns the updated note. Returns 404 when the source note is missing and 409 when the target path already exists or the note version conflicts.

post/api/notes/rename

Request

  • Base URL: https://api.engram.page
  • URL: https://api.engram.page/api/notes/rename
  • Auth: HTTP bearer

Request body

new_pathstring required
old_pathstring required

Example request

{
  "new_path": "Archive/Engram.md",
  "old_path": "Projects/Engram.md"
}

Response

Renamed

new_pathstring
old_pathstring
renamedboolean

Example response

{
  "note": {
    "path": "Projects/engram.md"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.