mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-09 23:37:54 +00:00
fix(api, docs): send HTTP 400 on empty User-Agent, update docs
This commit is contained in:
parent
b2c61e3e8e
commit
5e60dec6ec
3 changed files with 12 additions and 2 deletions
|
|
@ -31,8 +31,9 @@ When something goes wrong, the API will send back a 4xx HTTP status code, along
|
|||
|code|HTTP response code|meaning|
|
||||
|---|---|---|
|
||||
|0|500|Internal server error, try again later|
|
||||
|0|400|Bad Request (usually invalid JSON)|
|
||||
|0|400|Invalid JSON, or invalid request format (check `error` key in the response body)|
|
||||
|0|401|Missing or invalid Authorization header|
|
||||
|0|403|Your access to the API is blocked - please contact us in the support server|
|
||||
|20001|404|System not found.|
|
||||
|20002|404|Member not found.|
|
||||
|20003|404|Member '{memberRef}' not found.|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue