updated the course index part
This commit is contained in:
15
One & All/items/Agcd.bru
Normal file
15
One & All/items/Agcd.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Agcd
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/v1/items/items/:item_id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
item_id:
|
||||
}
|
18
One & All/items/Create Item.bru
Normal file
18
One & All/items/Create Item.bru
Normal file
@@ -0,0 +1,18 @@
|
||||
meta {
|
||||
name: Create Item
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/api/v1/items/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "",
|
||||
"description": ""
|
||||
}
|
||||
}
|
15
One & All/items/Delete Item.bru
Normal file
15
One & All/items/Delete Item.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Delete Item
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/api/v1/items/:id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
15
One & All/items/Read Item.bru
Normal file
15
One & All/items/Read Item.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Read Item
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/v1/items/:id
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
16
One & All/items/Read Items.bru
Normal file
16
One & All/items/Read Items.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Read Items
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/v1/items/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:query {
|
||||
~skip:
|
||||
~limit:
|
||||
}
|
22
One & All/items/Update Item.bru
Normal file
22
One & All/items/Update Item.bru
Normal file
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Update Item
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/api/v1/items/:id
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "",
|
||||
"description": ""
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user