fc00 / peers-api

find hyperboria peers via http(s)
https://peers.fc00.io
GNU Affero General Public License v3.0
6 stars 2 forks source link

Add API Specification #1

Open ansuz opened 8 years ago

ansuz commented 8 years ago

Proposal

/<api version>/<query>/<arg1>/<arg ...>/<arg n>

  1. What queries should we support?
  2. does anyone have any better ideas?
ansuz commented 8 years ago

The easiest queries are those already supported by the underlying hyperboria-peers package, though we can add more complex functionality such as /1/nearest-to/NA where NA stands for North America.