Skip to content

Instantly share code, notes, and snippets.

@carlosalberto
Created January 22, 2013 22:02
Show Gist options
  • Save carlosalberto/4598936 to your computer and use it in GitHub Desktop.
Save carlosalberto/4598936 to your computer and use it in GitHub Desktop.
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