Hi Folks, <br><div class="gmail_quote"><div><br></div><div>This email to discuss what would be the best approach to collect download statistics associated with Slicer extensions.</div><div><br></div><div>Associated Slicer issue: <a href="http://na-mic.org/Mantis/view.php?id=2778" target="_blank">http://na-mic.org/Mantis/view.php?id=2778</a></div>
<div><br></div><div>In a nutshell, each extension version corresponds to a new midas item, what would be the easiest way of aggregating download stats of multiple items. </div><div><br></div><div>The item stats that should be aggregated together have all the same extension name (represented by productname of the slicerpackages_extension table. See [1])<br clear="all">
<div><br></div><div>Was thinking to extend the web API of the slicerpackages module. See [2] </div><div><br></div><div>Am I missing something or this approach is the most appropriate one ? Is there already a method / web api call in midas allowing to collect stats of set of items ? </div>
<div><br></div><div>Thanks for your help, </div><div>Jc</div><div><br></div><div>[1] <a href="https://github.com/midasplatform/slicerpackages/blob/master/database/upgrade/1.0.2.php#L30" target="_blank">https://github.com/midasplatform/slicerpackages/blob/master/database/upgrade/1.0.2.php#L30</a></div>
<div><br></div><div>[2] <a href="https://github.com/midasplatform/slicerpackages/blob/master/controllers/components/ApiComponent.php" target="_blank">https://github.com/midasplatform/slicerpackages/blob/master/controllers/components/ApiComponent.php</a></div>
</div></div><div><br></div>-- <br>+1 919 869 8849<br><br>