20 lines
No EOL
388 B
GraphQL
20 lines
No EOL
388 B
GraphQL
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!
|
|
} |