Created
January 22, 2013 22:02
-
-
Save carlosalberto/4598936 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Filter by popularity: | |
GET api/station-sessions/?format=json,order=popularity | |
(you should see the order based on listener_count in each station) | |
2. Feed event for activity_changed | |
PUT {"activity_id": "SOME-GUID"} api/stations/(station)/(session)/ -> Broadcaster | |
PUT {"activity_id": "SOME-GUID"} api/stations/(station)/(session)/listeners/(listener_username)/ -> listener | |
Handle/watch feed events - should hit the session with the new 'activity_id' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment