title: Is it ok to have different links leading to the same resource?
body: <p><strong>Option 1:</strong></p>
  
  <p>We <strong>always</strong> return "absolute" links (no nesting). That way we always give to the client the same link for a given resource.</p>
  
  <pre><code>{
      "employeeName": "Joe"
      "links": {
          "company": [
              { "href": "http://api.com/companies/1" }
          ]
  }
  </code></pre>
  
  <p>Is it needed? (knowing that it requires extra work on the server side)</p>
  
  <p><strong>Option 2:</strong></p>
  
  <p>We may also return "relative" links, nested under the resource returned to the client (here employee). But now the client may have received 2 differents links ("<a href="http://api.com/companies/1" rel="nofollow">http://api.com/companies/1</a>" and "<a href="http://api.com/employees/4/company" rel="nofollow">http://api.com/employees/4/company</a>") corresponding to the same resource. </p>
  
  <pre><code>{
      "employeeName": "Joe"
      "links": {
          "company": [
              { "href": "http://api.com/employees/4/company" }
          ]
  }
  </code></pre>
  
  <p>Is there a better option than the other and why?</p>