get https://api.stg.game.topplatform.asia/client/lobby-url
Using this method, an Operator can retrieve the Lobby Page URL for a Specific Player by sending brand code, group code, and player token to this API.
Request
API URL : {NagaGamesAPIDomain}/client/lobby-url
HTTP Method : GET
URL Parameters
Parameter Name | Description | Data Type | Required |
---|---|---|---|
brandCode | Auto-generated code of the brand in Naga Games’s database | String | Yes |
groupCode | Auto-generated code of the group in Naga Games’s database | String | Yes |
playerToken | Unique Token Code of the player sent by Operator | String | Yes |
Example
curl --request GET \
--url 'https://api.stg.game.topplatform.asia/client/lobby-url?brandCode=sneo&groupCode=dpae&playerToken=45b8afde7f854681044f36b0c7e2085c' \
--header 'accept: application/json'
Response
Response Data
Parameter Name | Description | Data Type |
---|---|---|
url | The url of lobby page for specified player | String |
Example
Success Response Example (HTTP status code 200)
{
"url": "https://lobby.stg.game.topplatform.asia/?brandCode=sneo&groupCode=dpae&playerToken=45b8afde7f854681044f36b0c7e2085c"
}
Failure Response Example (HTTP status code 400)
{
"message": "Brand Not Found",
"code": 1201,
"timestamp": "2023-07-24T12:49:20.684Z"
}