Let’s say that my server side API implements the following
GET /tournaments/1 # return a tournament data
POST /tournaments/1/seed # seed the tournament
DELETE /tournaments/1/seed # unseed the tournament
How should I implement this in my Ember Data model? Given the tournament looks something like this
App.Tournament = DS.Model.extend({
name: DS.attr("string")
... bunch of stuff
});
There is no good way to do this now, other than using jQuery.ajax and sideloading the results.