Added a routine/repetition api endpoint
remove json requirement in RepetitionController and added a comment on how to use the api