alias query parameter matches only global alias, might be ambiguous #833
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#833
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Here: https://garagehq.deuxfleurs.fr/api/garage-admin-v1.html#tag/Bucket/operation/GetBucketInfo
I have found empirically that this API endpoint ignores "alias" as a query parameter and only considers globalAlias, contrary to documentation.
I don't understand the issue here: the description states clearly that the
alias
query parameter, when set, will return the bucket with the given global alias. No mention of local alias is made here. Of course, we can argue that thealias
parameter is ambiguous here, as we really meanglobalAlias
here but it's not exactly what you stated. Maybe you can precise your thought?[Docs] Get bucket endpoint documents alias as url parameter, but it is actually globalAliasto alias query parameter matches only global alias, might be ambiguousI think what jade means (and what I observe, too) is that providing the parameter
alias
doesn't work (the API returns the complete bucket list), you have to provide the parameterglobalAlias
to get info on the specified bucket.This doesn't work (returns the whole bucket list):
This works to get info on the specified global bucket alias: