Thibault Jouan
fe22556f93
Refactor API JSON filter
2015-05-03 18:11:29 +00:00
Thibault Jouan
8b226998a4
Refactor controllers
2015-05-02 00:24:30 +00:00
Thibault Jouan
6001cd2e79
Implement tracks/show in AP
2015-05-02 00:11:52 +00:00
Thibault Jouan
57ea6ca0df
Ensure errors are always returned in JSON in API
2015-05-01 22:17:23 +00:00
Thibault Jouan
5b9d36cb39
Ensure AR not found errors are handled in API
2015-05-01 22:15:30 +00:00
Thibault Jouan
cd73a588b0
Handle 404 not found error in API
2015-05-01 20:07:18 +00:00
Thibault Jouan
b3cfa88bb9
Implement playlists/show in API
2015-05-01 20:06:20 +00:00
Thibault Jouan
8e3955a97b
Refuse non-JSON queries on API
2015-05-01 17:47:44 +00:00
Thibault Jouan
c0b2621b2f
Implement ping/pong endpoint in API
2015-05-01 16:56:55 +00:00
Thibault Jouan
3b733c349e
Fix coding standards in application files
2015-04-30 08:52:00 +00:00
Thibault Jouan
1efb3103d9
Remove respond_to
usage in playlists controller
...
This feature was deprecated by rails.
2015-04-29 11:17:29 +00:00
Thibault Jouan
4c6adc6927
Use new "strong parameters" from rails4
2014-04-03 02:20:37 +00:00
Thibault Jouan
e6f6475705
Fix coding standards in application
2014-04-01 19:02:23 +00:00
Thibault Jouan
aca19eb51f
Fix coding standards: bang operator
2014-04-01 18:55:46 +00:00
Thibault Jouan
da96c4814a
Use ruby 2.x hash syntax
2014-04-01 10:48:18 +00:00
Thibault Jouan
40f4ced3b8
Add inflection for API acronym
2013-06-30 21:37:30 +00:00
Thibault Jouan
9b9e17e591
Implement track/index action for API
2012-05-03 21:11:03 +00:00
Thibault Jouan
fc1ec120ae
Add sound/show action (FIXME: need tests!)
2012-05-03 21:11:00 +00:00
Thibault Jouan
9ccd1e10be
Allow Content-Length header to be received and sent in CORS requests
2012-05-03 21:03:11 +00:00
Thibault Jouan
b40b4d4df3
Fix use of nil in CORS filter when request doesn't have an Origin header
2012-05-03 21:03:11 +00:00
Thibault Jouan
df6d4991f8
Implement playlists/create action for API
2012-03-19 02:23:48 +00:00
Thibault Jouan
10a8e1f094
Remove v0 version namespacing for API
2012-03-18 23:16:43 +00:00
Thibault Jouan
5dfafdcc46
Implement sessions/create in JSON API
2012-03-18 17:30:36 +00:00
Thibault Jouan
499b06c9e5
Allow API consumer to send credentials on cross-origin requests
2012-03-13 21:12:24 +00:00
Thibault Jouan
196ea16a94
Use RABL to build JSON responses given by API
2012-03-11 23:31:01 +00:00
Thibault Jouan
6379da88e2
Implement Cross-Origin Resource Sharing:
...
* Add Api::ApplicationController
* Route OPTION requests (CORS preflight) to API application controller
* Filter all API requests through #cor_filter in API application
controller
2012-03-11 22:19:42 +00:00
Thibault Jouan
88d3242843
Implements playlists/index action in JSON API
2012-02-26 11:33:43 +00:00