API

Some API design tips: Advice for Operating a Public-Facing API - joshua stein

  1. Host the API on its own hostname
  2. Don’t be too liberal in what you accept
  3. Avoid OAuth if you can
  4. Log a unique id with every request
  5. Be descriptive in your error responses
  6. Use prefixed tokens
  7. Stay on top of failures

Related Articles