You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This applies to a couple of endpoints /listpubkeys, /key and pubkey, for /listpubkeys not sure if this is intended behaviour or not, but I would assume we should return 200 with the same schema as when there are keys, with an empty list of keys, but instead we get nothing and a return of 400
The text was updated successfully, but these errors were encountered:
DomAyre
changed the title
/listpubkeys returns 400 when there aren't any keys/listpubkeys returns 400 when there aren't any keys
Oct 17, 2024
Looking at the implementation it looks like this is deliberate, but I'm going to keep the issue open because I wonder if it would be better to return 200 with an empty list or a 404
DomAyre
changed the title
/listpubkeys returns 400 when there aren't any keys
Key endpoints returns 400 when there aren't any keys
Oct 23, 2024
This applies to a couple of endpoints
/listpubkeys
,/key
andpubkey
, for/listpubkeys
not sure if this is intended behaviour or not, but I would assume we should return 200 with the same schema as when there are keys, with an empty list of keys, but instead we get nothing and a return of 400The text was updated successfully, but these errors were encountered: