{"action":"opened","issue":{"url":"https://api.github.com/repos/marshmallow-code/marshmallow-jsonapi/issues/15","labels_url":"https://api.github.com/repos/marshmallow-code/marshmallow-jsonapi/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/marshmallow-code/marshmallow-jsonapi/issues/15/comments","events_url":"https://api.github.com/repos/marshmallow-code/marshmallow-jsonapi/issues/15/events","html_url":"https://github.com/marshmallow-code/marshmallow-jsonapi/issues/15","id":116431613,"number":15,"title":"Loading data from a relationship field","user":{"login":"cmanallen","id":6018782,"avatar_url":"https://avatars.githubusercontent.com/u/6018782?v=3","gravatar_id":"","url":"https://api.github.com/users/cmanallen","html_url":"https://github.com/cmanallen","followers_url":"https://api.github.com/users/cmanallen/followers","following_url":"https://api.github.com/users/cmanallen/following{/other_user}","gists_url":"https://api.github.com/users/cmanallen/gists{/gist_id}","starred_url":"https://api.github.com/users/cmanallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmanallen/subscriptions","organizations_url":"https://api.github.com/users/cmanallen/orgs","repos_url":"https://api.github.com/users/cmanallen/repos","events_url":"https://api.github.com/users/cmanallen/events{/privacy}","received_events_url":"https://api.github.com/users/cmanallen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-11T22:07:27Z","updated_at":"2015-11-11T22:07:27Z","closed_at":null,"body":"I'm trying to load data from a relationship field like so:\r\n\r\n```python\r\n\"data\": {\r\n    \"attributes\": {},\r\n    \"relationships\": {\r\n        \"upload\": {\r\n            \"data\": {\"type\": \"uploads\", \"id\": \"1\"}\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nHow do I access the value of the upload relationship.\r\n\r\nI'm looking at this section of the JSON API spec (http://jsonapi.org/format/#crud-creating).  It seems to support this form of relationship loading."}}