Hi, We would like to be able to show the 3 most popular episodes in a series in the BasicLTI UI.
To do this we need the stats view count, but currently it appears this is only available for a single episode, i.e. we would have to issue multiple requests which is not very efficient. e.g. /usertracking/stats.json?id=9de19da6-a89e-4642-9d12-33a4b6787e52 ( http://media.uct.ac.za:8080/usertracking/stats.xml?id=9de19da6-a89e-4642-9d12-33a4b6787e52 ) gets the view count for a single episode. Kindly advise on the architecture you feel may be most efficient and appropriate: 1. Getting view counts for multiple episodes in one request like passing the series ID to the /usertracking/stats REST call: /usertracking/stats.json?sid=x which would return something like : { -stats : { id : episodeID1, views: 2 }, { id: episodeID2, views: 3 } } or 2. have the view count included as a property in the episode information returned when we call the episode REST service using the series ID. /search/episode.json?sid=x or 3. Some service that can allow multiple requests to be aggregated in one HTTP request? I understand Sakai has something similar to this. I have created a ticket for this MH-8555, your feedback will be greatly appreciated. Regards, Edmore Moyo UCT ### UNIVERSITY OF CAPE TOWN This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity. ###
_______________________________________________ Matterhorn mailing list [email protected] http://lists.opencastproject.org/mailman/listinfo/matterhorn To unsubscribe please email [email protected] _______________________________________________
