Add endpoint to retrieve user by userId
This commit is contained in:
@@ -80,6 +80,7 @@ func Register(extend HandlerExtender) {
|
||||
}).Methods("GET")
|
||||
|
||||
r.HandleFunc("/users/me", LoggedInUser).Methods("GET")
|
||||
r.HandleFunc("/users/{userId}", GetUser).Methods("GET")
|
||||
r.HandleFunc("/oauth/providers", ListProviders).Methods("GET")
|
||||
r.HandleFunc("/oauth/providers/{provider}/login", Login).Methods("GET")
|
||||
r.HandleFunc("/oauth/providers/{provider}/callback", LoginCallback).Methods("GET")
|
||||
|
||||
Reference in New Issue
Block a user