Add bruno files
This commit is contained in:
18
Bruno/Seed/Tag operations/Create 'delete-me' tag.bru
Normal file
18
Bruno/Seed/Tag operations/Create 'delete-me' tag.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Create 'delete-me' tag
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/tags
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"type": "General",
|
||||
"name": "delete-me"
|
||||
}
|
||||
}
|
||||
18
Bruno/Seed/Tag operations/Create 'high-res' tag.bru
Normal file
18
Bruno/Seed/Tag operations/Create 'high-res' tag.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Create 'high-res' tag
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/tags
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"type": "General",
|
||||
"name": "high-res"
|
||||
}
|
||||
}
|
||||
18
Bruno/Seed/Tag operations/Create 'theotown' tag.bru
Normal file
18
Bruno/Seed/Tag operations/Create 'theotown' tag.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Create 'theotown' tag
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/tags
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"type": "General",
|
||||
"name": "theotown"
|
||||
}
|
||||
}
|
||||
15
Bruno/Seed/Tag operations/Delete a tag.bru
Normal file
15
Bruno/Seed/Tag operations/Delete a tag.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Delete a tag
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/api/tags/:name
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
name: delete-me
|
||||
}
|
||||
15
Bruno/Seed/Tag operations/Get a tag.bru
Normal file
15
Bruno/Seed/Tag operations/Get a tag.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get a tag
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/tags/:name
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
name: high-res
|
||||
}
|
||||
15
Bruno/Seed/Tag operations/Get all tags.bru
Normal file
15
Bruno/Seed/Tag operations/Get all tags.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get all tags
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/tags
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:query {
|
||||
~pageNumber:
|
||||
}
|
||||
21
Bruno/Seed/Tag operations/Update a tag.bru
Normal file
21
Bruno/Seed/Tag operations/Update a tag.bru
Normal file
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Update a tag
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{baseUrl}}/api/tags/:name
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
name: theotown
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"type": "General"
|
||||
}
|
||||
}
|
||||
8
Bruno/Seed/Tag operations/folder.bru
Normal file
8
Bruno/Seed/Tag operations/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: Tag operations
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
Reference in New Issue
Block a user