tstor/graphql/sources/torrent_mutation.graphql
royalcat 199a82ff0c
All checks were successful
docker / build-docker (linux/amd64) (push) Successful in 2m16s
docker / build-docker (linux/arm64) (push) Successful in 2m14s
torrent priority and piece state fix
2024-07-07 23:09:13 +03:00

18 lines
387 B
GraphQL

type TorrentDaemonMutation {
validateTorrent(filter: TorrentFilter!): Boolean! @resolver
setTorrentPriority(
infohash: String!
file: String
priority: TorrentPriority!
): Boolean! @resolver
cleanup(files: Boolean, dryRun: Boolean!): CleanupResponse! @resolver
}
type CleanupResponse {
count: Int!
list: [String!]!
}
type DownloadTorrentResponse {
task: Task
}