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