User Tools

Site Tools


soft:nodedb

General

The Node Database (NodeDB) is an effort to develop a common API for diverse community networks node databases. Is based on Python (Tapyr framework) using a RESTful API approach (slideshow).

Background

Requirement document

ReST API

Currently there are not yet any public online server for access the ReST API. See documentation for more information.

Query response example:

# GET http://api.nodedb.foo/api/FFM-Node/108
{
  "attributes": {
    "manager": {
      "pid": 104, 
      "url": "/api/PAP-Person/104"
    }, 
    "name": "alella-22464", 
    "owner": {
      "pid": 104, 
      "url": "/api/PAP-Person/104"
    }, 
    "position": {
      "lat": 41.512718999999997, 
      "lon": 2.2898309999999999
    }
  }, 
  "cid": 108, 
  "pid": 108, 
  "type_name": "FFM.Node", 
  "url": "/api/FFM-Node/108"
}

Documentation

Source code

You can get the source code via Git:

git clone https://github.com/FFM/FFM.git

supporting libraries

User interaction

New node registration steps

nodeDB new node registration

Edit node

Delete node

  • Implications? What happens when a node is deleted ? What implications does that have for other devices which are connected through this node?
soft/nodedb.txt · Last modified: 2013/05/01 15:17 by aaron