🎨 Add internal kernel API /api/attr/batchSetBlockAttrs https://github.com/siyuan-note/siyuan/issues/10337

This commit is contained in:
Daniel 2024-02-11 16:58:25 +08:00
parent 70869ec218
commit 11993cab32
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
3 changed files with 86 additions and 0 deletions

View file

@ -211,6 +211,7 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/attr/getBookmarkLabels", model.CheckAuth, getBookmarkLabels)
ginServer.Handle("POST", "/api/attr/resetBlockAttrs", model.CheckAuth, model.CheckReadonly, resetBlockAttrs)
ginServer.Handle("POST", "/api/attr/setBlockAttrs", model.CheckAuth, model.CheckReadonly, setBlockAttrs)
ginServer.Handle("POST", "/api/attr/batchSetBlockAttrs", model.CheckAuth, model.CheckReadonly, batchSetBlockAttrs)
ginServer.Handle("POST", "/api/attr/getBlockAttrs", model.CheckAuth, getBlockAttrs)
ginServer.Handle("POST", "/api/cloud/getCloudSpace", model.CheckAuth, getCloudSpace)