Conversation
…nto api Conflicts: app/controllers/locomotive/api/accounts_controller.rb
Version 2.0.0.rc12 Conflicts: Gemfile app/controllers/locomotive/api/sites_controller.rb app/models/locomotive/editable_element.rb app/presenters/locomotive/content_entry_presenter.rb app/presenters/locomotive/membership_presenter.rb app/presenters/locomotive/page_presenter.rb app/presenters/locomotive/site_presenter.rb
|
Hi Alex! I have been trying to run off of this branch but I am having some trouble getting the right gems in place. Do you have any ideas? Bundler could not find compatible versions for gem "carrierwave-mongoid": Thanks, |
|
Seems that this is a more general RC7 problem. I may try to merge your branch up to RC12. |
|
I did that merge and fixed a few issues. I then started implementing some On Tue, Oct 30, 2012 at 12:07 PM, Will Rodenbusch
|
|
Thanks. Works great now. |
Conflicts: app/controllers/locomotive/api/sites_controller.rb app/models/locomotive/editable_short_text.rb app/presenters/locomotive/account_presenter.rb features/step_definitions/api_steps.rb
The Locomotive API is now much more usable. You can perform all the CRUD actions on almost any resource in the system, and there are some conveniences built in as well. I haven't written any docs yet, but the cucumber features do a pretty good job of outlining all the functionality. I'm hoping to write a guide for the Locomotive doc site eventually.
Here's a quick example of the usage. First get an authentication token:
Then simply use that token to access a resource: