mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-02-23 06:38:37 -06:00
Merge branch 'stable' into next61
# Conflicts: # src/etapi/etapi.openapi.yaml # src/etapi/notes.js # src/public/app/widgets/type_widgets/editable_text.js # src/services/app_info.js
This commit is contained in:
12
test-etapi/import-zip.http
Normal file
12
test-etapi/import-zip.http
Normal file
@@ -0,0 +1,12 @@
|
||||
POST {{triliumHost}}/etapi/notes/root/import
|
||||
Authorization: {{authToken}}
|
||||
Content-Type: application/octet-stream
|
||||
Content-Transfer-Encoding: binary
|
||||
|
||||
< ../db/demo.zip
|
||||
|
||||
> {%
|
||||
client.assert(response.status === 201);
|
||||
client.assert(response.body.note.title == "Trilium Demo");
|
||||
client.assert(response.body.branch.parentNoteId == "root");
|
||||
%}
|
||||
Reference in New Issue
Block a user