tstor/ui/lib/api/torrent.graphql

16 lines
260 B
GraphQL
Raw Normal View History

2024-04-24 17:36:33 +00:00
mutation MarkTorrentDownload($infohash: String!) {
downloadTorrent(infohash: $infohash) {
task {
id
}
}
}
query ListTorrents {
torrents {
name
infohash
bytesCompleted
bytesMissing
}
}