1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: add statistics endpoint

This commit is contained in:
Adhityaa
2018-06-03 21:35:44 +05:30
parent 13eca3c78a
commit 5b7b97a4bf
3 changed files with 120 additions and 0 deletions

View File

@ -18,6 +18,7 @@ func initAPIRouter(router *mux.Router) error {
router.HandleFunc("/api/domain/update", domainUpdateHandler).Methods("POST")
router.HandleFunc("/api/domain/moderator/new", domainModeratorNewHandler).Methods("POST")
router.HandleFunc("/api/domain/moderator/delete", domainModeratorDeleteHandler).Methods("POST")
router.HandleFunc("/api/domain/statistics", domainStatisticsHandler).Methods("POST")
router.HandleFunc("/api/commenter/session/new", commenterSessionNewHandler).Methods("GET")
router.HandleFunc("/api/commenter/self", commenterSelfHandler).Methods("POST")