code: @RequestMapping(value = "branches/{branchId}/filters", method = RequestMethod.POST)
      public Ack createFilter(@PathVariable ID branchId, @RequestBody @Valid BuildFilterInput input) {
          return buildFilterService.saveFilter(branchId, input.isShared(), input.getName(), input.getType(), input.getData());
      }
docs: Creating a filter