-
Notifications
You must be signed in to change notification settings - Fork 68
Home
fabrik42 edited this page Jun 13, 2011
·
32 revisions
An introduction to acts_as_api
Examples of the default response formats
Differences to the Rails 3 default JSON response structure
DRY API Controllers using Rails 3 Responders
Extending an existing api template
Calling a lambda in the api template
Calling a scope of a sub resource
Conditional statements for adding a field to the api template
Creating a completely different response structure
Model callbacks (including an example for caching api responses)
A pragmatic approach of API versioning
Declaring API templates for any class! (no ORMs)