tstor/daemons/atorrent/graphql/mutation.graphql

19 lines
392 B
GraphQL
Raw Normal View History

2024-07-07 20:09:13 +00:00
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 {
2025-01-07 21:51:28 +00:00
taskID: String!
2024-07-07 20:09:13 +00:00
}