add backup validation endpoints

This commit is contained in:
Aria Moradi
2021-08-21 06:08:17 +04:30
parent c29a749833
commit e93d66d8a1
4 changed files with 38 additions and 3 deletions

View File

@@ -96,6 +96,9 @@ object MangaAPI {
post("import", BackupController::protobufImport)
post("import/file", BackupController::protobufImportFile)
post("validate", BackupController::protobufValidate)
post("validate/file", BackupController::protobufValidateFile)
get("export", BackupController::protobufExport)
get("export/file", BackupController::protobufExportFile)
}