{"action":"closed","number":282,"pull_request":{"url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282","id":85795452,"html_url":"https://github.com/django-json-api/django-rest-framework-json-api/pull/282","diff_url":"https://github.com/django-json-api/django-rest-framework-json-api/pull/282.diff","patch_url":"https://github.com/django-json-api/django-rest-framework-json-api/pull/282.patch","issue_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/282","number":282,"state":"closed","locked":false,"title":"Parsing of included data in JSON request","user":{"login":"peterkajan","id":6061840,"avatar_url":"https://avatars.githubusercontent.com/u/6061840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterkajan","html_url":"https://github.com/peterkajan","followers_url":"https://api.github.com/users/peterkajan/followers","following_url":"https://api.github.com/users/peterkajan/following{/other_user}","gists_url":"https://api.github.com/users/peterkajan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterkajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterkajan/subscriptions","organizations_url":"https://api.github.com/users/peterkajan/orgs","repos_url":"https://api.github.com/users/peterkajan/repos","events_url":"https://api.github.com/users/peterkajan/events{/privacy}","received_events_url":"https://api.github.com/users/peterkajan/received_events","type":"User","site_admin":false},"body":"Included resources are used to optimize the number of requests that has to be made to the server when fetching an entity. See: http://jsonapi.org/format/#document-compound-documents\r\n\r\nSimilar concept can be used also when creating entity. If entity contains relation to another entity,  its data can be directly included in the request.\r\n\r\nThis pull request extends parser so that \"included\" key is not ignored in JSON request. Instead, it parses the data and adds them under \"_included\" key in the parsing result.\r\n\r\n","created_at":"2016-09-19T13:42:26Z","updated_at":"2016-09-26T17:04:19Z","closed_at":"2016-09-26T17:04:18Z","merged_at":null,"merge_commit_sha":"8a0181b648130c80fc3337ed311f7355807aa318","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282/commits","review_comments_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282/comments","review_comment_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/282/comments","statuses_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/statuses/d99a5dc045f513b88b3ce66f7607b09071ea7e98","head":{"label":"peterkajan:parse_included","ref":"parse_included","sha":"d99a5dc045f513b88b3ce66f7607b09071ea7e98","user":{"login":"peterkajan","id":6061840,"avatar_url":"https://avatars.githubusercontent.com/u/6061840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterkajan","html_url":"https://github.com/peterkajan","followers_url":"https://api.github.com/users/peterkajan/followers","following_url":"https://api.github.com/users/peterkajan/following{/other_user}","gists_url":"https://api.github.com/users/peterkajan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterkajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterkajan/subscriptions","organizations_url":"https://api.github.com/users/peterkajan/orgs","repos_url":"https://api.github.com/users/peterkajan/repos","events_url":"https://api.github.com/users/peterkajan/events{/privacy}","received_events_url":"https://api.github.com/users/peterkajan/received_events","type":"User","site_admin":false},"repo":{"id":62389988,"name":"django-rest-framework-json-api","full_name":"peterkajan/django-rest-framework-json-api","owner":{"login":"peterkajan","id":6061840,"avatar_url":"https://avatars.githubusercontent.com/u/6061840?v=3","gravatar_id":"","url":"https://api.github.com/users/peterkajan","html_url":"https://github.com/peterkajan","followers_url":"https://api.github.com/users/peterkajan/followers","following_url":"https://api.github.com/users/peterkajan/following{/other_user}","gists_url":"https://api.github.com/users/peterkajan/gists{/gist_id}","starred_url":"https://api.github.com/users/peterkajan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterkajan/subscriptions","organizations_url":"https://api.github.com/users/peterkajan/orgs","repos_url":"https://api.github.com/users/peterkajan/repos","events_url":"https://api.github.com/users/peterkajan/events{/privacy}","received_events_url":"https://api.github.com/users/peterkajan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peterkajan/django-rest-framework-json-api","description":"Implements most of the JSON API 1.0 spec.","fork":true,"url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api","forks_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/forks","keys_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/teams","hooks_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/hooks","issue_events_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/events","assignees_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/tags","blobs_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/languages","stargazers_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/stargazers","contributors_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/contributors","subscribers_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/subscribers","subscription_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/subscription","commits_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/merges","archive_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/downloads","issues_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/labels{/name}","releases_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/peterkajan/django-rest-framework-json-api/deployments","created_at":"2016-07-01T11:59:53Z","updated_at":"2016-07-01T11:59:54Z","pushed_at":"2016-09-19T14:18:55Z","git_url":"git://github.com/peterkajan/django-rest-framework-json-api.git","ssh_url":"git@github.com:peterkajan/django-rest-framework-json-api.git","clone_url":"https://github.com/peterkajan/django-rest-framework-json-api.git","svn_url":"https://github.com/peterkajan/django-rest-framework-json-api","homepage":"https://pypi.python.org/pypi/djangorestframework-jsonapi","size":681,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"django-json-api:develop","ref":"develop","sha":"e96230ce57919c9e306c9d4d76a0f38ef76c0331","user":{"login":"django-json-api","id":11215076,"avatar_url":"https://avatars.githubusercontent.com/u/11215076?v=3","gravatar_id":"","url":"https://api.github.com/users/django-json-api","html_url":"https://github.com/django-json-api","followers_url":"https://api.github.com/users/django-json-api/followers","following_url":"https://api.github.com/users/django-json-api/following{/other_user}","gists_url":"https://api.github.com/users/django-json-api/gists{/gist_id}","starred_url":"https://api.github.com/users/django-json-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-json-api/subscriptions","organizations_url":"https://api.github.com/users/django-json-api/orgs","repos_url":"https://api.github.com/users/django-json-api/repos","events_url":"https://api.github.com/users/django-json-api/events{/privacy}","received_events_url":"https://api.github.com/users/django-json-api/received_events","type":"Organization","site_admin":false},"repo":{"id":21987374,"name":"django-rest-framework-json-api","full_name":"django-json-api/django-rest-framework-json-api","owner":{"login":"django-json-api","id":11215076,"avatar_url":"https://avatars.githubusercontent.com/u/11215076?v=3","gravatar_id":"","url":"https://api.github.com/users/django-json-api","html_url":"https://github.com/django-json-api","followers_url":"https://api.github.com/users/django-json-api/followers","following_url":"https://api.github.com/users/django-json-api/following{/other_user}","gists_url":"https://api.github.com/users/django-json-api/gists{/gist_id}","starred_url":"https://api.github.com/users/django-json-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/django-json-api/subscriptions","organizations_url":"https://api.github.com/users/django-json-api/orgs","repos_url":"https://api.github.com/users/django-json-api/repos","events_url":"https://api.github.com/users/django-json-api/events{/privacy}","received_events_url":"https://api.github.com/users/django-json-api/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/django-json-api/django-rest-framework-json-api","description":"Implements most of the JSON API 1.0 spec.","fork":false,"url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api","forks_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/forks","keys_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/teams","hooks_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/hooks","issue_events_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/events","assignees_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/tags","blobs_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/languages","stargazers_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/stargazers","contributors_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/contributors","subscribers_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/subscribers","subscription_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/subscription","commits_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/merges","archive_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/downloads","issues_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/labels{/name}","releases_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/deployments","created_at":"2014-07-18T16:46:14Z","updated_at":"2016-09-25T08:49:09Z","pushed_at":"2016-09-22T15:42:14Z","git_url":"git://github.com/django-json-api/django-rest-framework-json-api.git","ssh_url":"git@github.com:django-json-api/django-rest-framework-json-api.git","clone_url":"https://github.com/django-json-api/django-rest-framework-json-api.git","svn_url":"https://github.com/django-json-api/django-rest-framework-json-api","homepage":"https://pypi.python.org/pypi/djangorestframework-jsonapi","size":887,"stargazers_count":293,"watchers_count":293,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":91,"mirror_url":null,"open_issues_count":25,"forks":91,"open_issues":25,"watchers":293,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282"},"html":{"href":"https://github.com/django-json-api/django-rest-framework-json-api/pull/282"},"issue":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/282"},"comments":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/issues/282/comments"},"review_comments":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282/comments"},"review_comment":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/pulls/282/commits"},"statuses":{"href":"https://api.github.com/repos/django-json-api/django-rest-framework-json-api/statuses/d99a5dc045f513b88b3ce66f7607b09071ea7e98"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":2,"additions":73,"deletions":14,"changed_files":2}}
{"actor":{"display_login":"jerel"}}