Ignore:
Timestamp:
Aug 15, 2008, 8:35:06 PM (13 years ago)
Author:
charles
Message:

(1.3x) backport spec fixes from r6504 and r6505 to 1.3x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3x/doc/rpc-spec.txt

    r6408 r6537  
    3333   Reponses support three keys:
    3434
    35    (1) A required "result" string whose value must be "success" on success,
     35   (1) A required "result" string whose value MUST be "success" on success,
    3636       or an error string on failure.
    3737   (2) An optional "arguments" object of key/value pairs
     
    7373   Response arguments: none
    7474
    75 3.2.  Torrent Mutator
     753.2.  Torrent Mutators
    7676
    7777   Method name: "torrent-set"
     
    214214      {
    215215         "arguments": {
    216              "fields": 2080,
    217              "fields": [ "id", "name", "totalSize" ],
    218              "sort-method": "name"
     216             "fields": [ "id", "name", "totalSize" ]
    219217         }
    220218         "method": "torrent-get",
     
    227225      {
    228226         "arguments": {
    229             "fields": 2080,
    230227            "torrents": [
    231228               {
     
    259256   "peer-limit"       | number      maximum number of peers
    260257
    261    Either "filename" OR "metainfo" must be included.
     258   Either "filename" OR "metainfo" MUST be included.
    262259   All other arguments are optional.
    263260
Note: See TracChangeset for help on using the changeset viewer.