Files
2012-02-21 01:15:00 -05:00

1 line
720 B
JSON

[{"user_id": 369, "stars": [], "topic_id": 43765, "date_created": 1313282380.257534, "message": "Say I have video, channel and user resources. When a user watched a video (view event) or subscribed to a channel (subscription event), we would like the fronted to send an event back to the backend. Our team had a discussion on whether it should POST to an event resource or we should PUT to the corresponding resource (video, channel). Thoughts?", "group_id": 447, "id": 1866612}, {"user_id": 28525, "stars": [], "topic_id": 43765, "date_created": 1313357447.6820469, "message": "It's a new event, so I'd POST to an event resource. Also, since you're using rails, make Event polymorphic", "group_id": 447, "id": 1871343}]