-
Notifications
You must be signed in to change notification settings - Fork 174
REST API
OpenDHT offers an HTTP REST API allowing to use an OpenDHT node as a proxy to the distributed network.
Following ressources are exposed through HTTP REST:
Represents the DHT node itself.
Will retreive basic node information with the following JSON structure:
{
"id":"node_id"
}
Represents the key {infohash}
in the distributed map.
Will perform a get
operation on the given key on the distributed map and return a JSON list of results.
Will perform a put
operation on the given key on the distributed map.
Will perform a listen
operation on the given key on the distributed map.
Represents a specific value on the distributed map.
Will perform a get
operation on the given key and value id on the distributed map and return the result or 404.
Will perform a put
operation on the given key on the distributed map.