a Bruno for highlight

This commit is contained in:
Dita Aji Pratama 2025-06-29 22:01:30 +07:00
parent 189518a2ba
commit 469d5b045e
7 changed files with 152 additions and 0 deletions

View File

@ -0,0 +1,23 @@
meta {
name: Add
type: http
seq: 1
}
post {
url: http://localhost:11000/api/highlight/:module/:alder
body: json
auth: inherit
}
params:path {
module: catalog
alder: add
}
body:json {
{
"item":1,
"category":1
}
}

View File

@ -0,0 +1,23 @@
meta {
name: Remove
type: http
seq: 2
}
post {
url: http://localhost:11000/api/highlight/:module/:alder
body: json
auth: inherit
}
params:path {
module: catalog
alder: remove
}
body:json {
{
"item":1,
"category":1
}
}

View File

@ -0,0 +1,24 @@
meta {
name: Add
type: http
seq: 1
}
post {
url: http://localhost:11000/api/highlight/category/:alder
body: json
auth: inherit
}
params:path {
alder: add
}
body:json {
{
"title":"For your starter",
"desc":null,
"background":null,
"illustration":null
}
}

View File

@ -0,0 +1,19 @@
meta {
name: Detail
type: http
seq: 3
}
post {
url: http://localhost:11000/api/highlight/category/:alder
body: json
auth: inherit
}
params:path {
alder: detail
}
body:json {
{"id":1}
}

View File

@ -0,0 +1,25 @@
meta {
name: Edit
type: http
seq: 4
}
post {
url: http://localhost:11000/api/highlight/category/:alder
body: json
auth: inherit
}
params:path {
alder: edit
}
body:json {
{
"id":1,
"title":"For your starter (Edit)",
"desc":null,
"background":null,
"illustration":null
}
}

View File

@ -0,0 +1,19 @@
meta {
name: List
type: http
seq: 2
}
post {
url: http://localhost:11000/api/highlight/category/:alder
body: json
auth: inherit
}
params:path {
alder: list
}
body:json {
{}
}

View File

@ -0,0 +1,19 @@
meta {
name: Remove
type: http
seq: 5
}
post {
url: http://localhost:11000/api/highlight/category/:alder
body: json
auth: inherit
}
params:path {
alder: remove
}
body:json {
{"id":1}
}