Skip to content

Commit

Permalink
Use POST instead of GET for /api/log/entries/retrieve metrics (#1083)
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Kent <simek@google.com>

Signed-off-by: Simon Kent <simek@google.com>
  • Loading branch information
Simon Kent committed Sep 28, 2022
1 parent 204d9af commit ca2dce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/generated/restapi/configure_rekor_server.go
Expand Up @@ -125,7 +125,7 @@ func configureAPI(api *operations.RekorServerAPI) http.Handler {
recordMetricsForAPI(api, "GET", "/api/v1/log/entries")
recordMetricsForAPI(api, "POST", "/api/v1/log/entries")
recordMetricsForAPI(api, "GET", "/api/v1/log/entries/{entryUUID}")
recordMetricsForAPI(api, "GET", "/api/v1/log/entries/retrieve")
recordMetricsForAPI(api, "POST", "/api/v1/log/entries/retrieve")

return setupGlobalMiddleware(api.Serve(setupMiddlewares))
}
Expand Down

0 comments on commit ca2dce6

Please sign in to comment.