torrent list
This commit is contained in:
parent
d8ee8a3a24
commit
0d7aac068c
23 changed files with 1285 additions and 698 deletions
ui/lib/api
|
@ -6,11 +6,20 @@ mutation MarkTorrentDownload($infohash: String!) {
|
|||
}
|
||||
}
|
||||
|
||||
query ListTorrents {
|
||||
torrents {
|
||||
query ListTorrents($downloading: Boolean) {
|
||||
torrents(filter: {
|
||||
downloading: {
|
||||
eq: $downloading
|
||||
}
|
||||
}) {
|
||||
name
|
||||
infohash
|
||||
bytesCompleted
|
||||
bytesMissing
|
||||
peers {
|
||||
ip
|
||||
downloadRate
|
||||
clientName
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue