/config/net/ptp/interface

The network interface configurations for PTP. If empty, PTP is disabled.

Get /config/net/ptp/interface

SecurityApiKey
Request
query Parameters
max-depth
integer >= 1

Limit output depth of the response. See Max-Depth.

Example: max-depth=2
filter
string

Response filter string. See Filter-Spec.

Example: filter={foo,bar}
Responses
200

Normal response.

401

Unauthorized response.

get/config/net/ptp/interface
Request samples
Response samples
application/json
{
  • "result": {
    },
  • "error": "Error message (present if an error occurred)."
}

Replace /config/net/ptp/interface

SecurityApiKey
Request
Request Body schema: application/json
additional property
object (configNetPtpInterfaceIf)

The configuration to use for the named interface.

Responses
200

Normal response.

401

Unauthorized response.

put/config/net/ptp/interface
Request samples
application/json
{
  • "eth0": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Update /config/net/ptp/interface

SecurityApiKey
Request
Request Body schema: application/json
additional property
object (configNetPtpInterfaceIf)

The configuration to use for the named interface.

Responses
200

Normal response.

401

Unauthorized response.

post/config/net/ptp/interface
Request samples
application/json
{
  • "eth0": {
    }
}
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}

Delete /config/net/ptp/interface

Reset to empty (PTP disabled).

SecurityApiKey
Responses
200

Normal response.

401

Unauthorized response.

delete/config/net/ptp/interface
Request samples
Response samples
application/json
{
  • "status": "OK",
  • "error": "Error message (present if an error occurred)."
}