I would highly recommend making it so this question can't easily be found by the interviewers, since that basically defeats the point of a technical interview.
I'd say finding the API in the desktop version would be best, since the logic is already designed for the web.
This seems weirdly in-depth for an "interview" - are you sure that's what the task is asking of you?