add similar search to api
does a cool thing",
This commit is contained in:
parent
c7bca62df4
commit
2393faf9d0
7 changed files with 74 additions and 2 deletions
28
bruno/CodeSnippets/list.bru
Normal file
28
bruno/CodeSnippets/list.bru
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
meta {
|
||||
name: list
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/api/snippets?limit=100&skip=0
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
limit: 100
|
||||
skip: 0
|
||||
}
|
||||
|
||||
headers {
|
||||
~Accept: application/edn
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "Test Snippet",
|
||||
"markdown": "## Cool Snippet\ndoes a cool thing",
|
||||
"tags": ["git", "jj"]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue