In v0.10.X
Try to get settings if public key used -> 403
Try to get keys if private key used -> 403
Try search if no key -> 403
On master:
Try to get settings if public key used -> 401
Try to get keys if private key used -> 401
Try search if no key -> 403
I would expect the same behavior than in v0.10, with a little fix: if we don't provide any key (last case) MeiliSearch returns a 401.
cf: https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
Anyway, my suggestion:
Try to get settings if public key used -> 403
Try to get keys if private key used -> 403
Try search if no key -> 401
Tell me what you think.
If you agree with my suggestion
Well there are different cases to consider here:
I would say the opposite 馃槀
yes sorry, that's what i meant :)
Most helpful comment
yes sorry, that's what i meant :)