ubicloud/routes/project
Jeremy Evans 9dbe11fa6a Only accept json requests for the postgres metrics route
Previously, this would have accepted a normal request, and returned
a json response. However, if there were any errors in the request
(and it is easy to introduce errors with invalid start/end times),
it would result in using the fallback web error handler. Since we
never want this route to handle non-json requests, it's easiest to
just enforce that, so we don't have to worry about error handling
for non-json requests.
2025-08-09 00:56:41 +09:00
..
location Only accept json requests for the postgres metrics route 2025-08-09 00:56:41 +09:00
billing.rb Add raise_web_error method to DRY up web-specific CloverError raising 2025-08-08 05:06:18 +09:00
discount_code.rb Add raise_web_error method to DRY up web-specific CloverError raising 2025-08-08 05:06:18 +09:00
firewall.rb Use handle_validation_failure in firewall create route 2025-08-08 01:52:14 +09:00
github.rb Add raise_web_error method to DRY up web-specific CloverError raising 2025-08-08 05:06:18 +09:00
inference_api_key.rb Switch String matchers to :ubid_uuid matchers 2025-06-20 05:14:52 +09:00
inference_endpoint.rb Change order of models 2025-06-27 19:24:15 +02:00
inference_playground.rb Change order of models 2025-06-27 19:24:15 +02:00
kubernetes_cluster.rb Use handle_validation_failure in kubernetes cluster create route 2025-08-08 01:52:14 +09:00
load_balancer.rb Use handle_validation_failure in load balancer create route 2025-08-08 01:52:14 +09:00
location.rb Enforce project location access in routes 2025-04-07 08:53:50 -07:00
object_info.rb Allow id to location/name lookup for kc cli commands 2025-08-01 04:18:57 +09:00
postgres.rb Use handle_validation_failure in postgres create route 2025-08-08 01:52:14 +09:00
private_location.rb Use handle_validation_failure in private location create route 2025-08-08 01:52:14 +09:00
private_subnet.rb Use handle_validation_failure in private subnet create route 2025-08-08 01:52:14 +09:00
token.rb Replace unnecessary new_with_id calls with new 2025-08-06 01:55:51 +09:00
usage_alert.rb Use handle_validation_failure in usage alert create route 2025-08-08 01:52:14 +09:00
user.rb Add raise_web_error method to DRY up web-specific CloverError raising 2025-08-08 05:06:18 +09:00
vm.rb Use handle_validation_failure in vm create route 2025-08-08 01:52:14 +09:00