{"action":"opened","number":80,"pull_request":{"url":"https://api.github.com/repos/tndatacommons/android-app/pulls/80","id":41934838,"html_url":"https://github.com/tndatacommons/android-app/pull/80","diff_url":"https://github.com/tndatacommons/android-app/pull/80.diff","patch_url":"https://github.com/tndatacommons/android-app/pull/80.patch","issue_url":"https://api.github.com/repos/tndatacommons/android-app/issues/80","number":80,"state":"open","locked":false,"title":"Orphan content gets removed when content is removed","user":{"login":"Revenaunt","id":8737659,"avatar_url":"https://avatars.githubusercontent.com/u/8737659?v=3","gravatar_id":"","url":"https://api.github.com/users/Revenaunt","html_url":"https://github.com/Revenaunt","followers_url":"https://api.github.com/users/Revenaunt/followers","following_url":"https://api.github.com/users/Revenaunt/following{/other_user}","gists_url":"https://api.github.com/users/Revenaunt/gists{/gist_id}","starred_url":"https://api.github.com/users/Revenaunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revenaunt/subscriptions","organizations_url":"https://api.github.com/users/Revenaunt/orgs","repos_url":"https://api.github.com/users/Revenaunt/repos","events_url":"https://api.github.com/users/Revenaunt/events{/privacy}","received_events_url":"https://api.github.com/users/Revenaunt/received_events","type":"User","site_admin":false},"body":"When content with children is removed, if the children have no other parents they are removed as well.","created_at":"2015-08-07T21:25:25Z","updated_at":"2015-08-07T21:25:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tndatacommons/android-app/pulls/80/commits","review_comments_url":"https://api.github.com/repos/tndatacommons/android-app/pulls/80/comments","review_comment_url":"https://api.github.com/repos/tndatacommons/android-app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tndatacommons/android-app/issues/80/comments","statuses_url":"https://api.github.com/repos/tndatacommons/android-app/statuses/36874c684d509eae788a6d95c9cb8cf9d9ce40f3","head":{"label":"Revenaunt:orphan_content_removal","ref":"orphan_content_removal","sha":"36874c684d509eae788a6d95c9cb8cf9d9ce40f3","user":{"login":"Revenaunt","id":8737659,"avatar_url":"https://avatars.githubusercontent.com/u/8737659?v=3","gravatar_id":"","url":"https://api.github.com/users/Revenaunt","html_url":"https://github.com/Revenaunt","followers_url":"https://api.github.com/users/Revenaunt/followers","following_url":"https://api.github.com/users/Revenaunt/following{/other_user}","gists_url":"https://api.github.com/users/Revenaunt/gists{/gist_id}","starred_url":"https://api.github.com/users/Revenaunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revenaunt/subscriptions","organizations_url":"https://api.github.com/users/Revenaunt/orgs","repos_url":"https://api.github.com/users/Revenaunt/repos","events_url":"https://api.github.com/users/Revenaunt/events{/privacy}","received_events_url":"https://api.github.com/users/Revenaunt/received_events","type":"User","site_admin":false},"repo":{"id":39021235,"name":"android-app","full_name":"Revenaunt/android-app","owner":{"login":"Revenaunt","id":8737659,"avatar_url":"https://avatars.githubusercontent.com/u/8737659?v=3","gravatar_id":"","url":"https://api.github.com/users/Revenaunt","html_url":"https://github.com/Revenaunt","followers_url":"https://api.github.com/users/Revenaunt/followers","following_url":"https://api.github.com/users/Revenaunt/following{/other_user}","gists_url":"https://api.github.com/users/Revenaunt/gists{/gist_id}","starred_url":"https://api.github.com/users/Revenaunt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Revenaunt/subscriptions","organizations_url":"https://api.github.com/users/Revenaunt/orgs","repos_url":"https://api.github.com/users/Revenaunt/repos","events_url":"https://api.github.com/users/Revenaunt/events{/privacy}","received_events_url":"https://api.github.com/users/Revenaunt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Revenaunt/android-app","description":"An android app to help you choose and achieve your goals. This is a work in progress.","fork":true,"url":"https://api.github.com/repos/Revenaunt/android-app","forks_url":"https://api.github.com/repos/Revenaunt/android-app/forks","keys_url":"https://api.github.com/repos/Revenaunt/android-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Revenaunt/android-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Revenaunt/android-app/teams","hooks_url":"https://api.github.com/repos/Revenaunt/android-app/hooks","issue_events_url":"https://api.github.com/repos/Revenaunt/android-app/issues/events{/number}","events_url":"https://api.github.com/repos/Revenaunt/android-app/events","assignees_url":"https://api.github.com/repos/Revenaunt/android-app/assignees{/user}","branches_url":"https://api.github.com/repos/Revenaunt/android-app/branches{/branch}","tags_url":"https://api.github.com/repos/Revenaunt/android-app/tags","blobs_url":"https://api.github.com/repos/Revenaunt/android-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Revenaunt/android-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Revenaunt/android-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/Revenaunt/android-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Revenaunt/android-app/statuses/{sha}","languages_url":"https://api.github.com/repos/Revenaunt/android-app/languages","stargazers_url":"https://api.github.com/repos/Revenaunt/android-app/stargazers","contributors_url":"https://api.github.com/repos/Revenaunt/android-app/contributors","subscribers_url":"https://api.github.com/repos/Revenaunt/android-app/subscribers","subscription_url":"https://api.github.com/repos/Revenaunt/android-app/subscription","commits_url":"https://api.github.com/repos/Revenaunt/android-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/Revenaunt/android-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/Revenaunt/android-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/Revenaunt/android-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/Revenaunt/android-app/contents/{+path}","compare_url":"https://api.github.com/repos/Revenaunt/android-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Revenaunt/android-app/merges","archive_url":"https://api.github.com/repos/Revenaunt/android-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Revenaunt/android-app/downloads","issues_url":"https://api.github.com/repos/Revenaunt/android-app/issues{/number}","pulls_url":"https://api.github.com/repos/Revenaunt/android-app/pulls{/number}","milestones_url":"https://api.github.com/repos/Revenaunt/android-app/milestones{/number}","notifications_url":"https://api.github.com/repos/Revenaunt/android-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Revenaunt/android-app/labels{/name}","releases_url":"https://api.github.com/repos/Revenaunt/android-app/releases{/id}","created_at":"2015-07-13T15:41:14Z","updated_at":"2015-07-13T15:41:15Z","pushed_at":"2015-08-07T20:37:20Z","git_url":"git://github.com/Revenaunt/android-app.git","ssh_url":"git@github.com:Revenaunt/android-app.git","clone_url":"https://github.com/Revenaunt/android-app.git","svn_url":"https://github.com/Revenaunt/android-app","homepage":"","size":2753,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"master"}},"base":{"label":"tndatacommons:master","ref":"master","sha":"162e2d9cbe657aa8be6601c524ed0788f1b9c49a","user":{"login":"tndatacommons","id":11433555,"avatar_url":"https://avatars.githubusercontent.com/u/11433555?v=3","gravatar_id":"","url":"https://api.github.com/users/tndatacommons","html_url":"https://github.com/tndatacommons","followers_url":"https://api.github.com/users/tndatacommons/followers","following_url":"https://api.github.com/users/tndatacommons/following{/other_user}","gists_url":"https://api.github.com/users/tndatacommons/gists{/gist_id}","starred_url":"https://api.github.com/users/tndatacommons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tndatacommons/subscriptions","organizations_url":"https://api.github.com/users/tndatacommons/orgs","repos_url":"https://api.github.com/users/tndatacommons/repos","events_url":"https://api.github.com/users/tndatacommons/events{/privacy}","received_events_url":"https://api.github.com/users/tndatacommons/received_events","type":"Organization","site_admin":false},"repo":{"id":32988201,"name":"android-app","full_name":"tndatacommons/android-app","owner":{"login":"tndatacommons","id":11433555,"avatar_url":"https://avatars.githubusercontent.com/u/11433555?v=3","gravatar_id":"","url":"https://api.github.com/users/tndatacommons","html_url":"https://github.com/tndatacommons","followers_url":"https://api.github.com/users/tndatacommons/followers","following_url":"https://api.github.com/users/tndatacommons/following{/other_user}","gists_url":"https://api.github.com/users/tndatacommons/gists{/gist_id}","starred_url":"https://api.github.com/users/tndatacommons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tndatacommons/subscriptions","organizations_url":"https://api.github.com/users/tndatacommons/orgs","repos_url":"https://api.github.com/users/tndatacommons/repos","events_url":"https://api.github.com/users/tndatacommons/events{/privacy}","received_events_url":"https://api.github.com/users/tndatacommons/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tndatacommons/android-app","description":"An android app to help you choose and achieve your goals. This is a work in progress.","fork":false,"url":"https://api.github.com/repos/tndatacommons/android-app","forks_url":"https://api.github.com/repos/tndatacommons/android-app/forks","keys_url":"https://api.github.com/repos/tndatacommons/android-app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tndatacommons/android-app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tndatacommons/android-app/teams","hooks_url":"https://api.github.com/repos/tndatacommons/android-app/hooks","issue_events_url":"https://api.github.com/repos/tndatacommons/android-app/issues/events{/number}","events_url":"https://api.github.com/repos/tndatacommons/android-app/events","assignees_url":"https://api.github.com/repos/tndatacommons/android-app/assignees{/user}","branches_url":"https://api.github.com/repos/tndatacommons/android-app/branches{/branch}","tags_url":"https://api.github.com/repos/tndatacommons/android-app/tags","blobs_url":"https://api.github.com/repos/tndatacommons/android-app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tndatacommons/android-app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tndatacommons/android-app/git/refs{/sha}","trees_url":"https://api.github.com/repos/tndatacommons/android-app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tndatacommons/android-app/statuses/{sha}","languages_url":"https://api.github.com/repos/tndatacommons/android-app/languages","stargazers_url":"https://api.github.com/repos/tndatacommons/android-app/stargazers","contributors_url":"https://api.github.com/repos/tndatacommons/android-app/contributors","subscribers_url":"https://api.github.com/repos/tndatacommons/android-app/subscribers","subscription_url":"https://api.github.com/repos/tndatacommons/android-app/subscription","commits_url":"https://api.github.com/repos/tndatacommons/android-app/commits{/sha}","git_commits_url":"https://api.github.com/repos/tndatacommons/android-app/git/commits{/sha}","comments_url":"https://api.github.com/repos/tndatacommons/android-app/comments{/number}","issue_comment_url":"https://api.github.com/repos/tndatacommons/android-app/issues/comments{/number}","contents_url":"https://api.github.com/repos/tndatacommons/android-app/contents/{+path}","compare_url":"https://api.github.com/repos/tndatacommons/android-app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tndatacommons/android-app/merges","archive_url":"https://api.github.com/repos/tndatacommons/android-app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tndatacommons/android-app/downloads","issues_url":"https://api.github.com/repos/tndatacommons/android-app/issues{/number}","pulls_url":"https://api.github.com/repos/tndatacommons/android-app/pulls{/number}","milestones_url":"https://api.github.com/repos/tndatacommons/android-app/milestones{/number}","notifications_url":"https://api.github.com/repos/tndatacommons/android-app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tndatacommons/android-app/labels{/name}","releases_url":"https://api.github.com/repos/tndatacommons/android-app/releases{/id}","created_at":"2015-03-27T13:41:44Z","updated_at":"2015-06-26T21:05:29Z","pushed_at":"2015-08-07T21:25:25Z","git_url":"git://github.com/tndatacommons/android-app.git","ssh_url":"git@github.com:tndatacommons/android-app.git","clone_url":"https://github.com/tndatacommons/android-app.git","svn_url":"https://github.com/tndatacommons/android-app","homepage":"","size":3430,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tndatacommons/android-app/pulls/80"},"html":{"href":"https://github.com/tndatacommons/android-app/pull/80"},"issue":{"href":"https://api.github.com/repos/tndatacommons/android-app/issues/80"},"comments":{"href":"https://api.github.com/repos/tndatacommons/android-app/issues/80/comments"},"review_comments":{"href":"https://api.github.com/repos/tndatacommons/android-app/pulls/80/comments"},"review_comment":{"href":"https://api.github.com/repos/tndatacommons/android-app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tndatacommons/android-app/pulls/80/commits"},"statuses":{"href":"https://api.github.com/repos/tndatacommons/android-app/statuses/36874c684d509eae788a6d95c9cb8cf9d9ce40f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":85,"deletions":55,"changed_files":3}}