{"action":"opened","issue":{"url":"https://api.github.com/repos/json-api/json-api/issues/533","labels_url":"https://api.github.com/repos/json-api/json-api/issues/533/labels{/name}","comments_url":"https://api.github.com/repos/json-api/json-api/issues/533/comments","events_url":"https://api.github.com/repos/json-api/json-api/issues/533/events","html_url":"https://github.com/json-api/json-api/issues/533","id":65675776,"number":533,"title":"Body uses envelope to transfer meta data","user":{"login":"PatrickWolleb","id":3036597,"avatar_url":"https://avatars.githubusercontent.com/u/3036597?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickWolleb","html_url":"https://github.com/PatrickWolleb","followers_url":"https://api.github.com/users/PatrickWolleb/followers","following_url":"https://api.github.com/users/PatrickWolleb/following{/other_user}","gists_url":"https://api.github.com/users/PatrickWolleb/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickWolleb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickWolleb/subscriptions","organizations_url":"https://api.github.com/users/PatrickWolleb/orgs","repos_url":"https://api.github.com/users/PatrickWolleb/repos","events_url":"https://api.github.com/users/PatrickWolleb/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickWolleb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T12:43:44Z","updated_at":"2015-04-01T12:43:44Z","closed_at":null,"body":"Why does this spec propose a body envelope if HTTP provides headers to transfer meta data. \r\nDocument links must be contained in the payload.  \r\nImagine a html document with body tag that contains a<data> and a <links> for all anchor links. \r\n```html\r\n<html>\r\n  <head></head>\r\n <body>\r\n  <data>\r\n    <div id=\"awesome_app\"></div>\r\n  </data>\r\n  <links>\r\n   <a ref=\"self\">Some link</a>\r\n  </links>\r\n</body>\r\n</html>\r\n```\r\nThis does not make sense and does not conform to any spec. \r\nThe same rule applies for JSON payloads since it uses HTTP as the protocol. \r\n\r\nIf someone could outline why this spec proposes such an approach that would be great.\r\n\r\n\r\n   "}}