add logging and handle snippet deletes

This commit is contained in:
Travis Shears 2025-06-08 11:16:04 +02:00
parent c28c398a14
commit 38f130fcfd
8 changed files with 75 additions and 14 deletions

View file

@ -0,0 +1,23 @@
meta {
name: delete_snippet
type: http
seq: 5
}
delete {
url: {{host}}/api/snippet?id=952cdf1a-a2a8-4fe2-9354-953b240136ae
body: none
auth: none
}
params:query {
id: 952cdf1a-a2a8-4fe2-9354-953b240136ae
}
body:json {
{
"title": "Test Snippet",
"markdown": "## Cool Snippet\ndoes a cool thing",
"tags": ["git", "jj"]
}
}