mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-02 21:52:32 -06:00
Add new webUI API. Closes #6457.
Now getting piece information for a specific torrent is possible via: * Returns an array of states (integers) of pieces in order. Defined as: "0=not downloaded", "1=downloading", "2=downloaded". GET /query/getPieceStates/<torrent_hash> * Returns an array of hashes (strings) of pieces in order: GET /query/getPieceHashes/<torrent_hash>
This commit is contained in:
@@ -51,6 +51,8 @@ public:
|
||||
static QByteArray getWebSeedsForTorrent(const QString& hash);
|
||||
static QByteArray getPropertiesForTorrent(const QString& hash);
|
||||
static QByteArray getFilesForTorrent(const QString& hash);
|
||||
static QByteArray getPieceHashesForTorrent(const QString &hash);
|
||||
static QByteArray getPieceStatesForTorrent(const QString &hash);
|
||||
static QByteArray getTransferInfo();
|
||||
static QByteArray getTorrentsRatesLimits(QStringList& hashes, bool downloadLimits);
|
||||
static QByteArray getLog(bool normal, bool info, bool warning, bool critical, int lastKnownId);
|
||||
|
||||
Reference in New Issue
Block a user