Skip to content
On this page

List all network interfaces

Endpoint

GET /v1/nets

Returns a list of network interfaces connected to a Raspberry Pi

Responses

json
{
   "type":"array",
   "items":{
      "type":"object",
      "properties":{
         "id":{
            "type":"int"
         },
         "name":{
            "type":"string"
         },
         "flags":{
            "type":"array",
            "items":{
               "type":"string"
            }
         },
         "ipv4":{
            "type":"string"
         },
         "bytesSent":{
            "type":"uint64"
         },
         "bytesRecv":{
            "type":"uint64"
         },
         "packetsSent":{
            "type":"uint64"
         },
         "packetsRecv":{
            "type":"uint64"
         }
      }
   }
}