mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
exposing blobs in APIs
This commit is contained in:
@@ -113,6 +113,7 @@ function register(app) {
|
||||
|
||||
apiRoute(GET, '/api/notes/:noteId', notesApiRoute.getNote);
|
||||
apiRoute(GET, '/api/notes/:noteId/blob', notesApiRoute.getNoteBlob);
|
||||
apiRoute(GET, '/api/notes/:noteId/metadata', notesApiRoute.getNoteMetadata);
|
||||
apiRoute(PUT, '/api/notes/:noteId/data', notesApiRoute.updateNoteData);
|
||||
apiRoute(DEL, '/api/notes/:noteId', notesApiRoute.deleteNote);
|
||||
apiRoute(PUT, '/api/notes/:noteId/undelete', notesApiRoute.undeleteNote);
|
||||
|
||||
Reference in New Issue
Block a user