Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
0f7d219a 01/27/2014 10:08 AM Daniel Lobato Garcia

fixes #3960 - wrap APIv2 errors in an "error" node

d076d573 11/21/2012 08:10 AM Joseph Magen

This commit adds most of the functionality required for API v1

The overall goal was to extract the existing JSON response
overall controllers, and to move them to a seperate name space.

  • documentation was added to all requests (available under /apidoc)...
bd27ed6f 11/21/2012 08:10 AM Ohad Levy

do not report internal state over api

3398b5bd 10/09/2012 10:51 AM Petr Chalupa

update api documentation

  • remove #set_resource_params from Api::BaseController to leave :id param under :id for apipie validations to work
  • fix custom apipie validators to return nice errors
  • enable apipie validations for bugs to be caught early
  • log apipie param errors with info level...
ba69b49b 07/24/2012 04:12 AM Martin Bacovsky

api v1 - Users controller and tests

- split api routes to separate routes file
- better detection of permission failure in model
- fix ApiConstraints
- catch bad routes in api and return json
- render home#index links from restapi
- fixed resource params recognition

b2b47290 07/24/2012 04:12 AM Petr Chalupa

api v1 - render errors with rabl

better detection of permission failure in model
fix ApiConstraints
catch bad routes in api and return json

View revisions

Also available in: Atom