{- "UUID": 0,
- "Networks": [
- {
- "Name": "string",
- "UUID": "f50af7e0-0dd5-4361-ab96-2e04f7bc7e30",
- "VlanId": 0
}
], - "Wireless": [
- {
- "SSID": "string",
- "NetworkUUID": "47a87815-0041-4ef8-aafe-6be5e79152fe",
- "Encryption": {
- "Method": "psk2",
- "Passkeys": [
- {
- "MacAddress": "string",
- "Passkey": "string",
- "NetworkUUID": "47a87815-0041-4ef8-aafe-6be5e79152fe"
}
], - "Passphrase": "string"
}
}
]
}| UUID | integer <int64> Configuration revision UUID. |
Array of objects (Network) | |
Array of objects (WirelessNetwork) |
{- "UUID": 0,
- "Networks": [
- {
- "Name": "string",
- "UUID": "f50af7e0-0dd5-4361-ab96-2e04f7bc7e30",
- "VlanId": 0
}
], - "Wireless": [
- {
- "SSID": "string",
- "NetworkUUID": "47a87815-0041-4ef8-aafe-6be5e79152fe",
- "Encryption": {
- "Method": "psk2",
- "Passkeys": [
- {
- "MacAddress": "string",
- "Passkey": "string",
- "NetworkUUID": "47a87815-0041-4ef8-aafe-6be5e79152fe"
}
], - "Passphrase": "string"
}
}
]
}{- "message": "Configuration Saved"
}| node_id required | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ MAC address of the device. |
{- "uuid": 0,
- "unit": {
- "name": "string",
- "location": "string",
- "timezone": "string"
}, - "services": {
- "ssh": {
- "authorized-keys": [
- "string"
], - "password-authentication": true
}
}, - "country_code": "string",
- "password": true,
- "radios": {
- "property1": {
- "channel-mode": "string",
- "channel": 0,
- "channel-width": 0
}, - "property2": {
- "channel-mode": "string",
- "channel": 0,
- "channel-width": 0
}
}, - "interfaces": {
- "property1": {
- "role": "downstream",
- "services": [
- "string"
], - "ports": {
- "property1": "string",
- "property2": "string"
}, - "ipv4": {
- "addressing": "static",
- "subnet": "string",
- "dhcp": { }
}, - "ipv6": {
- "property1": "string",
- "property2": "string"
}, - "ssids": {
- "property1": {
- "ssid": "string",
- "wifi-radios": [
- "2G"
], - "bss-mode": "ap",
- "encryption": {
- "proto": "string",
- "key": "string"
}, - "multi-psk": [
- {
- "mac": "string",
- "vlan-id": 0,
- "key": "string"
}
]
}, - "property2": {
- "ssid": "string",
- "wifi-radios": [
- "2G"
], - "bss-mode": "ap",
- "encryption": {
- "proto": "string",
- "key": "string"
}, - "multi-psk": [
- {
- "mac": "string",
- "vlan-id": 0,
- "key": "string"
}
]
}
}, - "tunnel": {
- "proto": "string",
- "wired": true
}, - "vlan": {
- "id": 0
}, - "mtu": 0
}, - "property2": {
- "role": "downstream",
- "services": [
- "string"
], - "ports": {
- "property1": "string",
- "property2": "string"
}, - "ipv4": {
- "addressing": "static",
- "subnet": "string",
- "dhcp": { }
}, - "ipv6": {
- "property1": "string",
- "property2": "string"
}, - "ssids": {
- "property1": {
- "ssid": "string",
- "wifi-radios": [
- "2G"
], - "bss-mode": "ap",
- "encryption": {
- "proto": "string",
- "key": "string"
}, - "multi-psk": [
- {
- "mac": "string",
- "vlan-id": 0,
- "key": "string"
}
]
}, - "property2": {
- "ssid": "string",
- "wifi-radios": [
- "2G"
], - "bss-mode": "ap",
- "encryption": {
- "proto": "string",
- "key": "string"
}, - "multi-psk": [
- {
- "mac": "string",
- "vlan-id": 0,
- "key": "string"
}
]
}
}, - "tunnel": {
- "proto": "string",
- "wired": true
}, - "vlan": {
- "id": 0
}, - "mtu": 0
}
}, - "wwan": {
- "device": "string",
- "apn": "string",
- "plmn": "string",
- "pdptype": "string",
- "metric": 0
}
}| node_id required | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ MAC address of the device. |
{- "memory": {
- "total": 0,
- "free": 0,
- "available": 0
}, - "uptime": 0,
- "load_average": 0,
- "online_status": true,
- "cellular": [
- {
- "signal_strength": 0,
- "carrier_name": "string",
- "data": {
- "bytes_sent": 0,
- "bytes_received": 0,
- "packets_sent": 0,
- "packets_received": 0
}
}
]
}| node_id required | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ MAC address of the device. |
{ }{- "error": "string"
}| network_id required | string <uuid> UUID of the network. |
| id | string Internal ID, not directly used for update, but might be present in client requests. |
| mac_address | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ |
| password | string [ 8 .. 63 ] characters |
[- {
- "id": "string",
- "mac_address": "string",
- "password": "stringst"
}
]{- "message": "Passwords updated"
}| mac_address | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ |
| password_hash_type | string Value: "sha256" |
| password_hash | string |
| ssid | string |
{- "mac_address": "string",
- "password_hash_type": "sha256",
- "password_hash": "string",
- "ssid": "string"
}{- "message": "string",
- "accepted": true
}| name | string |
| mac | string^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$ |
| serial | string |
| ip_address | string <ipv4> |
Array of objects | |
object | |
object (DeviceSubscribeRequestDeviceInfo) |
{- "name": "string",
- "mac": "string",
- "serial": "string",
- "ip_address": "192.168.0.1",
- "radios": [
- {
- "generation": 0,
- "band": 0,
- "bandwidth": 0
}
], - "setup": {
- "ssid": "string",
- "key": "string"
}, - "device": {
- "compatible": "string",
- "model": "string",
- "role": "ap"
}
}{- "message": "Subscribed",
- "key": "string"
}{- "memory": {
- "total": 0,
- "free": 0,
- "available": 0
}, - "uptime": 0,
- "load_average": 0,
- "online_status": true,
- "cellular": [
- {
- "signal_strength": 0,
- "carrier_name": "string",
- "data": {
- "bytes_sent": 0,
- "bytes_received": 0,
- "packets_sent": 0,
- "packets_received": 0
}
}
]
}