# The `api/iot/restlist` Resource

> The `api/iot/restlist` resource lists the array of nodes in the IoT network.

> ### For an overview see page eXtremeDB Web Service Resources

> With the REST server started (listening on port 8083), the following http request will return a list of the nodes in the IoT network:

>         http://localhost:8083/api/iot/restlist

> The `iot` array displays the following keys for each node in the IoTnetwork:

>         {
>           "this_node_id": 1,
>           "this_node_role": "server", # Possible values: "server", "device" or "router"
>           "iot":
>           [
>             {
>               "node_id": 43, # identifier of the node,
>               "role" : "server", # 'server' or 'device',
>               "address": "127.0.0.1", # IP address of the node
>               "rest_iface": "0.0.0.0", # IP address of the REST interface
>               "rest_port": 8082, # Port of the REST interface
>               "rest_secure: true # Boolean true if SSL (HTTPS) is used
>             {
>           ]

>         }