Add new HTTP API endpoints to the root description
This commit is contained in:
parent
c601b399f2
commit
5d3a93b8bd
1 changed files with 4 additions and 0 deletions
|
|
@ -62,10 +62,14 @@ impl HttpApi {
|
|||
"GET /dht/stats": "DHT stats",
|
||||
"GET /dht/table": "DHT routing table",
|
||||
"GET /torrents": "List torrents",
|
||||
"GET /torrents/playlist": "Generate M3U8 playlist for all files in all torrents",
|
||||
"POST /torrents/resolve_magnet": "Resolve a magnet to torrent file bytes",
|
||||
"GET /torrents/{id_or_infohash}": "Torrent details",
|
||||
"GET /torrents/{id_or_infohash}/haves": "The bitfield of have pieces",
|
||||
"GET /torrents/{id_or_infohash}/playlist": "Generate M3U8 playlist for this torrent",
|
||||
"GET /torrents/{id_or_infohash}/stats/v1": "Torrent stats",
|
||||
"GET /torrents/{id_or_infohash}/peer_stats": "Per peer stats",
|
||||
"GET /torrents/{id_or_infohash}/stream/{file_idx}": "Stream a file. Accepts Range header to seek.",
|
||||
"POST /torrents/{id_or_infohash}/pause": "Pause torrent",
|
||||
"POST /torrents/{id_or_infohash}/start": "Resume torrent",
|
||||
"POST /torrents/{id_or_infohash}/forget": "Forget about the torrent, keep the files",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue