pavlovdog / pineapple

Home Page:https://pineapple.fyi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pineapple

Error codes

All endpoints will respond with a JSON-RPC 2.0 error response on error:

{
  "jsonrpc":"2.0",
  "error":{
    "code": CODE,
    "message": MESSAGE
  },
  "id": ID
}
Description CODE MESSAGE
Uploaded file exceed 1MB 400 File too large
Uploaded image file is not an image 415 Unsupported file type
Uploaded payload does not contain a fileSize 400 No file submitted
Server error 500 (Will depend on the error)

About

https://pineapple.fyi

License:MIT License


Languages

Language:TypeScript 100.0%