Skip to content
/ dup Public

Protocol and application for tracking node uptime on a distributed network.

License

Notifications You must be signed in to change notification settings

super3/dup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dup

Protocol and application for tracking node uptime on a distributed network.

/

URL: http://example.com/

METHOD: GET

Display the latest nodes as defined by seenThreshold.

{
  "active": [
    {
      "nodeID": "e4327043c4746c998a758db868e6d6a1ff9ddf0a",
      "lastSeen": 1522871547654
    },
    {
      "nodeID": "a14cc24085d7a9ea43ec3712d72b1dbb9ad3d2c0",
      "lastSeen": 1522871547912
    },
    ...
  ]
}

/api/ping

URL: http://example.com/api/ping/<nodeID>

METHOD: GET

Allow the node to ping.

{
  "active": [
    {
      "nodeID": "e4327043c4746c998a758db868e6d6a1ff9ddf0a",
      "lastSeen": 1522871547654
    },
    {
      "nodeID": "a14cc24085d7a9ea43ec3712d72b1dbb9ad3d2c0",
      "lastSeen": 1522871547912
    },
    ...
  ]
}

About

Protocol and application for tracking node uptime on a distributed network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages