Skip to main content
GET
Get orders for a game
对于给定的 4casters 赛事 ID,返回调用方在该赛事上的未成交订单和已撮合(未结算)投注。此端点不返回已结算投注 — 请使用 获取已结算注单。

请求

GET /user/getOrdersForGame
string
必填
4casters 赛事 ID。

响应

array
该赛事上的未成交订单数组,按开赛时间升序排列。形态与 获取未撮合订单 相同。
array
该赛事上已撮合(未结算)投注的数组。形态与 获取已撮合投注 相同。

示例

错误

授权

Authorization
string
header
必填

Pass your auth token in the Authorization header. The Bearer prefix is optional; the server also accepts a signed auth cookie or a token field in the request body.

查询参数

gameID
string
必填

A 4casters game id (ObjectID). Get game ids from GET /exchange/v2/getGames or GET /exchange/v2/getOrderbook.

响应

Orders and matched bets for the requested game

data
object