feat: add API endpoints for game creation, draw offers, FEN/PGN import/export, and move actions
Build & Test (NowChessSystems) TeamCity build failed

This commit is contained in:
2026-04-15 10:14:29 +02:00
parent 52197125f7
commit 3bad8c64d3
19 changed files with 317 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
meta {
name: Make move
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/board/game/{{gameId}}/move/{{uci}}
body: none
auth: none
}
headers {
Accept: application/json
}
@@ -0,0 +1,20 @@
meta {
name: Get legal moves
type: http
seq: 2
}
get {
url: {{baseUrl}}/api/board/game/{{gameId}}/moves
body: none
auth: none
}
params:query {
square: {{square}}
}
headers {
Accept: application/json
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: Undo move
type: http
seq: 3
}
post {
url: {{baseUrl}}/api/board/game/{{gameId}}/undo
body: none
auth: none
}
headers {
Accept: application/json
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: Redo move
type: http
seq: 4
}
post {
url: {{baseUrl}}/api/board/game/{{gameId}}/redo
body: none
auth: none
}
headers {
Accept: application/json
}