feat(files): add search API and tests
This commit is contained in:
parent
4fbdee0eca
commit
826d472a96
6 changed files with 85 additions and 1 deletions
|
@ -327,6 +327,7 @@ func initHandlers(router *gin.Engine, cfg gocfg.ICfg, deps *depidx.Deps) (*gin.E
|
|||
filesAPI.GET("/sharings/dirs", fileHdrs.GetSharingDir)
|
||||
|
||||
filesAPI.GET("/metadata", fileHdrs.Metadata)
|
||||
filesAPI.GET("/search", fileHdrs.SearchItems)
|
||||
|
||||
filesAPI.POST("/hashes/sha1", fileHdrs.GenerateHash)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue