Protected Areas API

Creates a API to query by wdpa_id (to feed third party projects on protected-planet-consumer)

The query can be done using:

http://localhost:3000/api/protected_areas?wdpa_id=[wdpa_id]

You can check the code on

controllers/api/protected_areas.rb
models/protected_areas.rb
test/integration/api_test.rb

I would say, given the relatively small scale of the pp-consumer, I'd not restrict the attributes at all (except for geom, of course). This also means that this API will be available for anything that wants to consume PA data via REST.