tstor/ui/lib/api/torrent.graphql
2024-08-15 11:23:44 +03:00

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
}
}
}
}