build trigger api docs