diff --git a/cmd/api-router.go b/cmd/api-router.go index 9bd6d9bf2..65565bc32 100644 --- a/cmd/api-router.go +++ b/cmd/api-router.go @@ -424,15 +424,16 @@ func registerAPIRouter(router *mux.Router) { // DeleteBucket router.Methods(http.MethodDelete).HandlerFunc( collectAPIStats("deletebucket", maxClients(httpTraceAll(api.DeleteBucketHandler)))) - // ListObjectsV1 (Legacy) - router.Methods(http.MethodGet).HandlerFunc( - collectAPIStats("listobjectsv1", maxClients(httpTraceAll(api.ListObjectsV1Handler)))) - // MinIO extension API for replication. // // GetBucketReplicationMetrics router.Methods(http.MethodGet).HandlerFunc( collectAPIStats("getbucketreplicationmetrics", maxClients(httpTraceAll(api.GetBucketReplicationMetricsHandler)))).Queries("replication-metrics", "") + + // S3 ListObjectsV1 (Legacy) + router.Methods(http.MethodGet).HandlerFunc( + collectAPIStats("listobjectsv1", maxClients(httpTraceAll(api.ListObjectsV1Handler)))) + } /// Root operation