mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Added parameter root_folder for /command/upload and /command/download
@@ -813,6 +813,10 @@ true
|
||||
|
||||
Property | Type | Description
|
||||
------------------------------|---------|------------
|
||||
`urls` | string | URLs separated with newlines
|
||||
`savepath` | string | (optional) Download folder
|
||||
`cookie` | string | (optional) Cookie sent to download the .torrent file
|
||||
`category` | string | (optional) Category for the torrent
|
||||
`skip_checking` `API13` | string | (optional) Skip hash checking. Possible values are `true` and `false` (default)
|
||||
`paused` `API13` | string | (optional) Add torrents in the paused state. Possible values are `true` and `false` (default)
|
||||
`root_folder` `API15` | string | (optional) Create the root folder. Possible values are `true` (default) and `false`
|
||||
@@ -825,6 +829,7 @@ Property | Type | Description
|
||||
Cookie: SID=your_sid
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Content-Length: length
|
||||
|
||||
urls=http://www.nyaa.eu/?page=download%26tid=305093%0Ahttp://www.nyaa.eu/?page=download%26tid=305255%0Amagnet:?xt=urn:btih:4c284ebef5bf0d967e2e174cfe825d9fb40ae5e1%26dn=QBittorrent+2.8.4+Win7+Vista+64+working+version%26tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80%26tr=udp%3A%2F%2Ftracker.publicbt.com%3A80%26tr=udp%3A%2F%2Ftracker.istole.it%3A6969%26tr=udp%3A%2F%2Ftracker.ccc.de%3A80
|
||||
```
|
||||
Please note that:
|
||||
@@ -883,6 +888,7 @@ Property | Type | Description
|
||||
POST /command/addTrackers HTTP/1.1
|
||||
User-Agent: Fiddler
|
||||
Host: 127.0.0.1
|
||||
Cookie: SID=your_sid
|
||||
Content-Type: application/x-www-form-urlencoded
|
||||
Content-Length: length
|
||||
|
||||
|
||||
Reference in New Issue
Block a user