Add: update tag info

This commit is contained in:
2021-12-12 12:56:32 +08:00
parent 1bbcecfb2e
commit af444f0bbb
5 changed files with 86 additions and 3 deletions

View File

@@ -86,6 +86,7 @@ func NewAPI(config Config) (*API, error) {
apiMux.HandleFunc("/get_tags", api.HandleGetTags)
apiMux.HandleFunc("/get_tag_info", api.HandleGetTagInfo)
apiMux.HandleFunc("/insert_tag", api.HandleInsertTag)
apiMux.HandleFunc("/update_tag", api.HandleUpdateTag)
// below needs token
apiMux.HandleFunc("/walk", api.HandleWalk)
apiMux.HandleFunc("/reset", api.HandleReset)