Skip to content

Instantly share code, notes, and snippets.

@yanosz
Forked from StilgarBF/gist:c21826994b775787f739
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yanosz/eb893b929cd6d69cba3e to your computer and use it in GitHub Desktop.
Save yanosz/eb893b929cd6d69cba3e to your computer and use it in GitHub Desktop.
{
'version' : '1.1.2',
'updated_at': '2014-12-09T07:39:22+00:00',
'community': {
'href': 'URL-to_API-FILE.json' // May be embedded
}
'nodes' : [{
'id' : "r_0815", // To be detailed: Non-Numeric IDs? Why?
'version': '1.1.1',
'updated_at': '2014-12-09T07:39:22+00:00',
'name' : 'Cafe kleine Möve',
'node_type' : "AP", // to be detailed: Why is that modelled?
'href' : "https://www.freifunk-meinestadt.de/routers.php?id=r_0815", // To be detailed: What is shown here? If not json: href -> details_page
'status' : {
'online' : true, //false, null.
'clients' : 10,
'lastcontact' : '2014-12-09T07:39:22+00:00'
},
'node_attributes' : [ // To be rendered as table
{'name': 'TQ', 'value': '255'},
{'name': 'Model', 'value': 'TL-WR1043nd v2.0'}
],
'position' : {'lat': 51.1, 'lng': 10.1, 'alt': 23},
'links' : {
'admin_c' : {'type': 'people', 'id': 'user@openid.domain'} // May be embedded but is refering to the end.
}
}
],
'linked' : {
'people' : [
{'version': '1.1.2', 'id': 'user@openid.domain', 'email': 'mailbox@domain.tld'}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment