downloads
Files being downloaded and their sources.
GET /downloads
The downloads.
POST /downloads
Starts downloading the files of eD2K links.
DELETE /downloads/completed
Takes the completed downloads off the list; their files stay.
POST /names/cleanup
A file name tidied, without the words the preferences take out of new names.
DELETE /downloads/completed/{hash}
Takes one completed download off the list; its file stays.
GET /downloads/{hash}
One download.
DELETE /downloads/{hash}
Cancels a download and deletes what it got.
POST /downloads/{hash}/pause
Pauses a download; it keeps its sources.
POST /downloads/{hash}/resume
Resumes a paused or stopped download.
POST /downloads/{hash}/stop
Stops a download and forgets its sources.
GET /downloads/{hash}/parts
The map of a download's parts.
PUT /downloads/{hash}/preview
Asks for the first and last parts first, so that the file can be previewed early.
GET /downloads/{hash}/data
Where the data of a download is, which a player on njMule's computer can show while it grows.
PUT /downloads/{hash}/autoswap
Takes the sources shared with other files whenever they are free to move.
POST /downloads/{hash}/swap
Moves the sources shared with other files to this download now, or this download's to the others.
GET /downloads/{hash}/comments
The comments the sources of a download gave on it.
GET /files/{hash}/comment
Our rating and comment of a file, as others see them; 0 and empty while there is none.
PUT /files/{hash}/comment
Rates and comments a file for others to see.
GET /files/{hash}/notes
The notes Kad gave on a file so far.
POST /files/{hash}/notes
Asks Kad for the notes on a file and answers those found.
POST /downloads/{hash}/restore
Brings back a download cancelled in the last seconds, with what it had downloaded.
PUT /downloads/{hash}/priority
Sets the priority of a download.
PUT /downloads/{hash}/category
Moves a download to a category; 0 takes it out of every category.
PUT /downloads/{hash}/name
Renames a download; the name is made safe for any file system.
POST /downloads/{hash}/sources
Adds a client known to have the file as a source of a download.
POST /downloads/{hash}/sources/swap
Moves a source asked for another file to this download, when it is free to move.
GET /sources
The sources of every download.
GET /categories
The categories of downloads.
PUT /categories
Replaces the categories; the downloads of one removed fall into none.