{"action":"closed","issue":{"url":"https://api.github.com/repos/json-api/json-api/issues/375","labels_url":"https://api.github.com/repos/json-api/json-api/issues/375/labels{/name}","comments_url":"https://api.github.com/repos/json-api/json-api/issues/375/comments","events_url":"https://api.github.com/repos/json-api/json-api/issues/375/events","html_url":"https://github.com/json-api/json-api/issues/375","id":59086759,"number":375,"title":"Examples with relations in \"Creating Resources\" section","user":{"login":"bobholt","id":94167,"avatar_url":"https://avatars.githubusercontent.com/u/94167?v=3","gravatar_id":"","url":"https://api.github.com/users/bobholt","html_url":"https://github.com/bobholt","followers_url":"https://api.github.com/users/bobholt/followers","following_url":"https://api.github.com/users/bobholt/following{/other_user}","gists_url":"https://api.github.com/users/bobholt/gists{/gist_id}","starred_url":"https://api.github.com/users/bobholt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobholt/subscriptions","organizations_url":"https://api.github.com/users/bobholt/orgs","repos_url":"https://api.github.com/users/bobholt/repos","events_url":"https://api.github.com/users/bobholt/events{/privacy}","received_events_url":"https://api.github.com/users/bobholt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/json-api/json-api/labels/bling","name":"bling","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-26T15:16:53Z","updated_at":"2015-03-27T17:53:39Z","closed_at":"2015-03-27T17:53:39Z","body":"Creating resources with relations needs to be done just like in updating, with a links object under data informing the relations (instead of foreign keys).\r\n\r\nThe [Creating Resources](http://jsonapi.org/format/#crud-creating) section doesn't mention this or show any examples including links, making this an easy oversight for an implementer."}}