admin api: remove broken GET /v0/key router rule
This commit is contained in:
parent
2448eb7713
commit
1c13135f25
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ impl Endpoint {
|
||||||
POST "/v1/key" => CreateKey,
|
POST "/v1/key" => CreateKey,
|
||||||
POST "/v1/key/import" => ImportKey,
|
POST "/v1/key/import" => ImportKey,
|
||||||
DELETE ("/v0/key" | "/v1/key") if id => DeleteKey (query::id),
|
DELETE ("/v0/key" | "/v1/key") if id => DeleteKey (query::id),
|
||||||
GET ("/v0/key" | "/v1/key") => ListKeys,
|
GET "/v1/key" => ListKeys,
|
||||||
// Bucket endpoints
|
// Bucket endpoints
|
||||||
GET ("/v0/bucket" | "/v1/bucket") if id => GetBucketInfo (query_opt::id, query_opt::global_alias),
|
GET ("/v0/bucket" | "/v1/bucket") if id => GetBucketInfo (query_opt::id, query_opt::global_alias),
|
||||||
GET ("/v0/bucket" | "/v1/bucket") if global_alias => GetBucketInfo (query_opt::id, query_opt::global_alias),
|
GET ("/v0/bucket" | "/v1/bucket") if global_alias => GetBucketInfo (query_opt::id, query_opt::global_alias),
|
||||||
|
|
Loading…
Reference in a new issue