keybase / keybase/keybase-issues
API requests return 200 regardless of actual result
Open
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to make them return different status codes if the request was bad?
Like, 404 if there was no usernames, or 400 if the parameters were incorrect.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points; start by locating the API handlers and documenting how they currently choose response status codes. Done means the relevant endpoints distinguish invalid parameters from missing usernames with appropriate status codes, with coverage for those outcomes.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend-api-design
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100