feat: add bytesCompleted field to torrent-get rpc (#7173)

* add bytesCompleted field to torrent_get rpc

* update bytesCompleted rpc doc
This commit is contained in:
cdowen
2025-11-09 00:05:21 +08:00
committed by GitHub
parent 5180e3b69c
commit d0996479de
2 changed files with 18 additions and 0 deletions

View File

@@ -214,6 +214,7 @@ The 'source' column here corresponds to the data structure there.
| `addedDate` | number | tr_stat
| `availability` | array (see below)| tr_torrentAvailability()
| `bandwidthPriority` | number | tr_priority_t
| `bytesCompleted` | array (see below)| n/a
| `comment` | string | tr_torrent_view
| `corruptEver`| number | tr_stat
| `creator`| string | tr_torrent_view
@@ -290,6 +291,8 @@ The 'source' column here corresponds to the data structure there.
`availability`: An array of `pieceCount` numbers representing the number of connected peers that have each piece, or -1 if we already have the piece ourselves.
`bytesCompleted`: An array of `tr_info.filecount` numbers. Each is the completed bytes for the corresponding file.
`files`: array of objects, each containing:
| Key | Value Type | transmission.h source