I am setting up a project using spring data rest. Exposing my domain model seems to work, but I have some strange behaviour:
According to the wiki/docs if I access a uri like /files/ I should end up with an array of links to the single files. But, I get not only the links to the files, but also the attributs of the files objects when accessing the uri /files/.
This is anoying, because I have the content of the files as byte[] and I end up transmitting all contents of all files when accessing /files/
Does anybody know how to turn this behaviour off?