mirror of
https://github.com/aykhans/bsky-feedgen.git
synced 2025-07-17 21:34:00 +00:00
Add 'users', 'users/valid/', and 'users/invalid/' endpoints to API
This commit is contained in:
@@ -34,6 +34,9 @@ func Run(
|
||||
"GET /xrpc/app.bsky.feed.getFeedSkeleton",
|
||||
authMiddleware.JWTAuthMiddleware(http.HandlerFunc(feedHandler.GetFeedSkeleton)),
|
||||
)
|
||||
mux.HandleFunc("GET /{feed}/users", feedHandler.GetAllUsers)
|
||||
mux.HandleFunc("GET /{feed}/users/valid/", feedHandler.GetValidUsers)
|
||||
mux.HandleFunc("GET /{feed}/users/invalid/", feedHandler.GetInvalidUsers)
|
||||
|
||||
httpServer := &http.Server{
|
||||
Addr: fmt.Sprintf(":%d", apiConfig.APIPort),
|
||||
|
Reference in New Issue
Block a user