Added the parameter query to the operation issue:getAll. That should solve the issue, at least for issues. Sadly, that parameter it’s not supported to filter events.
For example, to filter just the issues in the environment production, set the query parameter to environment:production.