Thx tshering!
Created a web service to return available public profiles for a firmware, to be used by KSM or any other tool that wants.
Script get_info.php is called with mandatory parms fwid and revnum, and optionally userid.
It returns info in JSON format, with idfw and an array of profiles (idprofile and name), that are needed to call download.php to get final zip with patches.
Example:
Code:
http://pip.cat/khd/kobo/get_info.php?fwid=3.19.5761&revnum=0e028f3185&userid=3
returns
{"idfw":"13","profiles":{"3":"Kobo Glo Hd","14":"Testing Kobo Glo Hd"}}
So, you can compose final zips:
http://pip.cat/khd/kobo/download.php?firmware=13&profile=3
http://pip.cat/khd/kobo/download.php?firmware=13&profile=14