https://bugzilla.wikimedia.org/show_bug.cgi?id=38313
--- Comment #7 from Arthur Richards <[email protected]> 2012-07-23 16:52:18 UTC --- At the moment, the API returns the unique id of each location along with the its name and level.(In reply to comment #6) > I see > http://toolserver.org/~erfgoed/api/api.php?action=adminlevels&admlevel=1&admval=us-mo > > How does this browser handle duplicate location names? Wouldn't it be be > better > to have something like > http://toolserver.org/~erfgoed/api/api.php?action=adminlevels&adm0=us&adm1=us-mo > ? I do not totally understand what you're looking for here - can you please elaborate? > Also it would be nice if the documentation of the api could be updated (or > better, automagicly generated based on the code, need a new bug for that). Yeah, I will update the documentation once we the functionality settled. At the moment, the API returns the unique id of each location along with the its name and level, and you can query the API based on the unique ID as well (http://toolserver.org/~erfgoed/api/api.php?action=adminlevels&admid=68918). I just updated the checkout on toolserver to pick up the change that includes the unique ID. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
