mirror of
https://github.com/transmission/transmission.git
synced 2026-02-15 07:26:49 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user