systemd · Example Payload

Network1 Listlinks Example

Sample of the array returned by org.freedesktop.network1.Manager.ListLinks.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Network1 Listlinks Example is an example object payload from systemd, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionexample

Example Payload

Raw ↑
{
  "operation": "ListLinks",
  "description": "Sample of the array returned by org.freedesktop.network1.Manager.ListLinks.",
  "example": [
    { "ifindex": 1, "name": "lo", "object_path": "/org/freedesktop/network1/link/_31" },
    { "ifindex": 2, "name": "eth0", "object_path": "/org/freedesktop/network1/link/_32" },
    { "ifindex": 3, "name": "wlan0", "object_path": "/org/freedesktop/network1/link/_33" }
  ]
}