feat(api): add comprehensive API collection for NowChess microservices
Build & Test (NowChessSystems) TeamCity build finished

This commit is contained in:
2026-04-30 18:56:48 +02:00
parent 77e498a326
commit 3844456f0c
74 changed files with 1395 additions and 1 deletions
@@ -0,0 +1,22 @@
meta {
name: Challenge Official Bot
type: http
seq: 1
}
http {
method: POST
url: {{accountBaseUrl}}/challenge/official/{{botName}}?difficulty={{difficulty}}&color={{color}}
auth: none
}
headers {
Authorization: Bearer {{token}}
Accept: application/json
}
notes {
Query Parameters:
- difficulty: 1000-2800 (ELO)
- color: white | black | random
}
@@ -0,0 +1,23 @@
meta {
name: Create Official Bot
type: http
seq: 2
}
http {
method: POST
url: {{accountBaseUrl}}/account/official-bots
body: json
auth: none
}
headers {
Content-Type: application/json
Authorization: Bearer {{adminToken}}
}
body:json {
{
"name": "Stockfish-1000"
}
}
@@ -0,0 +1,15 @@
meta {
name: Delete Official Bot
type: http
seq: 3
}
http {
method: DELETE
url: {{accountBaseUrl}}/account/official-bots/{{botId}}
auth: none
}
headers {
Authorization: Bearer {{adminToken}}
}
+4
View File
@@ -0,0 +1,4 @@
meta {
name: official
seq: 3
}