Revert "remove obsolete reports api (to be replaced by server-side reports)"

This reverts commit 5355fbb30f9667006c77bb461c5d96e0b0b8ef5c.