Verify Player Name
- Print
- PDF
Verify Player Name
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The following describes how to check if you can use it as a player's name.
Requests
GET {API_URL}/players/checkName?name={name}
Request Parameters
Field name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
name | Y | String | Minimum of 3 alphanumeric characters, maximum of 30 characters | Player name Including check for duplicates |
Success code
HttpStatusCode | Code | Message |
---|---|---|
200 | 200 | ok |
Errors
HttpStatusCode | Code | Message | Description |
---|---|---|---|
200 | 4702 | Body (JSON) domains is missing. | |
200 | 4610 | Query string name is invalid. | |
200 | 4802 | This player already exists. |
Request Examples
GET /api/v1/players/checkName?name=test123
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
Response examples
HTTP/1.1 200 OK
Server: nginx
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"
}
Was this article helpful?