Add: delete tag on file

This commit is contained in:
2021-12-12 17:35:30 +08:00
parent 003f8cace2
commit 93a0fe7a31
6 changed files with 104 additions and 3 deletions

View File

@@ -89,6 +89,7 @@ func NewAPI(config Config) (*API, error) {
apiMux.HandleFunc("/update_tag", api.HandleUpdateTag)
apiMux.HandleFunc("/put_tag_on_file", api.HandlePutTagOnFile)
apiMux.HandleFunc("/get_tags_on_file", api.HandleGetTagsOnFile)
apiMux.HandleFunc("/delete_tag_on_file", api.HandleDeleteTagOnFile)
// below needs token
apiMux.HandleFunc("/walk", api.HandleWalk)
apiMux.HandleFunc("/reset", api.HandleReset)