Compare commits
5 Commits
fd34b69f8a
...
a0c3fb9d5d
Author | SHA1 | Date | |
---|---|---|---|
a0c3fb9d5d | |||
|
f72732e2f1 | ||
|
0ca880eea3 | ||
|
4d9f32720e | ||
|
ad18971291 |
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
target
|
target
|
||||||
.env
|
.env
|
||||||
|
/Cargo.lock
|
||||||
|
|
1249
Cargo.lock
generated
1249
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "qbittorrent-web-api"
|
name = "qbittorrent-web-api"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
keywords = ["qbittorrent"]
|
keywords = ["qbittorrent"]
|
||||||
|
@ -10,7 +10,7 @@ description = "Generated web api for qBittorrent"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
reqwest = { version = "0.11", features = ["json", "multipart"] }
|
reqwest = { version = "0.11", features = ["json", "multipart"] }
|
||||||
tokio = { version = "1.19", features = ["full"] }
|
tokio = { version = "1.19", features = ["full"] }
|
||||||
qbittorrent-web-api-gen = { path = "./qbittorrent-web-api-gen", version = "0.6.3" }
|
qbittorrent-web-api-gen = { path = "./qbittorrent-web-api-gen", version = "0.6.4" }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
serde_repr = "0.1"
|
serde_repr = "0.1"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "qbittorrent-web-api-gen"
|
name = "qbittorrent-web-api-gen"
|
||||||
version = "0.6.3"
|
version = "0.6.4"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
keywords = ["qbittorrent"]
|
keywords = ["qbittorrent"]
|
||||||
|
|
|
@ -1982,6 +1982,14 @@ Requires knowing the torrent hash. You can get it from [torrent list](#get-torre
|
||||||
|
|
||||||
Name: `addTrackers`
|
Name: `addTrackers`
|
||||||
|
|
||||||
|
**Parameters:**
|
||||||
|
|
||||||
|
Property | Type | Description
|
||||||
|
--------------------------------|---------|------------
|
||||||
|
`hash` | string | Torrent file to add trackers to
|
||||||
|
`urls` | string | URLs separated with newlines
|
||||||
|
|
||||||
|
|
||||||
```http
|
```http
|
||||||
POST /api/v2/torrents/addTrackers HTTP/1.1
|
POST /api/v2/torrents/addTrackers HTTP/1.1
|
||||||
User-Agent: Fiddler
|
User-Agent: Fiddler
|
||||||
|
|
Loading…
Reference in New Issue
Block a user