Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Returns a list of all NTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ntp_servers/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Adds a new NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp_servers/.format
Example Request
POST
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |
---|---|
|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Returns a list of all NTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ntp/config/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Adds a new NTP Server configuration.
Resource URL
http://{host}/api/2.0/ntp/config/.format
Example Request
POST
Expand |
---|
| |||||
|
Expand | |
---|---|
|
| |||||
|
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
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Returns a list of all PTP Servers configuration data.
Resource URL
http://{host}/api/2.0/ptp/config/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Returns current PTP status.
Resource URL
http://{host}/api/2.0/ptp/status/.format
Example Request
GET
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Adds a new PTP Server configuration.
Resource URL
http://{host}/api/2.0/ptp/config/.format
Example Request
POST
Expand | |
---|---|
|
| |||||
|
Expand |
---|
| |||||
|
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
BodyExpand | |||||
---|---|---|---|---|---|
| |||||
|
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
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
Expand | |||||
---|---|---|---|---|---|
| |||||
|