Hi guys,

I am trying to retrieve the templates associated to a page: http://en.wikipedia.org/w/api.php?action=query&prop=templates&format=json&tllimit=500&pageids=199445

So in this scenario, I am able to get a list, but I noticed some of the listed templates here are marked as protected. I am not able to see any attribute in the results that shows this flag.

Any ideas on how can I filter those out?

Thanks,
Chux