Reset Player Option
- Print
- PDF
Reset Player Option
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
The following details how to return the options set on the player to their previous settings.
Requests
PUT {API_URL}/players/{player_no}/rollback
Request Parameters
Field name | Requirement status | Type | Restrictions | Description |
---|---|---|---|---|
player_no | Y | Integer | Path Parameter | Player number |
Request Examples
PUT /api/v1/players/1/rollback
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. | |
200 | 4804 | The feature can't be used in the free version of player. |
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
// Upon success
{
"code": "200",
"message": "ok"
}
// Upon failure
"error": {
"errorCode": "4801",
"message": "No player information."
}
}
Was this article helpful?