feat: true-microservices (#40)

Reviewed-on: #40
This commit is contained in:
2026-04-29 22:06:01 +02:00
parent 67511fc649
commit 590924254e
328 changed files with 10672 additions and 2939 deletions
+5 -1
View File
@@ -18,6 +18,10 @@ headers {
body:json {
{
"white": {"id": "p1", "displayName": "Alice"},
"black": {"id": "p2", "displayName": "Bob"}
"black": {"id": "p2", "displayName": "Bob"},
"timeControl": {
"limitSeconds": 300,
"incrementSeconds": 3
}
}
}
+5 -2
View File
@@ -4,9 +4,12 @@ meta {
seq: 2
}
http {
method: GET
get {
url: {{baseUrl}}/api/board/game/{{gameId}}
body: none
auth: none
}
vars:pre-request {
gameId: j0nPtcjl
}
+22 -7
View File
@@ -1,19 +1,34 @@
meta {
name: Stream Game
type: http
type: ws
seq: 3
}
get {
url: {{baseUrl}}/api/board/game/{{gameId}}/stream
body: none
ws {
url: {{wsBaseUrl}}/api/board/game/{{gameId}}/ws
body: ws
auth: none
}
headers {
Accept: application/x-ndjson
body:ws {
name: move
content: '''
{
"type": "MOVE",
"uci": "b1c3"
}
'''
}
body:ws {
name: ping
content: '''
{
"type": "PING"
}
'''
}
vars:pre-request {
gameId: tjOgyEcS
gameId: j0nPtcjl
}
+5 -1
View File
@@ -19,6 +19,10 @@ body:json {
{
"fen": "rnbqkbnr/pppppppp/8/8/4P3/8/PPPP1PPP/RNBQKBNR b KQkq e3 0 1",
"white": {"id": "p1", "displayName": "Alice"},
"black": {"id": "p2", "displayName": "Bob"}
"black": {"id": "p2", "displayName": "Bob"},
"timeControl": {
"limitSeconds": 300,
"incrementSeconds": 3
}
}
}
+1 -1
View File
@@ -11,5 +11,5 @@ post {
}
vars:pre-request {
gameId: tjOgyEcS
gameId: Yg200tOF
}
+1 -1
View File
@@ -15,5 +15,5 @@ params:query {
}
vars:pre-request {
gameId: tjOgyEcS
gameId: COy3oigz
}