get endpoint for listing snippets working

This commit is contained in:
Travis Shears 2025-06-07 11:16:28 +02:00
parent 700710df56
commit 4acc4e2201
5 changed files with 57 additions and 10 deletions

View file

@ -0,0 +1,24 @@
meta {
name: get_snippets
type: http
seq: 4
}
get {
url: {{host}}/api/snippet?limit=10&skip=10
body: none
auth: none
}
params:query {
limit: 10
skip: 10
}
body:json {
{
"title": "Test Snippet",
"markdown": "## Cool Snippet\ndoes a cool thing",
"tags": ["git", "jj"]
}
}