feat(api): add comprehensive API collection for NowChess microservices
Build & Test (NowChessSystems) TeamCity build finished
Build & Test (NowChessSystems) TeamCity build finished
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get Game Record
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
url: {{storeBaseUrl}}/game/{{gameId}}
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Get Running Games
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
url: {{storeBaseUrl}}/game/running/{{playerId}}?offset=0&limit=20
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
notes {
|
||||
Optional query parameters:
|
||||
- offset: Skip N records (default 0)
|
||||
- limit: Return N records (default 20)
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Get Game History
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
http {
|
||||
method: GET
|
||||
url: {{storeBaseUrl}}/game/history/{{playerId}}?offset=0&limit=20
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Accept: application/json
|
||||
}
|
||||
|
||||
notes {
|
||||
Optional query parameters:
|
||||
- offset: Skip N records (default 0)
|
||||
- limit: Return N records (default 20)
|
||||
}
|
||||
Reference in New Issue
Block a user