CAL-861 Add repeatBy attribute to RepeatResource of rest api