diff --git a/src/webapi/router/router.go b/src/webapi/router/router.go index 991f032e..5b631739 100644 --- a/src/webapi/router/router.go +++ b/src/webapi/router/router.go @@ -238,5 +238,13 @@ func configRoute(r *gin.Engine, version string) { { service.Any("/prometheus/*url", prometheusProxy) service.POST("/users", userAddPost) + + service.GET("/targets", targetGets) + service.DELETE("/targets", targetDel) + service.GET("/targets/tags", targetGetTags) + service.POST("/targets/tags", targetBindTags) + service.DELETE("/targets/tags", targetUnbindTags) + service.PUT("/targets/note", targetUpdateNote) + service.PUT("/targets/bgid", targetUpdateBgid) } }