Bruno for GeBox

This commit is contained in:
Dita Aji Pratama 2025-09-17 13:38:08 +07:00
parent b8e0df9a39
commit 3d404e504f
19 changed files with 410 additions and 0 deletions

View File

@ -0,0 +1,28 @@
meta {
name: Add
type: http
seq: 1
}
post {
url: http://localhost:11000/api/gebox/instance/:alder
body: json
auth: inherit
}
params:path {
alder: add
}
body:json {
{
"instance":"DAP Personal Website",
"domain":"ditaajipratama.net",
"product":1,
"status":"pending"
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: Detail
type: http
seq: 3
}
post {
url: http://localhost:11000/api/gebox/instance/:alder
body: json
auth: inherit
}
params:path {
alder: detail
}
body:json {
{"key":1}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,29 @@
meta {
name: Edit
type: http
seq: 4
}
post {
url: http://localhost:11000/api/gebox/instance/:alder
body: json
auth: inherit
}
params:path {
alder: edit
}
body:json {
{
"key":1,
"instance":"DAP Personal Website",
"domain":"ditaajipratama.net",
"product":1,
"status":"pending"
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: List
type: http
seq: 2
}
post {
url: http://localhost:11000/api/gebox/instance/:alder
body: json
auth: inherit
}
params:path {
alder: list
}
body:json {
{}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,25 @@
meta {
name: Remove
type: http
seq: 5
}
post {
url: http://localhost:11000/api/gebox/instance/:alder
body: json
auth: inherit
}
params:path {
alder: remove
}
body:json {
{
"key":1
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,8 @@
meta {
name: Instance
seq: 2
}
auth {
mode: inherit
}

View File

@ -0,0 +1,26 @@
meta {
name: Add
type: http
seq: 2
}
post {
url: http://localhost:11000/api/gebox/package/:alder
body: json
auth: inherit
}
params:path {
alder: add
}
body:json {
{
"name":"My Package",
"desc":null
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: Detail
type: http
seq: 4
}
post {
url: http://localhost:11000/api/gebox/package/:alder
body: json
auth: inherit
}
params:path {
alder: detail
}
body:json {
{"key":1}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,27 @@
meta {
name: Edit
type: http
seq: 5
}
post {
url: http://localhost:11000/api/gebox/package/:alder
body: json
auth: inherit
}
params:path {
alder: edit
}
body:json {
{
"key":1,
"name":"My Package",
"desc":null
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: List
type: http
seq: 3
}
post {
url: http://localhost:11000/api/gebox/package/:alder
body: json
auth: inherit
}
params:path {
alder: list
}
body:json {
{}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,25 @@
meta {
name: Remove
type: http
seq: 6
}
post {
url: http://localhost:11000/api/gebox/package/:alder
body: json
auth: inherit
}
params:path {
alder: remove
}
body:json {
{
"key":1
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,27 @@
meta {
name: Add
type: http
seq: 1
}
post {
url: http://localhost:11000/api/gebox/package/version/:alder
body: json
auth: inherit
}
params:path {
alder: add
}
body:json {
{
"package":1,
"version":"v0.1",
"release":"2020-01-01 00:00:00"
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: Detail
type: http
seq: 3
}
post {
url: http://localhost:11000/api/gebox/package/version/:alder
body: json
auth: inherit
}
params:path {
alder: detail
}
body:json {
{"key":1}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,28 @@
meta {
name: Edit
type: http
seq: 4
}
post {
url: http://localhost:11000/api/gebox/package/version/:alder
body: json
auth: inherit
}
params:path {
alder: edit
}
body:json {
{
"key":1,
"package":1,
"version":"v0.1",
"release":"2020-01-01 00:00:00"
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,23 @@
meta {
name: List
type: http
seq: 2
}
post {
url: http://localhost:11000/api/gebox/package/version/:alder
body: json
auth: inherit
}
params:path {
alder: list
}
body:json {
{}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,25 @@
meta {
name: Remove
type: http
seq: 5
}
post {
url: http://localhost:11000/api/gebox/package/version/:alder
body: json
auth: inherit
}
params:path {
alder: remove
}
body:json {
{
"key":1
}
}
settings {
encodeUrl: true
}

View File

@ -0,0 +1,8 @@
meta {
name: Version
seq: 1
}
auth {
mode: inherit
}

View File

@ -0,0 +1,8 @@
meta {
name: Package
seq: 1
}
auth {
mode: inherit
}

8
bruno/GeBox/folder.bru Normal file
View File

@ -0,0 +1,8 @@
meta {
name: GeBox
seq: 1
}
auth {
mode: inherit
}