Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/super3/dup
Protocol and application for tracking node uptime on a distributed network.
https://github.com/super3/dup
Last synced: 27 days ago
JSON representation
Protocol and application for tracking node uptime on a distributed network.
- Host: GitHub
- URL: https://github.com/super3/dup
- Owner: super3
- License: agpl-3.0
- Created: 2018-03-27T12:42:25.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-30T21:16:09.000Z (over 6 years ago)
- Last Synced: 2024-11-06T15:57:42.384Z (3 months ago)
- Language: Go
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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/`METHOD: `GET`
Allow the node to ping.
```
{
"active": [
{
"nodeID": "e4327043c4746c998a758db868e6d6a1ff9ddf0a",
"lastSeen": 1522871547654
},
{
"nodeID": "a14cc24085d7a9ea43ec3712d72b1dbb9ad3d2c0",
"lastSeen": 1522871547912
},
...
]
}
```