Changeset 5807


Ignore:
Timestamp:
May 10, 2008, 10:14:19 PM (14 years ago)
Author:
charles
Message:

eliminate spec ambiguity from the last commit. it's stupid to have features like "set the 4th file in every torrent to high priority"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/ipc-json-spec.txt

    r5806 r5807  
    155155   string             | value type & description
    156156   -------------------+-------------------------------------------------
    157    "ids"              | array     see section 3.1
    158    "max-peers"        | int       maximum number of peers
    159    "speed-limit-down" | int       maximum download speed (in KiB/s)
    160    "speed-limit-up"   | int       maximum upload speed (in KiB/s)
     157   "id"               | int or string  torrent id or hash string
     158   "max-peers"        | int            maximum number of peers
     159   "speed-limit-down" | int            maximum download speed (in KiB/s)
     160   "speed-limit-up"   | int            maximum upload speed (in KiB/s)
    161161
    1621623.6.1.  Mutators
    163163
    164164   Request name: "torrent-set"
    165    Request arguments: one or more of 3.6's arguments
     165   Request arguments: "id" from 3.6, plus one or more of 3.6's other arguments
    166166   Response arguments: none
    167167
     
    178178   string             | value type & description
    179179   -------------------+-------------------------------------------------
    180    "ids"              | array     see section 3.1
    181    "priority-high"    | array     indices of one or more high-priority files
    182    "priority-low"     | array     indices of one or more low-priority files
    183    "priority-normal"  | array     indices of one or more normal-priority files
    184    "download"         | array     indices of one or more file to download
    185    "no-download"      | array     indices of one or more file to not download
     180   "id"               | int or string  torrent id or hash string
     181   "priority-high"    | array          indices of one or more high-priority files
     182   "priority-low"     | array          indices of one or more low-priority files
     183   "priority-normal"  | array          indices of one or more normal-priority files
     184   "download"         | array          indices of one or more file to download
     185   "no-download"      | array          indices of one or more file to not download
    186186
    1871873.7.1.  Mutators
    188188
    189189    Request name: "torrent-set-file"
    190     Request arguments: one or more of 3.7's arguments
     190    Request arguments: "id" from 3.7, plus one or more of 3.7's other arguments
    191191    Response arguments: none
    192192
     
    195195    Request name: "torrent-get-file"
    196196    Request arguments: none
    197     Response arguments: all of 3.6's arguments   
     197    Response arguments: all of 3.7's arguments
    198198   
    1991994.   Session Status Requests
     
    216216
    217217   Request name: "session-set"
    218    Request arguments: one or more of 4.1's session arguments
     218   Request arguments: one or more of 4.1's arguments
    219219   Response arguments: none
    220220
     
    223223   Request name: "session-get"
    224224   Request arguments: none
    225    Response arguments: all of 4.1's session arguments
    226 
     225   Response arguments: all of 4.1's arguments
     226
Note: See TracChangeset for help on using the changeset viewer.