A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/bwillis/350-rest-api-versioning below:

bwillis/350-rest-api-versioning: :white_check_mark: Versioning API comparison

Skip to content Navigation Menu Search code, repositories, users, issues, pull requests...

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert bwillis/350-rest-api-versioning Repository files navigation RailsCasts Episode #350: REST API Versioning

http://railscasts.com/episodes/350-rest-api-versioning

Requires Ruby 1.9.2 or higher.

Commands used in this episode
rails g migration change_products_released_on
rake db:migrate
cp -R app/controllers/api/v1 app/controllers/api/v2
curl -H 'Accept: application/vnd.example.v1' http://localhost:3000/api/products
Version Cake Implementation

See https://github.com/bwillis/versioncake for more details on the gem.

curl -H 'Accept: application/json; api_version=1' http://localhost:3000/products.json
About

✅ Versioning API comparison

Resources Stars Watchers Forks Languages

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4