feat(server): add reindexing API with tests
This commit is contained in:
parent
fc653d1c15
commit
fd46d7b816
7 changed files with 166 additions and 26 deletions
|
@ -328,6 +328,7 @@ func initHandlers(router *gin.Engine, cfg gocfg.ICfg, deps *depidx.Deps) (*gin.E
|
|||
|
||||
filesAPI.GET("/metadata", fileHdrs.Metadata)
|
||||
filesAPI.GET("/search", fileHdrs.SearchItems)
|
||||
filesAPI.PUT("/reindex", fileHdrs.Reindex)
|
||||
|
||||
filesAPI.POST("/hashes/sha1", fileHdrs.GenerateHash)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue