{"action":"created","issue":{"url":"https://api.github.com/repos/json-api/json-api/issues/1049","repository_url":"https://api.github.com/repos/json-api/json-api","labels_url":"https://api.github.com/repos/json-api/json-api/issues/1049/labels{/name}","comments_url":"https://api.github.com/repos/json-api/json-api/issues/1049/comments","events_url":"https://api.github.com/repos/json-api/json-api/issues/1049/events","html_url":"https://github.com/json-api/json-api/issues/1049","id":154779175,"number":1049,"title":"Associated record deletion","user":{"login":"Asherlc","id":1294552,"avatar_url":"https://avatars.githubusercontent.com/u/1294552?v=3","gravatar_id":"","url":"https://api.github.com/users/Asherlc","html_url":"https://github.com/Asherlc","followers_url":"https://api.github.com/users/Asherlc/followers","following_url":"https://api.github.com/users/Asherlc/following{/other_user}","gists_url":"https://api.github.com/users/Asherlc/gists{/gist_id}","starred_url":"https://api.github.com/users/Asherlc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Asherlc/subscriptions","organizations_url":"https://api.github.com/users/Asherlc/orgs","repos_url":"https://api.github.com/users/Asherlc/repos","events_url":"https://api.github.com/users/Asherlc/events{/privacy}","received_events_url":"https://api.github.com/users/Asherlc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-13T19:01:16Z","updated_at":"2016-05-19T09:41:50Z","closed_at":null,"body":"In Rails, and I presume other frameworks, it's not uncommon for records to automatically destroy some or all of their associated records when they themselves are destroyed. So, a deletion of one nominal record may delete many other records as well.\r\n\r\nCurrently, it appears JSON API has no way to communicate this to the client in the response to a DELETE, so orphaned records may be left on the client side that have been destroyed on the server side."},"comment":{"url":"https://api.github.com/repos/json-api/json-api/issues/comments/220276399","html_url":"https://github.com/json-api/json-api/issues/1049#issuecomment-220276399","issue_url":"https://api.github.com/repos/json-api/json-api/issues/1049","id":220276399,"user":{"login":"beauby","id":2215778,"avatar_url":"https://avatars.githubusercontent.com/u/2215778?v=3","gravatar_id":"","url":"https://api.github.com/users/beauby","html_url":"https://github.com/beauby","followers_url":"https://api.github.com/users/beauby/followers","following_url":"https://api.github.com/users/beauby/following{/other_user}","gists_url":"https://api.github.com/users/beauby/gists{/gist_id}","starred_url":"https://api.github.com/users/beauby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beauby/subscriptions","organizations_url":"https://api.github.com/users/beauby/orgs","repos_url":"https://api.github.com/users/beauby/repos","events_url":"https://api.github.com/users/beauby/events{/privacy}","received_events_url":"https://api.github.com/users/beauby/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T09:41:50Z","updated_at":"2016-05-19T09:41:50Z","body":"Currently the [hinted direction](http://jsonapi.org/format/#crud-deleting-responses-200) for your use-case would be to add this information within top-level `meta` of the response document.\r\n> A server MUST return a 200 OK status code if a deletion request is successful and the server responds with only top-level meta data.\r\n"}}