19 lines
387 B
GraphQL
19 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
|
||
|
}
|