Ignore:
Timestamp:
Sep 18, 2010, 11:06:03 PM (12 years ago)
Author:
charles
Message:

(trunk) #3547 "Wrong speed display in web UI" -- fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/extras/rpc-spec.txt

    r11209 r11228  
    4014014.1.  Session Arguments
    402402
    403    string                           | value type & description
    404    ---------------------------------+-------------------------------------------------
    405    "alt-speed-down"                 | number     max global download speed (KBps)
    406    "alt-speed-enabled"              | boolean    true means use the alt speeds
    407    "alt-speed-time-begin"           | number     when to turn on alt speeds (units: minutes after midnight)
    408    "alt-speed-time-enabled"         | boolean    true means the scheduled on/off times are used
    409    "alt-speed-time-end"             | number     when to turn off alt speeds (units: same)
    410    "alt-speed-time-day"             | number     what day(s) to turn on alt speeds (look at tr_sched_day)
    411    "alt-speed-up"                   | number     max global upload speed (KBps)
    412    "blocklist-enabled"              | boolean    true means enabled
    413    "blocklist-size"                 | number     number of rules in the blocklist
    414    "cache-size"                     | number     maximum size of the disk cache (MB)
    415    "config-dir"                     | string     location of transmission's configuration directory
    416    "download-dir"                   | string     default path to download torrents
    417    "dht-enabled"                    | boolean    true means allow dht in public torrents
    418    "encryption"                     | string     "required", "preferred", "tolerated"
    419    "idle-seeding-limit"             | number     the default seed inactivity limit for torrents to use
    420    "idle-seeding-limit-enabled"     | boolean    true if the seeding inactivity limit is honored by default
    421    "incomplete-dir"                 | string     path for incomplete torrents, when enabled
    422    "incomplete-dir-enabled"         | boolean    true means keep torrents in incomplete-dir until done
    423    "lpd-enabled"                    | boolean    true means allow Local Peer Discovery in public torrents
    424    "peer-limit-global"              | number     maximum global number of peers
    425    "peer-limit-per-torrent"         | number     maximum global number of peers
    426    "pex-enabled"                    | boolean    true means allow pex in public torrents
    427    "peer-port"                      | number     port number
    428    "peer-port-random-on-start"      | boolean    true means pick a random peer port on launch
    429    "port-forwarding-enabled"        | boolean    true means enabled
    430    "rename-partial-files"           | boolean    true means append ".part" to incomplete files
    431    "rpc-version"                    | number     the current RPC API version
    432    "rpc-version-minimum"            | number     the minimum RPC API version supported
    433    "script-torrent-done-filename"   | string     filename of the script to run
    434    "script-torrent-done-enabled"    | boolean    whether or not to call the "done" script
    435    "seedRatioLimit"                 | double     the default seed ratio for torrents to use
    436    "seedRatioLimited"               | boolean    true if seedRatioLimit is honored by default
    437    "speed-limit-down"               | number     max global download speed (KBps)
    438    "speed-limit-down-enabled"       | boolean    true means enabled
    439    "speed-limit-up"                 | number     max global upload speed (KBps)
    440    "speed-limit-up-enabled"         | boolean    true means enabled
    441    "start-added-torrents"           | boolean    true means added torrents will be started right away
    442    "trash-original-torrent-files"   | boolean    true means the .torrent file of added torrents will be deleted
    443    "version"                        | string     long version string "$version ($revision)"
     403   string                           | value type | description
     404   ---------------------------------+------------+-------------------------------------
     405   "alt-speed-down"                 | number     | max global download speed (KBps)
     406   "alt-speed-enabled"              | boolean    | true means use the alt speeds
     407   "alt-speed-time-begin"           | number     | when to turn on alt speeds (units: minutes after midnight)
     408   "alt-speed-time-enabled"         | boolean    | true means the scheduled on/off times are used
     409   "alt-speed-time-end"             | number     | when to turn off alt speeds (units: same)
     410   "alt-speed-time-day"             | number     | what day(s) to turn on alt speeds (look at tr_sched_day)
     411   "alt-speed-up"                   | number     | max global upload speed (KBps)
     412   "blocklist-enabled"              | boolean    | true means enabled
     413   "blocklist-size"                 | number     | number of rules in the blocklist
     414   "cache-size"                     | number     | maximum size of the disk cache (MB)
     415   "config-dir"                     | string     | location of transmission's configuration directory
     416   "download-dir"                   | string     | default path to download torrents
     417   "dht-enabled"                    | boolean    | true means allow dht in public torrents
     418   "encryption"                     | string     | "required", "preferred", "tolerated"
     419   "idle-seeding-limit"             | number     | the default seed inactivity limit for torrents to use
     420   "idle-seeding-limit-enabled"     | boolean    | true if the seeding inactivity limit is honored by default
     421   "incomplete-dir"                 | string     | path for incomplete torrents, when enabled
     422   "incomplete-dir-enabled"         | boolean    | true means keep torrents in incomplete-dir until done
     423   "lpd-enabled"                    | boolean    | true means allow Local Peer Discovery in public torrents
     424   "peer-limit-global"              | number     | maximum global number of peers
     425   "peer-limit-per-torrent"         | number     | maximum global number of peers
     426   "pex-enabled"                    | boolean    | true means allow pex in public torrents
     427   "peer-port"                      | number     | port number
     428   "peer-port-random-on-start"      | boolean    | true means pick a random peer port on launch
     429   "port-forwarding-enabled"        | boolean    | true means enabled
     430   "rename-partial-files"           | boolean    | true means append ".part" to incomplete files
     431   "rpc-version"                    | number     | the current RPC API version
     432   "rpc-version-minimum"            | number     | the minimum RPC API version supported
     433   "script-torrent-done-filename"   | string     | filename of the script to run
     434   "script-torrent-done-enabled"    | boolean    | whether or not to call the "done" script
     435   "seedRatioLimit"                 | double     | the default seed ratio for torrents to use
     436   "seedRatioLimited"               | boolean    | true if seedRatioLimit is honored by default
     437   "speed-limit-down"               | number     | max global download speed (KBps)
     438   "speed-limit-down-enabled"       | boolean    | true means enabled
     439   "speed-limit-up"                 | number     | max global upload speed (KBps)
     440   "speed-limit-up-enabled"         | boolean    | true means enabled
     441   "start-added-torrents"           | boolean    | true means added torrents will be started right away
     442   "trash-original-torrent-files"   | boolean    | true means the .torrent file of added torrents will be deleted
     443   "units"                          | object     | see below
     444   "version"                        | string     | long version string "$version ($revision)"
     445   ---------------------------------+------------+-----------------------------+
     446   units                            | object containing:                       |
     447                                    +--------------+--------+------------------+
     448                                    | speed-units  | array  | 4 strings: KB/s, MB/s, GB/s, TB/s
     449                                    | speed-bytes  | number | number of bytes in a KB (1000 for kB; 1024 for KiB)
     450                                    | size-units   | array  | 4 strings: KB/s, MB/s, GB/s, TB/s
     451                                    | size-bytes   | number | number of bytes in a KB (1000 for kB; 1024 for KiB)
     452                                    | memory-units | array  | 4 strings: KB/s, MB/s, GB/s, TB/s
     453                                    | memory-bytes | number | number of bytes in a KB (1000 for kB; 1024 for KiB)
     454                                    +--------------+--------+------------------+
    444455
    445456   "rpc-version" indicates the RPC interface version supported by the RPC server.
     
    623634         |         | yes       | session-get    | new arg "idle-seeding-limit"
    624635         |         | yes       | session-get    | new arg "idle-seeding-limit-enabled"
     636         |         | yes       | session-get    | new arg "units"
    625637         |         | yes       | torrent-set    | new arg "seedIdleLimit"
    626638         |         | yes       | torrent-set    | new arg "seedIdleMode"
Note: See TracChangeset for help on using the changeset viewer.