Use formal status code in Misskey API #3619
No reviewers
Labels
No Label
1️⃣ Good First Issue
❓needs more investigation
Accessibility
Antennas
Channels
Chat
Clips
CP/Settings
dependencies
Docker
Drive
External
Galleries
Groups
i18n
javascript
Kubernetes
Lists/Circles
Mobile
Mutes/Blocks
Notifications
Posts/Timelines
Widgets
‼️ wrong locales
☢️Breaking
♻️Duplicate
⚙️Server
⚠️bug?
✨Feature
🧩API
🐛Bug
💬Discussion
📖Doc
🌌Federation
💴has reward
🔥high priority
🚫Invalid
🙏low priority
🖍MFM
🧪needs test
📜Pages
🐢Performance
💚Refactor
🏠Room
🔒Security
🤖Service Worker
🧪Test
🚧WIP
🗿Wontfix
👩💻AiScript
🖥️Client
🛠️Dev
🏳️needs help
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: firefish/firefish#3619
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "404"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Returns 404 when error message contains 'not found'.
ステータスコードにあまり依存したくない気持ちがあります(400で統一したい)
例えばファイルをフォルダに入れるAPIで404を返しても、ファイルが無かったのかフォルダが無かったのか判別できないので結局はエラーコードのようなものを返す必要があります
API自体が存在しない場合にはどんなエラーが返るのか規定してほしい
API自体が存在しない場合にのみ 404 を返すのが良さそうに思います
既に存在しないAPIは404を返すようになってますね #2436
あら失礼しました
それなら現状のままで良さそう...?
ごめんなさい
Pull request closed