get snippets and get snippet

This commit is contained in:
Travis Shears 2025-06-09 22:19:46 +02:00
parent 70aea77dcc
commit 7bbee5b0fb
6 changed files with 42 additions and 6 deletions

View file

@ -0,0 +1,23 @@
meta {
name: get_snippet
type: http
seq: 6
}
get {
url: {{host}}/api/snippet?id=aea69336-5116-49ac-ab52-bc221bdb7830
body: none
auth: none
}
params:query {
id: aea69336-5116-49ac-ab52-bc221bdb7830
}
body:json {
{
"title": "Test Snippet",
"markdown": "## Cool Snippet\ndoes a cool thing",
"tags": ["git", "jj"]
}
}