Request
Add the parameter Authorization
to Headers,whose value is to concatenate the Token after the Bearer. Example:Authorization: Bearer ********************
Request samples
curl --location --request GET '/games/1/matches?tags=&state=&users=&limit=&offset=' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoxLCJleHAiOjE3MDM4NDUwNTAsImlzcyI6Imp3dCJ9.wVhQS5IaS7Bq1AO2qf_FvR-lzj17R6Ngy-PJK8Ftpgg'
Responses
application/json {
"count": 0,
"data": [
{
"id": 0,
"tag": "string",
"players": [
{
"ai": {
"id": 0,
"sdk": {
"id": 0,
"name": "string"
}
},
"score": 0,
"user": {
"avatar_url": "string",
"nickname": "string",
"username": "string"
}
},
{
"ai": {
"id": 0,
"sdk": {
"id": 0,
"name": "string"
}
},
"score": 0,
"user": {
"avatar_url": "string",
"nickname": "string",
"username": "string"
}
}
],
"state": "pending",
"time": "string"
}
]
}
Modified at 2023-12-28 10:18:31