{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/chris48s/mapit/pulls/1","id":39760880,"html_url":"https://github.com/chris48s/mapit/pull/1","diff_url":"https://github.com/chris48s/mapit/pull/1.diff","patch_url":"https://github.com/chris48s/mapit/pull/1.patch","issue_url":"https://api.github.com/repos/chris48s/mapit/issues/1","number":1,"state":"closed","locked":false,"title":"Include properties with geojson, ensure FeatureCollection","user":{"login":"longhotsummer","id":4178542,"avatar_url":"https://avatars.githubusercontent.com/u/4178542?v=3","gravatar_id":"","url":"https://api.github.com/users/longhotsummer","html_url":"https://github.com/longhotsummer","followers_url":"https://api.github.com/users/longhotsummer/followers","following_url":"https://api.github.com/users/longhotsummer/following{/other_user}","gists_url":"https://api.github.com/users/longhotsummer/gists{/gist_id}","starred_url":"https://api.github.com/users/longhotsummer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longhotsummer/subscriptions","organizations_url":"https://api.github.com/users/longhotsummer/orgs","repos_url":"https://api.github.com/users/longhotsummer/repos","events_url":"https://api.github.com/users/longhotsummer/events{/privacy}","received_events_url":"https://api.github.com/users/longhotsummer/received_events","type":"User","site_admin":false},"body":"This pulls in an area's properties into the geojson\r\nso that they don't also need to call .json for each area.\r\n\r\nThis also ensures that /areas/1.geojson always returns a\r\nFeatureCollection, which means the caller/client isn't surprised that\r\nsometimes the response is a polygon, and sometimes it's a feature\r\ncollection.  They always knows what type of object is going to come back\r\nand can act accordingly. If they know they only want a single item, they\r\ncan use /area/1.geojson.","created_at":"2015-07-12T11:56:37Z","updated_at":"2015-07-18T15:51:15Z","closed_at":"2015-07-18T15:51:15Z","merged_at":"2015-07-18T15:51:15Z","merge_commit_sha":"7e0de9f7e3a886b496c9d44a5da99ed0f0178ea3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chris48s/mapit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chris48s/mapit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chris48s/mapit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chris48s/mapit/issues/1/comments","statuses_url":"https://api.github.com/repos/chris48s/mapit/statuses/2d742212b7c29d860c3258e22597340087498217","head":{"label":"Code4SA:issue136-fix","ref":"issue136-fix","sha":"2d742212b7c29d860c3258e22597340087498217","user":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"repo":{"id":34518116,"name":"mapit","full_name":"Code4SA/mapit","owner":{"login":"Code4SA","id":4387576,"avatar_url":"https://avatars.githubusercontent.com/u/4387576?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4SA","html_url":"https://github.com/Code4SA","followers_url":"https://api.github.com/users/Code4SA/followers","following_url":"https://api.github.com/users/Code4SA/following{/other_user}","gists_url":"https://api.github.com/users/Code4SA/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4SA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4SA/subscriptions","organizations_url":"https://api.github.com/users/Code4SA/orgs","repos_url":"https://api.github.com/users/Code4SA/repos","events_url":"https://api.github.com/users/Code4SA/events{/privacy}","received_events_url":"https://api.github.com/users/Code4SA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Code4SA/mapit","description":"A web service to map postcodes to administrative boundaries and more","fork":true,"url":"https://api.github.com/repos/Code4SA/mapit","forks_url":"https://api.github.com/repos/Code4SA/mapit/forks","keys_url":"https://api.github.com/repos/Code4SA/mapit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code4SA/mapit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code4SA/mapit/teams","hooks_url":"https://api.github.com/repos/Code4SA/mapit/hooks","issue_events_url":"https://api.github.com/repos/Code4SA/mapit/issues/events{/number}","events_url":"https://api.github.com/repos/Code4SA/mapit/events","assignees_url":"https://api.github.com/repos/Code4SA/mapit/assignees{/user}","branches_url":"https://api.github.com/repos/Code4SA/mapit/branches{/branch}","tags_url":"https://api.github.com/repos/Code4SA/mapit/tags","blobs_url":"https://api.github.com/repos/Code4SA/mapit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code4SA/mapit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code4SA/mapit/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code4SA/mapit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code4SA/mapit/statuses/{sha}","languages_url":"https://api.github.com/repos/Code4SA/mapit/languages","stargazers_url":"https://api.github.com/repos/Code4SA/mapit/stargazers","contributors_url":"https://api.github.com/repos/Code4SA/mapit/contributors","subscribers_url":"https://api.github.com/repos/Code4SA/mapit/subscribers","subscription_url":"https://api.github.com/repos/Code4SA/mapit/subscription","commits_url":"https://api.github.com/repos/Code4SA/mapit/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code4SA/mapit/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code4SA/mapit/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code4SA/mapit/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code4SA/mapit/contents/{+path}","compare_url":"https://api.github.com/repos/Code4SA/mapit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code4SA/mapit/merges","archive_url":"https://api.github.com/repos/Code4SA/mapit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code4SA/mapit/downloads","issues_url":"https://api.github.com/repos/Code4SA/mapit/issues{/number}","pulls_url":"https://api.github.com/repos/Code4SA/mapit/pulls{/number}","milestones_url":"https://api.github.com/repos/Code4SA/mapit/milestones{/number}","notifications_url":"https://api.github.com/repos/Code4SA/mapit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code4SA/mapit/labels{/name}","releases_url":"https://api.github.com/repos/Code4SA/mapit/releases{/id}","created_at":"2015-04-24T12:43:56Z","updated_at":"2015-04-24T12:43:57Z","pushed_at":"2015-07-18T14:12:42Z","git_url":"git://github.com/Code4SA/mapit.git","ssh_url":"git@github.com:Code4SA/mapit.git","clone_url":"https://github.com/Code4SA/mapit.git","svn_url":"https://github.com/Code4SA/mapit","homepage":"","size":4575,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"chris48s:issue136","ref":"issue136","sha":"c193c8d8fa1c0a6f3f22a2b3332784a7a86fd333","user":{"login":"chris48s","id":6025893,"avatar_url":"https://avatars.githubusercontent.com/u/6025893?v=3","gravatar_id":"","url":"https://api.github.com/users/chris48s","html_url":"https://github.com/chris48s","followers_url":"https://api.github.com/users/chris48s/followers","following_url":"https://api.github.com/users/chris48s/following{/other_user}","gists_url":"https://api.github.com/users/chris48s/gists{/gist_id}","starred_url":"https://api.github.com/users/chris48s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris48s/subscriptions","organizations_url":"https://api.github.com/users/chris48s/orgs","repos_url":"https://api.github.com/users/chris48s/repos","events_url":"https://api.github.com/users/chris48s/events{/privacy}","received_events_url":"https://api.github.com/users/chris48s/received_events","type":"User","site_admin":false},"repo":{"id":14690872,"name":"mapit","full_name":"chris48s/mapit","owner":{"login":"chris48s","id":6025893,"avatar_url":"https://avatars.githubusercontent.com/u/6025893?v=3","gravatar_id":"","url":"https://api.github.com/users/chris48s","html_url":"https://github.com/chris48s","followers_url":"https://api.github.com/users/chris48s/followers","following_url":"https://api.github.com/users/chris48s/following{/other_user}","gists_url":"https://api.github.com/users/chris48s/gists{/gist_id}","starred_url":"https://api.github.com/users/chris48s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris48s/subscriptions","organizations_url":"https://api.github.com/users/chris48s/orgs","repos_url":"https://api.github.com/users/chris48s/repos","events_url":"https://api.github.com/users/chris48s/events{/privacy}","received_events_url":"https://api.github.com/users/chris48s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chris48s/mapit","description":"A web service to map postcodes to administrative boundaries and more","fork":true,"url":"https://api.github.com/repos/chris48s/mapit","forks_url":"https://api.github.com/repos/chris48s/mapit/forks","keys_url":"https://api.github.com/repos/chris48s/mapit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chris48s/mapit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chris48s/mapit/teams","hooks_url":"https://api.github.com/repos/chris48s/mapit/hooks","issue_events_url":"https://api.github.com/repos/chris48s/mapit/issues/events{/number}","events_url":"https://api.github.com/repos/chris48s/mapit/events","assignees_url":"https://api.github.com/repos/chris48s/mapit/assignees{/user}","branches_url":"https://api.github.com/repos/chris48s/mapit/branches{/branch}","tags_url":"https://api.github.com/repos/chris48s/mapit/tags","blobs_url":"https://api.github.com/repos/chris48s/mapit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chris48s/mapit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chris48s/mapit/git/refs{/sha}","trees_url":"https://api.github.com/repos/chris48s/mapit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chris48s/mapit/statuses/{sha}","languages_url":"https://api.github.com/repos/chris48s/mapit/languages","stargazers_url":"https://api.github.com/repos/chris48s/mapit/stargazers","contributors_url":"https://api.github.com/repos/chris48s/mapit/contributors","subscribers_url":"https://api.github.com/repos/chris48s/mapit/subscribers","subscription_url":"https://api.github.com/repos/chris48s/mapit/subscription","commits_url":"https://api.github.com/repos/chris48s/mapit/commits{/sha}","git_commits_url":"https://api.github.com/repos/chris48s/mapit/git/commits{/sha}","comments_url":"https://api.github.com/repos/chris48s/mapit/comments{/number}","issue_comment_url":"https://api.github.com/repos/chris48s/mapit/issues/comments{/number}","contents_url":"https://api.github.com/repos/chris48s/mapit/contents/{+path}","compare_url":"https://api.github.com/repos/chris48s/mapit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chris48s/mapit/merges","archive_url":"https://api.github.com/repos/chris48s/mapit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chris48s/mapit/downloads","issues_url":"https://api.github.com/repos/chris48s/mapit/issues{/number}","pulls_url":"https://api.github.com/repos/chris48s/mapit/pulls{/number}","milestones_url":"https://api.github.com/repos/chris48s/mapit/milestones{/number}","notifications_url":"https://api.github.com/repos/chris48s/mapit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chris48s/mapit/labels{/name}","releases_url":"https://api.github.com/repos/chris48s/mapit/releases{/id}","created_at":"2013-11-25T16:23:04Z","updated_at":"2015-05-04T13:11:23Z","pushed_at":"2015-07-18T15:51:15Z","git_url":"git://github.com/chris48s/mapit.git","ssh_url":"git@github.com:chris48s/mapit.git","clone_url":"https://github.com/chris48s/mapit.git","svn_url":"https://github.com/chris48s/mapit","homepage":"","size":3555,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chris48s/mapit/pulls/1"},"html":{"href":"https://github.com/chris48s/mapit/pull/1"},"issue":{"href":"https://api.github.com/repos/chris48s/mapit/issues/1"},"comments":{"href":"https://api.github.com/repos/chris48s/mapit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chris48s/mapit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chris48s/mapit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chris48s/mapit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chris48s/mapit/statuses/2d742212b7c29d860c3258e22597340087498217"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"chris48s","id":6025893,"avatar_url":"https://avatars.githubusercontent.com/u/6025893?v=3","gravatar_id":"","url":"https://api.github.com/users/chris48s","html_url":"https://github.com/chris48s","followers_url":"https://api.github.com/users/chris48s/followers","following_url":"https://api.github.com/users/chris48s/following{/other_user}","gists_url":"https://api.github.com/users/chris48s/gists{/gist_id}","starred_url":"https://api.github.com/users/chris48s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris48s/subscriptions","organizations_url":"https://api.github.com/users/chris48s/orgs","repos_url":"https://api.github.com/users/chris48s/repos","events_url":"https://api.github.com/users/chris48s/events{/privacy}","received_events_url":"https://api.github.com/users/chris48s/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":3,"additions":31,"deletions":19,"changed_files":4}}