attachment ETAPI tests WIP

This commit is contained in:
zadam
2023-06-05 17:00:58 +02:00
parent 5c393f959d
commit 00453fc151
5 changed files with 216 additions and 18 deletions

View File

@@ -9,10 +9,7 @@ Content-Type: application/json
"content": "Hi there!"
}
> {%
client.global.set("createdNoteId", response.body.note.noteId);
client.global.set("createdBranchId", response.body.branch.branchId);
%}
> {% client.global.set("createdNoteId", response.body.note.noteId); %}
###
@@ -32,20 +29,6 @@ Content-Type: application/json
###
GET {{triliumHost}}/etapi/notes/{{createdNoteId}}
Authorization: {{authToken}}
> {% client.assert(response.status === 200); %}
###
GET {{triliumHost}}/etapi/branches/{{createdBranchId}}
Authorization: {{authToken}}
> {% client.assert(response.status === 200); %}
###
DELETE {{triliumHost}}/etapi/attributes/{{createdAttributeId}}
Authorization: {{authToken}}