Annotation based repository REST resources