title: REST API & Ember (data) - Many-to-Many relation with attributes
body: <p>I have two resources in my system <strong>users</strong> and <strong>organizations</strong>.
  Each has a name and a relation with the other (many to many).</p>
  <p>In my REST API I have:</p>
  <blockquote>
  <p>/organizations - returns all organizations in the system (public)</p>
  <p>/users         - return all users in the system (public)</p>
  </blockquote>
  <p>After this I needed to add properties to the relation (e.g. role in the organization). For this I created the concept of worker, a person in an organization.</p>
  <p>What I have tried:</p>
  <ul>
  <li>A new model, a &quot;full resource&quot;; it doesn't comply with a good rest design.</li>
  <li>A nested resource inside organizations; better in json, but in Ember using EmbeddedRecordsMixin I lose the ability to manipulate the model - e.g. usage of adapter or serializer to change the resource.</li>
  </ul>
  <p><strong>How to design the REST api?</strong></p>
  <p><strong>How to define Ember models and how to manipulate them?</strong></p>