tstor/daemons/atorrent/graphql/mutation.graphql
royalcat 10c3f126f0
Some checks failed
docker / build-docker (push) Failing after 4m59s
rename old torrent module
2025-01-08 00:51:28 +03:00

18 lines
392 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 {
taskID: String!
}