#What is REST? http://www.confreaks.com/videos/3354-railsconf-what-is-rest-why-is-it-part-of-the-rails-way
Representation State Transfer
###Is made of 3 parts
- Resource: Anything that can be named. Has a resource identifier: URI -> ID for that resource
- Representations: e.g. HTML, JSON
- Metadata: how you want the information
###In rails
- routes: resources, members, collections
- controller: respond_to, format, status, headers
- views: show.html.erb vs show.json.jbuilder
###Hypermedia - Navigable APIs API should have links to navigate to related parts of the API e.g.
- provide links to next page of a returned collection
- A result to a team resource, you can then provide links to other team things
####Gems for hypermedia
- rails-api
- grape
- roar