Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Register batch lookup and sharing routes

AmanRajSinghMourya94e4f25c662d
diff --git a/server/cmd/museum/main.go b/server/cmd/museum/main.go
index f8b34cd43f..75d5b9f7f0 100644
--- a/server/cmd/museum/main.go
+++ b/server/cmd/museum/main.go
@@ -708,6 +708,7 @@ func main() {
publicAPI.POST("/users/srp/create-session", userHandler.CreateSRPSession)
privateAPI.PUT("/users/recovery-key", userHandler.SetRecoveryKey)
privateAPI.GET("/users/public-key", userHandler.GetPublicKey)
+ privateAPI.POST("/users/public-keys", userHandler.GetPublicKeys)
privateAPI.GET("/users/session-validity/v2", userHandler.GetSessionValidityV2)
privateAPI.POST("/users/event", userHandler.ReportEvent)
privateAPI.POST("/users/logout", userHandler.Logout)
@@ -751,6 +752,7 @@ func main() {
storageAPI.GET("/collections/v2", collectionHandler.GetV2)
storageAPI.GET("/collections/v3", collectionHandler.GetWithLimit)
storageAPI.POST("/collections/share", collectionHandler.Share)
+ storageAPI.POST("/collections/share/batch", collectionHandler.BatchShare)
storageAPI.POST("/collections/share/bulk", collectionHandler.BulkShare)
storageAPI.POST("/collections/join-link", collectionHandler.JoinLink)
storageAPI.POST("/collections/share-url", collectionHandler.ShareURL)