Updated changed syntax for gerritTrigger

Also replace example with API example