upload file

This commit is contained in:
royalcat 2024-05-15 00:40:38 +03:00
parent 974814c281
commit fa1fdcfc63
5 changed files with 155 additions and 1 deletions

View file

@ -2,6 +2,7 @@ type Mutation {
validateTorrents(filter: TorrentFilter!): Boolean!
cleanupTorrents(files: Boolean, dryRun: Boolean!): CleanupResponse!
downloadTorrent(infohash: String!, file: String): DownloadTorrentResponse
uploadFile(dir: String!, file: Upload!): Boolean!
dedupeStorage: Int!
}