Tidied up Bruno files.

This commit is contained in:
jd
2026-02-21 17:56:28 +00:00
parent 407043c5be
commit ed942060a2
28 changed files with 256 additions and 95 deletions

View File

@@ -0,0 +1,28 @@
info:
name: Add game
type: http
seq: 6
http:
method: POST
url: "{{BASE_URL}}/api/collection/{{CollectionID}}/add"
body:
type: json
data: |-
{
"gameId": "{{GameID}}"
}
auth: inherit
runtime:
variables:
- name: CollectionID
value: ""
- name: GameID
value: ""
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -5,15 +5,20 @@ info:
http:
method: POST
url: http://localhost:3000/api/collection
url: "{{BASE_URL}}/api/collection"
body:
type: json
data: |-
{
"name": "Invited player2"
"name": "{{Name}}"
}
auth: inherit
runtime:
variables:
- name: Name
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,13 +5,14 @@ info:
http:
method: DELETE
url: http://localhost:3000/api/collection/:id
params:
- name: id
value: bmOe
type: path
url: "{{BASE_URL}}/api/collection/{{CollectionID}}"
auth: inherit
runtime:
variables:
- name: CollectionID
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,13 +5,18 @@ info:
http:
method: GET
url: http://localhost:3000/api/collection/:id
url: "{{BASE_URL}}/api/collection/{{CollectionID}}"
params:
- name: id
value: ejRe
type: path
- name: ""
value: ""
type: query
auth: inherit
runtime:
variables:
- name: CollectionID
value: ""
settings:
encodeUrl: true
timeout: 0

View File

@@ -5,9 +5,16 @@ info:
http:
method: GET
url: http://localhost:3000/api/collection/list
url: "{{BASE_URL}}/api/collection/list/{{PageSize}}/{{Page}}"
auth: inherit
runtime:
variables:
- name: PageSize
value: "1"
- name: Page
value: "0"
settings:
encodeUrl: true
timeout: 0

View File

@@ -0,0 +1,28 @@
info:
name: Remove game
type: http
seq: 7
http:
method: POST
url: "{{BASE_URL}}/api/collection/{{CollectionID}}/remove"
body:
type: json
data: |-
{
"gameId": "{{GameID}}"
}
auth: inherit
runtime:
variables:
- name: CollectionID
value: ""
- name: GameID
value: ""
settings:
encodeUrl: true
timeout: 0
followRedirects: true
maxRedirects: 5

View File

@@ -5,21 +5,22 @@ info:
http:
method: PATCH
url: http://localhost:3000/api/collection/:id
params:
- name: id
value: bmOe
type: path
url: "{{BASE_URL}}/api/collection/{{CollectionID}}"
body:
type: json
data: |-
{
"name": "Test Player",
"isRatingLocked": true,
"canBeMultiple": false
"name": "{{Name}}"
}
auth: inherit
runtime:
variables:
- name: CollectionID
value: ""
- name: Name
value: ""
settings:
encodeUrl: true
timeout: 0