NTP and PTP Server and Status
Returns a list of all NTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ntp_servers/.format
Example Request
GET
GET ntp_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single specific NTP Server configuration data.
Resource URL
http://{host}/api/2.0/ntp_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP Server to be viewed. |
Example Request
GET
Adds a new NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp_servers/.format
Example Request
POST
PUT ntp_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Updates a single specific NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP Server to be updated. |
Example Request
PUT
DELETE ntp_servers/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp_servers/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP to be deleted. |
Example Request
DELETE
GET device_clocks/command/sync
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Synchronizes local clock.
Resource URL
http://{host}/api/2.0/device_clocks/command/sync/.format
Example Request
GET
GET device_clocks/{device_id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns current status of local clock.
Resource URL
http://{host}/api/2.0/device_clocks/{device_id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
device_id | integer | The Device ID for which the Device Clock displays the clock status. |
Example Request
GET
Returns a list of all NTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ntp/config/.format
Example Request
GET
GET ntp/config/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single specific NTP Server configuration data.
Resource URL
http://{host}/api/2.0/ntp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP Server to be viewed. |
Example Request
GET
Adds a new NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp/config/.format
Example Request
POST
Updates a single specific NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP Server to be updated. |
Example Request
PUT
DELETE ntp/config
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired NTP to be deleted. |
Example Request
DELETE
Returns a list of all PTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ptp/config/.format
Example Request
GET
GET ptp/config/{id}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns a single specific PTP Server configuration data.
Resource URL
http://{host}/api/2.0/ptp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired PTP Server to be viewed. |
Example Request
GET
Returns current PTP status.
Resource URL
http://{host}/api/2.0/ptp/status/.format
Example Request
GET
Adds a new PTP Server configuration.
Resource URL
http://{host}/api/2.0/ptp/config/.format
Example Request
POST
Updates a single specific PTP Server configuration.
Resource URL
http://{host}/api/2.0/ptp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired PTP Server to be updated. |
Example Request
PUT
DELETE ptp/config
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Deletes a single specific PTP Server configuration.
Resource URL
http://{host}/api/2.0/ptp/config/{id}/.format
Parameters
Parameter | Data Type | Description |
---|---|---|
id | integer | The ID of the desired PTP to be deleted. |
Example Request
DELETE