Set and Get NTP Server (Player) Status
# Set and Get NTP Server (Player) Status
# Set Player as NTP Server
Path:
/api/ntpd
Method: PUT
Content-type: application/json; charset=utf-8
API Description: This is applicable to LAN synchronized program. The player will be set as the NTP server after enabling NTPD.
Request
Name | Type | Example | Description |
---|---|---|---|
status | int | 1 | 1-Enable, 0-Disable |
Example
{"status":1}
# Get NTP Server (Player) Status
Path:
/api/ntpd.json
Method: GET
Content-type: application/json; charset=utf-8
API Description: This is applicable to LAN synchronized program. The player will be set as the NTP server after enabling NTPD.
Response
Name | Type | Example | Description |
---|---|---|---|
status | int | 1 | 1-Enable, 0-Disable |
Example
{"status":1}