puppetlabs/puppetdb — pull request #914 by senior (2014-04-09 14:54:08+00:00)
Title: (PDB-254) - Added environment support for querying reports, events, event-counts and aggregate-event-counts

This commit has the last set of environment query API changes. Reports and events
both allowing environment in the query criteria and return environments in the result.
Event counts and aggregate event counts allow events in the query criteria.