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
+31
View File
@@ -0,0 +1,31 @@
meta {
name: Import FEN
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/board/game/import/fen
body: json
auth: none
}
headers {
Accept: application/json
Content-Type: application/json
}
body:json {
{
"fen": "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1",
"white": {
"id": "player1",
"displayName": "Alice"
},
"black": {
"id": "player2",
"displayName": "Bob"
}
}
}
+23
View File
@@ -0,0 +1,23 @@
meta {
name: Import PGN
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/board/game/import/pgn
body: json
auth: none
}
headers {
Accept: application/json
Content-Type: application/json
}
body:json {
{
"pgn": "1. e4 e5 2. Nf3 Nc6 *"
}
}