mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
disable legacy endpoint
This commit is contained in:
+2
-2
@@ -104,8 +104,8 @@ func (s *Server) apiRegisterEndpoints(
|
||||
endpoint(s.apiRouteServerStatusShow))
|
||||
router.GET("/api/v1/routeservers/:id/neighbors",
|
||||
endpoint(s.apiNeighborsList))
|
||||
router.GET("/api/v1/routeservers/:id/neighbors/:neighborId/routes",
|
||||
endpoint(s.apiRoutesList))
|
||||
// router.GET("/api/v1/routeservers/:id/neighbors/:neighborId/routes",
|
||||
// endpoint(s.apiRoutesList))
|
||||
router.GET("/api/v1/routeservers/:id/neighbors/:neighborId/routes/received",
|
||||
endpoint(s.apiRoutesListReceived))
|
||||
router.GET("/api/v1/routeservers/:id/neighbors/:neighborId/routes/filtered",
|
||||
|
||||
@@ -11,6 +11,7 @@ import (
|
||||
)
|
||||
|
||||
// Handle routes
|
||||
/*
|
||||
func (s *Server) apiRoutesList(
|
||||
ctx context.Context,
|
||||
_req *http.Request,
|
||||
@@ -34,6 +35,7 @@ func (s *Server) apiRoutesList(
|
||||
|
||||
return result, err
|
||||
}
|
||||
*/
|
||||
|
||||
// Paginated Routes Respponse: Received routes
|
||||
func (s *Server) apiRoutesListReceived(
|
||||
|
||||
Reference in New Issue
Block a user