How to access top level meta key from json-api server's 200 response when calling ember data's destroyRecord()
<p>I'm working on an Ember app that is using Ember Data and the now default json-api adapter.</p>

<p>According to the json-api spec (<a href="http://jsonapi.org/format/#crud-deleting" rel="noreferrer">http://jsonapi.org/format/#crud-deleting</a>) when deleting a record your server should return a <code>200</code> response if the deletion is successful and the server responds with just a top level <code>meta</code> key.</p>

<p>My current server does just this and I'm trying to figure out how to access the data in the top level meta object when using Ember Data's <code>model.destroyRecord()</code> method.</p>

<pre><code>myModel.destroyRecord().then(function(model){
    // the returned value is the model.  How can I get the actual metadata 
    // returned by the server?   
});
</code></pre>

<p>The server response contains information about what exactly was deleted and looks like this:</p>

<pre><code>{
   "meta": {
      num-deleted-a: 10,
      num-deleted-b: 100,
      num-deleted-c: 200
    }
}
</code></pre>

<p>I'd like to get this information so I can display it to the user.</p>

<p>Thank you!</p>

<p>I am using the following versions:</p>

<pre><code>Ember             : 2.2.0
Ember Data        : 2.3.3
jQuery            : 1.11.3
</code></pre>