POST /api/v2/torrents/uploadLimit HTTP/1.1User-Agent: FiddlerHost: 127.0.0.1Cookie: SID=your_sidContent-Type: application/x-www-form-urlencodedContent-Length: lengthhashes=8c212779b4abde7c6bc608063a0d008b7e40ce32|284b83c9c7935002391129fd97f43db5d7cc2ba0 Copy
POST /api/v2/torrents/uploadLimit HTTP/1.1User-Agent: FiddlerHost: 127.0.0.1Cookie: SID=your_sidContent-Type: application/x-www-form-urlencodedContent-Length: lengthhashes=8c212779b4abde7c6bc608063a0d008b7e40ce32|284b83c9c7935002391129fd97f43db5d7cc2ba0
hashes can contain multiple hashes separated by | or set to all
hashes
|
all
Server reply (example):
HTTP/1.1 200 OKcontent-type: application/jsoncontent-length: length{"8c212779b4abde7c6bc608063a0d008b7e40ce32":338944,"284b83c9c7935002391129fd97f43db5d7cc2ba0":123} Copy
HTTP/1.1 200 OKcontent-type: application/jsoncontent-length: length{"8c212779b4abde7c6bc608063a0d008b7e40ce32":338944,"284b83c9c7935002391129fd97f43db5d7cc2ba0":123}
8c212779b4abde7c6bc608063a0d008b7e40ce32 is the hash of the torrent in the request and 338944 its upload speed limit in bytes per second; this value will be zero if no limit is applied.
8c212779b4abde7c6bc608063a0d008b7e40ce32
338944
Optional
hashescan contain multiple hashes separated by|or set toallServer reply (example):
8c212779b4abde7c6bc608063a0d008b7e40ce32is the hash of the torrent in the request and338944its upload speed limit in bytes per second; this value will be zero if no limit is applied.