added support for getting deployment events to the rest client