API
Some API design tips: Advice for Operating a Public-Facing API - joshua stein
- Host the API on its own hostname
- Don’t be too liberal in what you accept
- Avoid OAuth if you can
- Log a unique id with every request
- Be descriptive in your error responses
- Use prefixed tokens
- Stay on top of failures