v5.0_PTP
Returns a list of all PTP in the system, with its main configuration data.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config
Example Request
GET
{
"data": [
{
"uuid": "a3dc546f-d18a-4b37-96fe-44dcca5cf14f",
"label": "PTP",
"working_mode": "Unicast",
"network": null,
"domain": 127,
"modified": "2021-07-04T07:46:08.869Z",
"created": "2021-07-04T07:46:08.869Z"
},
{
"uuid": "23bcd716-8ed2-4f21-9137-236ca059dbb7",
"label": "test_PTP",
"working_mode": "Multicast",
"network": "bbfd98b1-f141-41e2-90d7-83771d10b2a4",
"domain": 127,
"modified": "2021-09-21T05:33:03.524Z",
"created": "2021-09-21T05:33:03.524Z"
}
],
"metadata": {
"item_count": 2,
"total_items": 2,
"current_page": 1,
"sort_by": [
{
"field": "label",
"direction": "ASC"
}
],
"links": {
"current": "https://192.168.0.22/api/5.0/ptp/config"
}
}
}
GET ptp/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns an extended single PTP configuration view, specified by the required {uuid} parameter.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the desired encoder. |
Example Request
GET
{
"data": [
{
"uuid": "23bcd716-8ed2-4f21-9137-236ca059dbb7",
"label": "test_PTP",
"created": "2021-09-21T05:33:03.524Z",
"modified": "2021-09-21T05:33:03.524Z",
"network": "bbfd98b1-f141-41e2-90d7-83771d10b2a4",
"working_mode": "Multicast",
"domain": 127
}
],
"metadata": {}
}
GET ptp/config/meta
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | GET |
Returns all meta data used by PTP configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config/meta
Example Request
GET
{
"WorkingModes": [
"Unicast",
"Multicast"
]
}
DELETE ptp/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Delete a specific PTP configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | string | The UUID of the output to be deleted. |
Example Request
DELETE
PUT ptp/config/{uuid}
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Edit a PTP configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config/{{uuid}}
Parameters
Parameter | Data Type | Description |
---|---|---|
uuid | byte | The UUID of the encoder to be edited. |
Example Request
PUT
Body
Response
Add a new PTP, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config
Example Request
POST
Body
Response
POST ptp/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | POST |
Add multiple PTP, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config
Example Request
POST
Body
Response
PUT ptp/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | PUT |
Edit multiple PTP, configured according to the attached data request.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config
Example Request
PUT
Body
Response
DELETE ptp/config multi
Resource Information
Requires Authentication? | |
Response Formats | json |
HTTP Methods | DELETE |
Delete multiple PTP configuration.
Resource URL
https://{{ip_address}}:{{port}}/api/{{version}}/ptp/config/{{uuid}}
Example Request
DELETE
Body
Response