Tidied up Bruno files. Implemented builder utility to have more powerful route definitions.

This commit is contained in:
jd
2026-02-21 20:41:40 +00:00
parent ed942060a2
commit 3e9d61b8c6
42 changed files with 159 additions and 98 deletions

View File

@@ -5,7 +5,7 @@ info:
http:
method: POST
url: "{{BASE_URL}}/api/game"
url: "{{BASE_URL}}/{{SECTOR}}"
body:
type: json
data: |-

View File

@@ -5,7 +5,7 @@ info:
http:
method: DELETE
url: "{{BASE_URL}}/api/game/{{GameID}}"
url: "{{BASE_URL}}/{{SECTOR}}/{{GameID}}"
auth: inherit
runtime:

View File

@@ -5,7 +5,7 @@ info:
http:
method: GET
url: "{{BASE_URL}}/api/game/{{GameID}}"
url: "{{BASE_URL}}/{{SECTOR}}/{{GameID}}"
auth: inherit
runtime:

View File

@@ -5,7 +5,7 @@ info:
http:
method: GET
url: "{{BASE_URL}}/api/game/search/{{Query}}/{{PageSize}}/{{Page}}"
url: "{{BASE_URL}}/{{SECTOR}}/search/{{Query}}/{{PageSize}}/{{Page}}"
auth: inherit
runtime:
@@ -13,9 +13,9 @@ runtime:
- name: Query
value: test
- name: PageSize
value: "2"
value: "5"
- name: Page
value: "2"
value: "1"
settings:
encodeUrl: true

View File

@@ -5,7 +5,7 @@ info:
http:
method: PATCH
url: "{{BASE_URL}}/api/game/{{GameID}}"
url: "{{BASE_URL}}/{{SECTOR}}/{{GameID}}"
body:
type: json
data: |-

View File

@@ -1,7 +1,10 @@
info:
name: Game
type: folder
seq: 4
seq: 1
request:
auth: inherit
variables:
- name: SECTOR
value: games