ODX API v4
string · requiredstringboolean · required
string · requiredstringstring · minLength: 4 · maxLength: 4 · writeOnly · requiredboolean · required
string · requiredstringboolean · required
Amasian Parental PIN
Get PIN state
GET
https://odkmedia.io
/odx/api/v4/parental-pin/
Returns whether this device has a PIN. The PIN itself is never returned — it is stored hashed and only compared server-side.
Headers
didDevice identifier (required)
Example: 00000000-0000-4000-8000-000000000000
Service-NameService name (e.g. amasian, lg-channel-vietnam). Defaults to amasian.
Example: amasian
Get PIN state › Responses
200
has_pin이 기기에 PIN 이 설정돼 있는지
Set the PIN for the first time
POST
https://odkmedia.io
/odx/api/v4/parental-pin/
Registers a PIN for this device. Returns 409 when one already exists — changing it requires the current PIN (PUT).
Headers
didDevice identifier (required)
Example: 00000000-0000-4000-8000-000000000000
Service-NameService name (e.g. amasian, lg-channel-vietnam). Defaults to amasian.
Example: amasian
Set the PIN for the first time › Request Body
new_pin4자리 숫자
Set the PIN for the first time › Responses
has_pin이 기기에 PIN 이 설정돼 있는지
Verify a PIN
POST
https://odkmedia.io
/odx/api/v4/parental-pin/verify/
Compares the submitted PIN server-side and returns only whether it matched. 5 failures lock the device for 15 minutes; a success clears the counter.
Headers
didDevice identifier (required)
Example: 00000000-0000-4000-8000-000000000000
Service-NameService name (e.g. amasian, lg-channel-vietnam). Defaults to amasian.
Example: amasian
Verify a PIN › Responses
200
valid