fix update-snippet
Created via bruno", Updated via bruno" does a cool thing",
This commit is contained in:
parent
d3babebcc4
commit
5fad04d04c
15 changed files with 90 additions and 102 deletions
|
|
@ -12,9 +12,9 @@ post {
|
|||
|
||||
body:json {
|
||||
{
|
||||
"title": "TEST from Bruno",
|
||||
"title": "Mock snippet sent via Bruno",
|
||||
"slug": "bruno-test",
|
||||
"markdown": "this is a test",
|
||||
"tags": ["test"]
|
||||
"markdown": "## MOCK SNIPPET\nCreated via bruno",
|
||||
"tags": ["mock"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ meta {
|
|||
}
|
||||
|
||||
delete {
|
||||
url: {{host}}/api/snippet?id=d77d3463-c76e-4c53-a1d5-ecaf16c6c54e
|
||||
url: {{host}}/api/snippet?slug=bruno-test
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
id: d77d3463-c76e-4c53-a1d5-ecaf16c6c54e
|
||||
slug: bruno-test
|
||||
}
|
||||
|
||||
body:json {
|
||||
|
|
|
|||
|
|
@ -5,18 +5,18 @@ meta {
|
|||
}
|
||||
|
||||
patch {
|
||||
url: {{host}}/api/snippet?id=680a3508-7709-4f71-b5c3-3dcbffe6f5cf
|
||||
url: {{host}}/api/snippet?slug=bruno-test
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
id: 680a3508-7709-4f71-b5c3-3dcbffe6f5cf
|
||||
slug: bruno-test
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "quick way to push last jj commit to git",
|
||||
"tags": ["jj", "git"]
|
||||
"title": "Mock snippet sent via Bruno with updated title",
|
||||
"markdown": "## MOCK SNIPPET\nUpdated via bruno"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +0,0 @@
|
|||
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"]
|
||||
}
|
||||
}
|
||||
|
|
@ -5,13 +5,13 @@ meta {
|
|||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/api/snippet-by-slug?slug=netcat-over-ping
|
||||
url: {{host}}/api/snippet-by-slug?slug=bruno-test
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
slug: netcat-over-ping
|
||||
slug: bruno-test
|
||||
}
|
||||
|
||||
body:json {
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ meta {
|
|||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/api/snippets?limit=25&skip=0
|
||||
url: {{host}}/api/snippets?limit=2&skip=0
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
limit: 25
|
||||
limit: 2
|
||||
skip: 0
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,13 @@ meta {
|
|||
}
|
||||
|
||||
get {
|
||||
url: {{host}}/api/tag?tag=git
|
||||
url: {{host}}/api/tag?tag=mock
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
tag: git
|
||||
tag: mock
|
||||
}
|
||||
|
||||
body:json {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue