View player
- Print
- PDF
View player
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The following details how to view a player's detailed information
Requests
GET {API_URL}/players/{player_no}
Request Parameters
Field name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
player_no | Y | Integer | Path Parameter | Player number |
Responses
Field name | Type | Description |
---|---|---|
result | Object | |
result.no | Integer | Player number |
result.name | String | Player name |
result.version | String | SDK version of selected player |
result.auto_update | String | Automatic updates (Yes/No) |
result.access_key | String | Player access key |
result.updated_at | String | Modification date and time |
result.created_at | String | Creation date and time |
result.domains | Object | Registered domain information |
result.domains.ios | Object | Registered ios app data |
result.domains.ios.no | Integer | Domain pk |
result.domains.ios.type | String | Domain type |
result.domains.ios.domain | String | aos package ID |
result.domains.ios.created_at | String | Domain registration date and time |
result.domains.aos | Object | Registered aos app data |
result.domains.aos.no | Integer | Domain pk |
result.domains.aos.type | String | Domain type |
result.domains.aos.domain | String | aos package ID |
result.domains.aos.created_at | String | Domain registration date and time |
result.domains.web | Object | web among registered domains |
result.domains.web.no | Integer | Domain pk |
result.domains.web.type | String | Domain type |
result.domains.web.domain | String | URL |
result.domains.web.created_at | String | Domain registration date and time |
Request Examples
GET /api/v1/player/1
HOST: vpe.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-timestamp:1521787414578
x-ncp-iam-access-key:6uxz1nKkcYwUjWRG5Q1V7NsW0i5jErlu2NjBXXgy
x-ncp-apigw-signature-v2:iJFK773KH0WwQ79PasqJ+ZGixtpDQ/abS57WGQdld2M=
x-ncp-region_code:KR
Success code
HttpStatusCode | Code | Message |
---|---|---|
200 | 200 | ok |
Errors
HttpStatusCode | Code | Message | Description |
---|---|---|---|
200 | 4601 | Query string player_no is missing. | |
200 | 4801 | No player information. |
Response examples
HTTP/1.1 200 OK
Date: Fri, 26 Feb 2021 09:53:32 GMT
Content-Type: application/json;charset=utf-8
Connection: keep-alive
Access-Control-Allow-Origin: *
x-ncp-trace-id: 36c9k60om4p3238cpmc9gm4cj4
{
"code": "200",
"message": ok,
"result": {
"name": "test",
"no": 1234,
"version" : "1.0.0",
"auto_update": "Y",
"domains": {
"aos": [
{
"no": 6965,
"type": "aos",
"domain": "com.test.com",
"created_at": "2023-04-13T01:34:13.000+00:00"
}
],
"ios": [
{
"no": 6964,
"type": "ios",
"domain": "com.test.com",
"created_at": "2023-04-13T01:34:13.000+00:00"
}
],
"web": [
{
"no": 6963,
"type": "web",
"domain": "http://test.com",
"created_at": "2023-04-13T01:34:13.000+00:00"
}
]
},
"access_key": "92f4a22e68",
"created_at": "2023-04-13T01:34:13.000+00:00",
"updated_at": "2023-04-19T03:19:06.000+00:00"
}
}
Was this article helpful?