init view / list tags

This commit is contained in:
Travis Shears 2025-06-16 12:24:25 +02:00
parent a2352d19c2
commit bbeb1b6ba0
6 changed files with 36 additions and 4 deletions

View file

@ -16,7 +16,7 @@ params:query {
body:json {
{
"title": "Updated from Bruno",
"tags": ["code", "mock"]
"title": "quick way to push last jj commit to git",
"tags": ["jj", "git"]
}
}

View file

@ -5,13 +5,13 @@ meta {
}
get {
url: {{host}}/api/snippets?limit=100&skip=0
url: {{host}}/api/snippets?limit=25&skip=0
body: none
auth: none
}
params:query {
limit: 100
limit: 25
skip: 0
}

View file

@ -0,0 +1,19 @@
meta {
name: get_tags
type: http
seq: 8
}
get {
url: {{host}}/api/tags
body: none
auth: none
}
body:json {
{
"title": "Test Snippet",
"markdown": "## Cool Snippet\ndoes a cool thing",
"tags": ["git", "jj"]
}
}