code: @RequestMapping(value = "project/{projectId}/builds/search", method = RequestMethod.GET)
      public Resources<BuildView> buildSearch(@PathVariable ID projectId, @Valid BuildSearchForm form) {
          return Resources.of(
                  structureService.buildSearch(projectId, form).stream()
                          .map(build -> structureService.getBuildView(build, true))
                          .collect(Collectors.toList()),
                  uri(on(getClass()).buildSearch(projectId, form)))
                  .forView(BuildView.class)
                  ;
      }
docs: Build search