🎨 Add internal kernel API /api/search/updateEmbedBlock https://github.com/siyuan-note/siyuan/issues/9736

This commit is contained in:
Daniel 2023-11-24 17:37:34 +08:00
parent 47df3f8b3d
commit 4a8c32f649
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 44 additions and 1 deletions

View file

@ -148,6 +148,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/search/searchRefBlock", model.CheckAuth, searchRefBlock)
ginServer.Handle("POST", "/api/search/searchEmbedBlock", model.CheckAuth, searchEmbedBlock)
ginServer.Handle("POST", "/api/search/getEmbedBlock", model.CheckAuth, getEmbedBlock)
ginServer.Handle("POST", "/api/search/updateEmbedBlock", model.CheckAuth, updateEmbedBlock)
ginServer.Handle("POST", "/api/search/fullTextSearchBlock", model.CheckAuth, fullTextSearchBlock)
ginServer.Handle("POST", "/api/search/searchAsset", model.CheckAuth, searchAsset)
ginServer.Handle("POST", "/api/search/findReplace", model.CheckAuth, findReplace)