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

As I need to have /api/protected_areas/:wdpa_id how can I use this structure?