aboutsummaryrefslogtreecommitdiff
path: root/internal/api/api.go
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <f@miniflux.net> 2024-10-17 21:04:35 -0700
committerGravatar Frédéric Guillot <f@miniflux.net> 2024-10-17 21:29:44 -0700
commit3b654fefa73908063842fd143b76f1089d0d11ed (patch)
tree03445ee4b9b0c0adfa00efdd0c56c19befd84042 /internal/api/api.go
parent0adbcc3a04aafc203d8303048e4ab82918463b2b (diff)
downloadv2-3b654fefa73908063842fd143b76f1089d0d11ed.tar.gz
v2-3b654fefa73908063842fd143b76f1089d0d11ed.tar.zst
v2-3b654fefa73908063842fd143b76f1089d0d11ed.zip
feat(api): rename integrations status endpoint
Diffstat (limited to 'internal/api/api.go')
-rw-r--r--internal/api/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/api.go b/internal/api/api.go
index 19d5ba62..c717e6cb 100644
--- a/internal/api/api.go
+++ b/internal/api/api.go
@@ -37,7 +37,6 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool) {
sr.HandleFunc("/users/{userID:[0-9]+}", handler.updateUser).Methods(http.MethodPut)
sr.HandleFunc("/users/{userID:[0-9]+}", handler.removeUser).Methods(http.MethodDelete)
sr.HandleFunc("/users/{userID:[0-9]+}/mark-all-as-read", handler.markUserAsRead).Methods(http.MethodPut)
- sr.HandleFunc("/users/integrations/status", handler.getIntegrationsStatus).Methods(http.MethodGet)
sr.HandleFunc("/users/{username}", handler.userByUsername).Methods(http.MethodGet)
sr.HandleFunc("/me", handler.currentUser).Methods(http.MethodGet)
sr.HandleFunc("/categories", handler.createCategory).Methods(http.MethodPost)
@@ -75,6 +74,7 @@ func Serve(router *mux.Router, store *storage.Storage, pool *worker.Pool) {
sr.HandleFunc("/icons/{iconID}", handler.getIconByIconID).Methods(http.MethodGet)
sr.HandleFunc("/enclosures/{enclosureID}", handler.getEnclosureByID).Methods(http.MethodGet)
sr.HandleFunc("/enclosures/{enclosureID}", handler.updateEnclosureByID).Methods(http.MethodPut)
+ sr.HandleFunc("/integrations/status", handler.getIntegrationsStatus).Methods(http.MethodGet)
sr.HandleFunc("/version", handler.versionHandler).Methods(http.MethodGet)
}