StaticcreateExport the current state of the client. Can be restored with createFromState.
Lists the available api endpoints and the rqbit version
rqbit version, ex - 9.0.1
Session wide download/upload speed, peer and connection stats
Set session wide rate limits in bytes per second, null removes the limit
OptionalwithStats: falseTorrent details including the file list
Per peer stats, defaults to only live peers
Download the .torrent file for a torrent
Url to stream a file from a torrent, supports range requests. rqbit requires basic auth on this url when it is enabled. https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/http_api/handlers/streaming.rs
index into the torrent's file list
Url to an m3u8 playlist of a torrent's playable files, or every torrent's when no id is passed. rqbit requires basic auth on this url when it is enabled.
Optionalid: TorrentIdOrHashPause one or more torrents, clients resolve with void. Throws torrent_not_found when a torrent doesn't exist
Resume one or more torrents, clients resolve with void. Throws torrent_not_found when a torrent doesn't exist
Remove a torrent
(default: false) If true, remove the downloaded files.
Change which files are downloaded
indexes into the torrent's file list
Connect to additional peers
ex - ['1.2.3.4:6881']
rqbit does not support queueing
rqbit does not support queueing
Add a magnet link or a url to a .torrent file. rqbit resolves magnet metadata from peers before it responds, so this can take a while, see RqbitConfig.addTimeout https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/http_api/handlers/torrents.rs
Add a torrent
.torrent file contents, or the file contents as a base64 string. Magnet links and urls are passed to Rqbit.addMagnet
Resolve a magnet link to .torrent file contents without adding it. Like adding, rqbit fetches the metadata from peers before it responds, see RqbitConfig.addTimeout
Create a torrent from a folder on the rqbit server and start seeding it.
rqbit must be started with --http-api-allow-create or RQBIT_HTTP_API_ALLOW_CREATE=true.
path to the folder on the rqbit server
Add a torrent and return normalized torrent data.
The add endpoint has no paused option, startPaused pauses the torrent after adding.
rqbit does not support labels, label is ignored.
https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/http_api_types.rs
Throws a TorrentClientError with the torrent_not_found code when the torrent doesn't exist
rqbit does not support labels so labels is always empty
rqbit has no published api reference.
GET /on the server lists every endpoint, see Rqbit.getApiInfo. Routes https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/http_api/handlers/mod.rs Response types https://github.com/ikatson/rqbit/blob/v9.0.1/crates/librqbit/src/api.rs