Skip to content

Instantly share code, notes, and snippets.

@akeem
Created September 16, 2012 20:36
Show Gist options
  • Save akeem/3734290 to your computer and use it in GitHub Desktop.
Save akeem/3734290 to your computer and use it in GitHub Desktop.
thoughts on being an api provider
Thoughts on being an api provider
1. Its a contract, be sure to have a clear idea on how you intend to version your api. Header fields set, special pathing, choose your poison but for the sake of your users prepare to stick to it. Choosing this early will allow you a good amount of wiggle room without pulling the rug from under your users.
2. Know your consumers, is this an internal only api. Do you need to restrict data from certain user? Is this public or will it be in the future.
Are you acting on a user's behalf or just providing data to everyone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment