title: Spring Data Rest base path
body: <p>I have added Spring Data Rest (2.0) to an existing Spring MVC application by creating a Java config class that extends RepositoryRestMvcConfiguration, and adding @RestResource to the repositories.</p>
  
  <p>Is it possible to change the base URL for the Rest API? E.g:</p>
  
  <pre><code>http://localhost:8080/rest/customers
  </code></pre>
  
  <p>instead of</p>
  
  <pre><code>http://localhost:8080/customers
  </code></pre>
  
  <p>I tried to override configureRepositoryRestConfiguration using setBaseURI, but it didn't seem to apply to all links in the response.</p>