{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/comments/142508137","pull_request_review_id":66880240,"id":142508137,"diff_hunk":"@@ -78,6 +78,7 @@ class Entry(models.Model):\n     interest = models.CharField(max_length=600, blank=True)\n     featured = models.BooleanField(default=False)\n     internal_notes = models.TextField(blank=True)\n+    posted_by_creator = models.BooleanField(default=False)","path":"pulseapi/entries/models.py","position":4,"original_position":4,"commit_id":"8c71181cecb991af07381ec1197068f1b03bf7c6","original_commit_id":"8c71181cecb991af07381ec1197068f1b03bf7c6","user":{"login":"gideonthomas","id":5816130,"avatar_url":"https://avatars3.githubusercontent.com/u/5816130?v=4","gravatar_id":"","url":"https://api.github.com/users/gideonthomas","html_url":"https://github.com/gideonthomas","followers_url":"https://api.github.com/users/gideonthomas/followers","following_url":"https://api.github.com/users/gideonthomas/following{/other_user}","gists_url":"https://api.github.com/users/gideonthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/gideonthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gideonthomas/subscriptions","organizations_url":"https://api.github.com/users/gideonthomas/orgs","repos_url":"https://api.github.com/users/gideonthomas/repos","events_url":"https://api.github.com/users/gideonthomas/events{/privacy}","received_events_url":"https://api.github.com/users/gideonthomas/received_events","type":"User","site_admin":false},"body":"nit: maybe use the same terminology we use for the person posting - `published_by`, so it would be `published_by_creator`?","created_at":"2017-10-03T20:07:10Z","updated_at":"2017-10-03T20:09:48Z","html_url":"https://github.com/mozilla/network-pulse-api/pull/222#discussion_r142508137","pull_request_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/comments/142508137"},"html":{"href":"https://github.com/mozilla/network-pulse-api/pull/222#discussion_r142508137"},"pull_request":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222","id":144485049,"html_url":"https://github.com/mozilla/network-pulse-api/pull/222","diff_url":"https://github.com/mozilla/network-pulse-api/pull/222.diff","patch_url":"https://github.com/mozilla/network-pulse-api/pull/222.patch","issue_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/222","number":222,"state":"open","locked":false,"title":"Allow posters to indicate they are a content creator","user":{"login":"Pomax","id":177243,"avatar_url":"https://avatars2.githubusercontent.com/u/177243?v=4","gravatar_id":"","url":"https://api.github.com/users/Pomax","html_url":"https://github.com/Pomax","followers_url":"https://api.github.com/users/Pomax/followers","following_url":"https://api.github.com/users/Pomax/following{/other_user}","gists_url":"https://api.github.com/users/Pomax/gists{/gist_id}","starred_url":"https://api.github.com/users/Pomax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pomax/subscriptions","organizations_url":"https://api.github.com/users/Pomax/orgs","repos_url":"https://api.github.com/users/Pomax/repos","events_url":"https://api.github.com/users/Pomax/events{/privacy}","received_events_url":"https://api.github.com/users/Pomax/received_events","type":"User","site_admin":false},"body":"This adds an optional `posted_by_creator` bool to the Entry model so that a posting user can be marked as creator for an entry, without having to specify explicit Creator fields. This PR includes the necessary docs update, as well as new test to verify passing in the relevant value as the desired effect during as result of a POST operation.\r\n\r\nThis closes #160 ","created_at":"2017-10-03T17:45:29Z","updated_at":"2017-10-03T20:09:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8b18eda41841806ba09156682ab612f97d315498","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/mozilla/network-pulse-api/milestones/13","html_url":"https://github.com/mozilla/network-pulse-api/milestone/13","labels_url":"https://api.github.com/repos/mozilla/network-pulse-api/milestones/13/labels","id":2768215,"number":13,"title":"Oct 6, 2017","description":"","creator":{"login":"xmatthewx","id":53411,"avatar_url":"https://avatars0.githubusercontent.com/u/53411?v=4","gravatar_id":"","url":"https://api.github.com/users/xmatthewx","html_url":"https://github.com/xmatthewx","followers_url":"https://api.github.com/users/xmatthewx/followers","following_url":"https://api.github.com/users/xmatthewx/following{/other_user}","gists_url":"https://api.github.com/users/xmatthewx/gists{/gist_id}","starred_url":"https://api.github.com/users/xmatthewx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xmatthewx/subscriptions","organizations_url":"https://api.github.com/users/xmatthewx/orgs","repos_url":"https://api.github.com/users/xmatthewx/repos","events_url":"https://api.github.com/users/xmatthewx/events{/privacy}","received_events_url":"https://api.github.com/users/xmatthewx/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":1,"state":"open","created_at":"2017-09-15T13:02:22Z","updated_at":"2017-10-03T17:45:38Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222/commits","review_comments_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222/comments","review_comment_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/222/comments","statuses_url":"https://api.github.com/repos/mozilla/network-pulse-api/statuses/8c71181cecb991af07381ec1197068f1b03bf7c6","head":{"label":"mozilla:poster_is_creator","ref":"poster_is_creator","sha":"8c71181cecb991af07381ec1197068f1b03bf7c6","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":74170666,"name":"network-pulse-api","full_name":"mozilla/network-pulse-api","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/network-pulse-api","description":"API for the Network-Pulse project","fork":false,"url":"https://api.github.com/repos/mozilla/network-pulse-api","forks_url":"https://api.github.com/repos/mozilla/network-pulse-api/forks","keys_url":"https://api.github.com/repos/mozilla/network-pulse-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/network-pulse-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/network-pulse-api/teams","hooks_url":"https://api.github.com/repos/mozilla/network-pulse-api/hooks","issue_events_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/network-pulse-api/events","assignees_url":"https://api.github.com/repos/mozilla/network-pulse-api/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/network-pulse-api/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/network-pulse-api/tags","blobs_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/network-pulse-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/network-pulse-api/languages","stargazers_url":"https://api.github.com/repos/mozilla/network-pulse-api/stargazers","contributors_url":"https://api.github.com/repos/mozilla/network-pulse-api/contributors","subscribers_url":"https://api.github.com/repos/mozilla/network-pulse-api/subscribers","subscription_url":"https://api.github.com/repos/mozilla/network-pulse-api/subscription","commits_url":"https://api.github.com/repos/mozilla/network-pulse-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/network-pulse-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/network-pulse-api/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/network-pulse-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/network-pulse-api/merges","archive_url":"https://api.github.com/repos/mozilla/network-pulse-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/network-pulse-api/downloads","issues_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/network-pulse-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/network-pulse-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/network-pulse-api/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/network-pulse-api/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/network-pulse-api/deployments","created_at":"2016-11-18T22:18:06Z","updated_at":"2017-07-14T11:12:28Z","pushed_at":"2017-10-03T19:43:10Z","git_url":"git://github.com/mozilla/network-pulse-api.git","ssh_url":"git@github.com:mozilla/network-pulse-api.git","clone_url":"https://github.com/mozilla/network-pulse-api.git","svn_url":"https://github.com/mozilla/network-pulse-api","homepage":null,"size":270,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":37,"forks":8,"open_issues":37,"watchers":3,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"986fd8fc8213a4266c632f98e6fb646108e845f5","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":74170666,"name":"network-pulse-api","full_name":"mozilla/network-pulse-api","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/network-pulse-api","description":"API for the Network-Pulse project","fork":false,"url":"https://api.github.com/repos/mozilla/network-pulse-api","forks_url":"https://api.github.com/repos/mozilla/network-pulse-api/forks","keys_url":"https://api.github.com/repos/mozilla/network-pulse-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/network-pulse-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/network-pulse-api/teams","hooks_url":"https://api.github.com/repos/mozilla/network-pulse-api/hooks","issue_events_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/network-pulse-api/events","assignees_url":"https://api.github.com/repos/mozilla/network-pulse-api/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/network-pulse-api/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/network-pulse-api/tags","blobs_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/network-pulse-api/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/network-pulse-api/languages","stargazers_url":"https://api.github.com/repos/mozilla/network-pulse-api/stargazers","contributors_url":"https://api.github.com/repos/mozilla/network-pulse-api/contributors","subscribers_url":"https://api.github.com/repos/mozilla/network-pulse-api/subscribers","subscription_url":"https://api.github.com/repos/mozilla/network-pulse-api/subscription","commits_url":"https://api.github.com/repos/mozilla/network-pulse-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/network-pulse-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/network-pulse-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/network-pulse-api/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/network-pulse-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/network-pulse-api/merges","archive_url":"https://api.github.com/repos/mozilla/network-pulse-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/network-pulse-api/downloads","issues_url":"https://api.github.com/repos/mozilla/network-pulse-api/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/network-pulse-api/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/network-pulse-api/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/network-pulse-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/network-pulse-api/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/network-pulse-api/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/network-pulse-api/deployments","created_at":"2016-11-18T22:18:06Z","updated_at":"2017-07-14T11:12:28Z","pushed_at":"2017-10-03T19:43:10Z","git_url":"git://github.com/mozilla/network-pulse-api.git","ssh_url":"git@github.com:mozilla/network-pulse-api.git","clone_url":"https://github.com/mozilla/network-pulse-api.git","svn_url":"https://github.com/mozilla/network-pulse-api","homepage":null,"size":270,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":37,"forks":8,"open_issues":37,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222"},"html":{"href":"https://github.com/mozilla/network-pulse-api/pull/222"},"issue":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/issues/222"},"comments":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/issues/222/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/pulls/222/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/network-pulse-api/statuses/8c71181cecb991af07381ec1197068f1b03bf7c6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gideonthomas"}}