puppetlabs/puppetdb — pull request #929 by senior (2014-04-21 17:44:56+00:00)
Title: (PDB-456) Added environments endpoint and related query functions

Querying for all environments i.e. /v4/environments now supported along with similar short hand queries for reports, events, resources and facts like /v4/environments/PROD/facts/...