21 lines
No EOL
463 B
GraphQL
21 lines
No EOL
463 B
GraphQL
mutation MarkTorrentDownload($infohash: String!, $priority: TorrentPriority! = NORMAL) {
|
|
torrentDaemon {
|
|
setTorrentPriority(infohash: $infohash, priority: $priority)
|
|
}
|
|
}
|
|
|
|
query ListTorrents {
|
|
torrentDaemon {
|
|
torrents {
|
|
name
|
|
infohash
|
|
bytesCompleted
|
|
bytesMissing
|
|
peers {
|
|
ip
|
|
downloadRate
|
|
clientName
|
|
}
|
|
}
|
|
}
|
|
} |