summaryrefslogtreecommitdiff
path: root/files/common/www/service/cgi-bin/nodes.json
blob: e0c5206d6fb1a3bca3f6b7d6e8bd82fec46a49ff (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh -e

echo -e 'Status: 200 OK\r
Content-Type: application/json\r
\r
[{"id": "unique123", "uplink": true,  "pos": {"lat": 50.927222, "lon": 11.586111}, "name": "Papst", "owner": "Peter"},
 {"id": "unique124", "uplink": false, "pos": {"lat": 50.937222, "lon": 11.588111}},
 {"id": "unique125", "uplink": false, "pos": {"lat": 50.921222, "lon": 11.587111}, "name": "Wifihorst"},
 {"id": "unique126", "uplink": true,  "pos": {"lat": 50.925222, "lon": 11.580111}},
 {"id": "unique127", "uplink": false, "pos": {"lat": 50.930222, "lon": 11.582111}, "owner": "Hans Wurst"}]'
contact: Jan Huwald // Impressum