|
|
@ -89,7 +89,7 @@ func registerAPIRouter(router *mux.Router, encryptionEnabled, allowSSEKMS bool) |
|
|
|
|
|
|
|
|
|
|
|
/// Bucket operations
|
|
|
|
/// Bucket operations
|
|
|
|
// GetBucketLocation
|
|
|
|
// GetBucketLocation
|
|
|
|
bucket.Methods(http.MethodGet).HandlerFunc(collectAPIStats("getobjectlocation", httpTraceAll(api.GetBucketLocationHandler))).Queries("location", "") |
|
|
|
bucket.Methods(http.MethodGet).HandlerFunc(collectAPIStats("getbucketlocation", httpTraceAll(api.GetBucketLocationHandler))).Queries("location", "") |
|
|
|
// GetBucketPolicy
|
|
|
|
// GetBucketPolicy
|
|
|
|
bucket.Methods("GET").HandlerFunc(collectAPIStats("getbucketpolicy", httpTraceAll(api.GetBucketPolicyHandler))).Queries("policy", "") |
|
|
|
bucket.Methods("GET").HandlerFunc(collectAPIStats("getbucketpolicy", httpTraceAll(api.GetBucketPolicyHandler))).Queries("policy", "") |
|
|
|
// GetBucketLifecycle
|
|
|
|
// GetBucketLifecycle
|
|
|
|