code: @RequestMapping(value = "branches/{branchId}/template/definition", method = RequestMethod.PUT)
      public Branch setTemplateDefinition(@PathVariable ID branchId, @RequestBody @Valid TemplateDefinition templateDefinition) {
          return branchTemplateService.setTemplateDefinition(branchId, templateDefinition);
      }
docs: Sets this branch as a template definition, or updates the definition.