tstor/ui/lib/api/torrent.graphql

21 lines
463 B
GraphQL
Raw Normal View History

2024-08-15 08:23:44 +00:00
mutation MarkTorrentDownload($infohash: String!, $priority: TorrentPriority! = NORMAL) {
torrentDaemon {
setTorrentPriority(infohash: $infohash, priority: $priority)
2024-04-24 17:36:33 +00:00
}
}
2024-08-15 08:23:44 +00:00
query ListTorrents {
torrentDaemon {
torrents {
name
infohash
bytesCompleted
bytesMissing
peers {
ip
downloadRate
clientName
}
2024-04-27 11:00:34 +00:00
}
2024-04-24 17:36:33 +00:00
}
}