{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/guardian/content-atom/pulls/28","id":74592124,"html_url":"https://github.com/guardian/content-atom/pull/28","diff_url":"https://github.com/guardian/content-atom/pull/28.diff","patch_url":"https://github.com/guardian/content-atom/pull/28.patch","issue_url":"https://api.github.com/repos/guardian/content-atom/issues/28","number":28,"state":"open","locked":false,"title":"make activeVersion optional","user":{"login":"jamesgorrie","id":31692,"avatar_url":"https://avatars.githubusercontent.com/u/31692?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesgorrie","html_url":"https://github.com/jamesgorrie","followers_url":"https://api.github.com/users/jamesgorrie/followers","following_url":"https://api.github.com/users/jamesgorrie/following{/other_user}","gists_url":"https://api.github.com/users/jamesgorrie/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesgorrie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesgorrie/subscriptions","organizations_url":"https://api.github.com/users/jamesgorrie/orgs","repos_url":"https://api.github.com/users/jamesgorrie/repos","events_url":"https://api.github.com/users/jamesgorrie/events{/privacy}","received_events_url":"https://api.github.com/users/jamesgorrie/received_events","type":"User","site_admin":false},"body":"If we don't have assets, we won't be able to have an activeVersion.\r\nIt was either this or to use `0` or `null` which always feels rubbish.\r\n\r\n@akash1810 @paulmr ","created_at":"2016-06-21T11:07:27Z","updated_at":"2016-06-21T11:07:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/content-atom/pulls/28/commits","review_comments_url":"https://api.github.com/repos/guardian/content-atom/pulls/28/comments","review_comment_url":"https://api.github.com/repos/guardian/content-atom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/content-atom/issues/28/comments","statuses_url":"https://api.github.com/repos/guardian/content-atom/statuses/a0bcac7444f10cdbe4cf92c56df4bdad69690df4","head":{"label":"guardian:media-atom-active-version","ref":"media-atom-active-version","sha":"a0bcac7444f10cdbe4cf92c56df4bdad69690df4","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":41357897,"name":"content-atom","full_name":"guardian/content-atom","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/content-atom","description":"Schema for a content atom","fork":false,"url":"https://api.github.com/repos/guardian/content-atom","forks_url":"https://api.github.com/repos/guardian/content-atom/forks","keys_url":"https://api.github.com/repos/guardian/content-atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/content-atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/content-atom/teams","hooks_url":"https://api.github.com/repos/guardian/content-atom/hooks","issue_events_url":"https://api.github.com/repos/guardian/content-atom/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/content-atom/events","assignees_url":"https://api.github.com/repos/guardian/content-atom/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/content-atom/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/content-atom/tags","blobs_url":"https://api.github.com/repos/guardian/content-atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/content-atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/content-atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/content-atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/content-atom/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/content-atom/languages","stargazers_url":"https://api.github.com/repos/guardian/content-atom/stargazers","contributors_url":"https://api.github.com/repos/guardian/content-atom/contributors","subscribers_url":"https://api.github.com/repos/guardian/content-atom/subscribers","subscription_url":"https://api.github.com/repos/guardian/content-atom/subscription","commits_url":"https://api.github.com/repos/guardian/content-atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/content-atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/content-atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/content-atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/content-atom/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/content-atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/content-atom/merges","archive_url":"https://api.github.com/repos/guardian/content-atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/content-atom/downloads","issues_url":"https://api.github.com/repos/guardian/content-atom/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/content-atom/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/content-atom/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/content-atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/content-atom/labels{/name}","releases_url":"https://api.github.com/repos/guardian/content-atom/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/content-atom/deployments","created_at":"2015-08-25T10:30:27Z","updated_at":"2016-04-19T13:46:35Z","pushed_at":"2016-06-21T11:07:27Z","git_url":"git://github.com/guardian/content-atom.git","ssh_url":"git@github.com:guardian/content-atom.git","clone_url":"https://github.com/guardian/content-atom.git","svn_url":"https://github.com/guardian/content-atom","homepage":"","size":168,"stargazers_count":1,"watchers_count":1,"language":"Thrift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"86bb43ca8ab511623b3a75b0ec43c3ff5bdd063b","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":41357897,"name":"content-atom","full_name":"guardian/content-atom","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/content-atom","description":"Schema for a content atom","fork":false,"url":"https://api.github.com/repos/guardian/content-atom","forks_url":"https://api.github.com/repos/guardian/content-atom/forks","keys_url":"https://api.github.com/repos/guardian/content-atom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/content-atom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/content-atom/teams","hooks_url":"https://api.github.com/repos/guardian/content-atom/hooks","issue_events_url":"https://api.github.com/repos/guardian/content-atom/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/content-atom/events","assignees_url":"https://api.github.com/repos/guardian/content-atom/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/content-atom/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/content-atom/tags","blobs_url":"https://api.github.com/repos/guardian/content-atom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/content-atom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/content-atom/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/content-atom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/content-atom/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/content-atom/languages","stargazers_url":"https://api.github.com/repos/guardian/content-atom/stargazers","contributors_url":"https://api.github.com/repos/guardian/content-atom/contributors","subscribers_url":"https://api.github.com/repos/guardian/content-atom/subscribers","subscription_url":"https://api.github.com/repos/guardian/content-atom/subscription","commits_url":"https://api.github.com/repos/guardian/content-atom/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/content-atom/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/content-atom/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/content-atom/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/content-atom/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/content-atom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/content-atom/merges","archive_url":"https://api.github.com/repos/guardian/content-atom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/content-atom/downloads","issues_url":"https://api.github.com/repos/guardian/content-atom/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/content-atom/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/content-atom/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/content-atom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/content-atom/labels{/name}","releases_url":"https://api.github.com/repos/guardian/content-atom/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/content-atom/deployments","created_at":"2015-08-25T10:30:27Z","updated_at":"2016-04-19T13:46:35Z","pushed_at":"2016-06-21T11:07:27Z","git_url":"git://github.com/guardian/content-atom.git","ssh_url":"git@github.com:guardian/content-atom.git","clone_url":"https://github.com/guardian/content-atom.git","svn_url":"https://github.com/guardian/content-atom","homepage":"","size":168,"stargazers_count":1,"watchers_count":1,"language":"Thrift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":4,"forks":1,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/content-atom/pulls/28"},"html":{"href":"https://github.com/guardian/content-atom/pull/28"},"issue":{"href":"https://api.github.com/repos/guardian/content-atom/issues/28"},"comments":{"href":"https://api.github.com/repos/guardian/content-atom/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/content-atom/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/content-atom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/content-atom/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/content-atom/statuses/a0bcac7444f10cdbe4cf92c56df4bdad69690df4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"jamesgorrie"}}