unepwcmc/ProtectedPlanet — pull request #143 by migtorres (2014-10-24 14:04:29+00:00)
Title: 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