mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 08:48:07 -06:00
Add missing parameter to WebUI-API section 'Set torrent share limit'
Also organized parameters into a table for clarity and made descriptions more concise.
@@ -2196,12 +2196,17 @@ Cookie: SID=your_sid
|
|||||||
Content-Length: length
|
Content-Length: length
|
||||||
|
|
||||||
hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32|284b83c9c7935002391129fd97f43db5d7cc2ba0&ratioLimit=1.0&seedingTimeLimit=60&inactiveSeedingTimeLimit=-2
|
hashes=8c212779b4abde7c6bc608063a0d008b7e40ce32|284b83c9c7935002391129fd97f43db5d7cc2ba0&ratioLimit=1.0&seedingTimeLimit=60&inactiveSeedingTimeLimit=-2
|
||||||
```
|
```
|
||||||
|
|
||||||
**Parameters:**
|
**Parameters:**
|
||||||
`ratioLimit` is the max ratio the torrent should be seeded until. `-2` means the global limit should be used, `-1` means no limit.
|
|
||||||
`seedingTimeLimit` is the max amount of time (minutes) the torrent should be seeded. `-2` means the global limit should be used, `-1` means no limit.
|
Property | Type | Description
|
||||||
|
------------------------------|---------|------------
|
||||||
|
`hashes` | integer | The hashes of the torrents for which you want to set the share limits. Multiple hashes need to be seperated by `\|` or set to `all`.
|
||||||
|
`ratioLimit` | integer | The maximum seeding ratio for the torrent. `-2` means the global limit should be used, `-1` means no limit.
|
||||||
|
`seedingTimeLimit` | integer | The maximum seeding time (minutes) for the torrent. `-2` means the global limit should be used, `-1` means no limit.
|
||||||
|
`inactiveSeedingTimeLimit` | integer | The maximum amount of time (minutes) the torrent is allowed to seed while being inactive. `-2` means the global limit should be used, `-1` means no limit.
|
||||||
|
|
||||||
**Returns:**
|
**Returns:**
|
||||||
|
|
||||||
HTTP Status Code | Scenario
|
HTTP Status Code | Scenario
|
||||||
|
|||||||
Reference in New Issue
Block a user