title: REST: The same resource accessed from two different URLs
body: <p>I've just started my journey with REST, so please be patient while anserwing my questions.</p>
  
  <p>I have some doubts how to cope with some situations. For instance, I read that evenry resource/entity should have its own, unique URL. But how to deal with examples like:</p>
  
  <ol>
  <li>There is a list of objects.</li>
  <li>Each object is described by some basic information and its state.</li>
  <li>Basic info for object is for example its shape, color.</li>
  <li>The state of object contains information like position in space, velocity etc.</li>
  <li>Both two pieces of information (basic + state) are rather big objects (only examplary properties were introduced).</li>
  </ol>
  
  <p>Now, we have the following questions:</p>
  
  <ol>
  <li>Get all basic info about objects.</li>
  <li>Get all object states.</li>
  <li>Get basic info of object with ID=2.</li>
  <li>Get state of object ID=5.</li>
  <li>Get all info of object ID=7.</li>
  </ol>
  
  <p>I tried to solve it in this way:</p>
  
  <ol>
  <li><p>/rest/objects</p></li>
  <li><p>/rest/states</p></li>
  <li><p>/rest/objects/2/basic</p></li>
  <li><p>/rest/objects/5/state (/rest/states/5)</p></li>
  <li><p>/rest/objects/7</p></li>
  </ol>
  
  <p>However, I've some doubts pointed in 4 - it doesn't look like to be correct. There are two ways to access the same information/resource/entity.</p>
  
  <p>How to deal with it?</p>