Midori API Document

api.midorichan.net Docs

About

Base URL

https://api.midorichan.net/

API Version

  • v1 → Deprecated
  • v2 → Available + Recomended

Error Message

1
2
3
4
{
    "message": "error message",
    "code": "http status code"
}

Authentication

Authentication is performed with the X-API-Key HTTP Header in the format.
X-API-Key: TOKEN

Example: X-API-Key: MIwhv8rDF8FFKsUd0rT6Awshtv9Tj

Routes

GET   /
   Returns: json
   Authentication: no

GET   /teapot
   Returns: json
   Authentication: no

GET   /oauth/token
   Returns: json
   Authentication: yes

POST   /oauth/token/revoke
   Returns: json
   Authentication: yes

GET   /oauth/discord/callback
   Returns: json
   Authentication: no

GET   /oauth/discord/token/{TEMPTOKEN}
   Returns: json
   Authentication: yes


Made with 💚 and Stack (Jimmy)