2024-04-24 17:36:33 +00:00
|
|
|
mutation MarkTorrentDownload($infohash: String!) {
|
|
|
|
downloadTorrent(infohash: $infohash) {
|
|
|
|
task {
|
|
|
|
id
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-27 11:00:34 +00:00
|
|
|
query ListTorrents($downloading: Boolean) {
|
|
|
|
torrents(filter: {
|
|
|
|
downloading: {
|
|
|
|
eq: $downloading
|
|
|
|
}
|
|
|
|
}) {
|
2024-04-24 17:36:33 +00:00
|
|
|
name
|
|
|
|
infohash
|
|
|
|
bytesCompleted
|
|
|
|
bytesMissing
|
2024-04-27 11:00:34 +00:00
|
|
|
peers {
|
|
|
|
ip
|
|
|
|
downloadRate
|
|
|
|
clientName
|
|
|
|
}
|
2024-04-24 17:36:33 +00:00
|
|
|
}
|
|
|
|
}
|