type Mutation { validateTorrents(filter: TorrentFilter!): Boolean! cleanupTorrents(files: Boolean, dryRun: Boolean!): Int! downloadTorrent(infohash: String!, file: String): DownloadTorrentResponse } input TorrentFilter @oneOf { everything: Boolean infohash: String # pathGlob: String! } type DownloadTorrentResponse { task: Task } type Task { id: ID! }