This url path does not correspond to a full representation of the resource. So we should either
- make the file contents a sub element of the returned resource
- change the mapped URL to e.g. /{type}/{name}/definition