{"action":"closed","number":12,"pull_request":{"url":"https://api.github.com/repos/pelias/model/pulls/12","id":32762305,"html_url":"https://github.com/pelias/model/pull/12","diff_url":"https://github.com/pelias/model/pull/12.diff","patch_url":"https://github.com/pelias/model/pull/12.patch","issue_url":"https://api.github.com/repos/pelias/model/issues/12","number":12,"state":"closed","locked":false,"title":"add category add/remove methods to Document model","user":{"login":"missinglink","id":738069,"avatar_url":"https://avatars.githubusercontent.com/u/738069?v=3","gravatar_id":"","url":"https://api.github.com/users/missinglink","html_url":"https://github.com/missinglink","followers_url":"https://api.github.com/users/missinglink/followers","following_url":"https://api.github.com/users/missinglink/following{/other_user}","gists_url":"https://api.github.com/users/missinglink/gists{/gist_id}","starred_url":"https://api.github.com/users/missinglink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missinglink/subscriptions","organizations_url":"https://api.github.com/users/missinglink/orgs","repos_url":"https://api.github.com/users/missinglink/repos","events_url":"https://api.github.com/users/missinglink/events{/privacy}","received_events_url":"https://api.github.com/users/missinglink/received_events","type":"User","site_admin":false},"body":"add category add/remove methods to Document model.\r\nintroduces a new 'set' type which exposes a push/splice API\r\n\r\nrelated: https://github.com/pelias/schema/pull/47","created_at":"2015-04-07T13:14:24Z","updated_at":"2015-04-07T15:07:36Z","closed_at":"2015-04-07T15:07:36Z","merged_at":"2015-04-07T15:07:36Z","merge_commit_sha":"2944df69ba0f4189e1a75bd864379c3e51c7d5fe","assignee":{"login":"missinglink","id":738069,"avatar_url":"https://avatars.githubusercontent.com/u/738069?v=3","gravatar_id":"","url":"https://api.github.com/users/missinglink","html_url":"https://github.com/missinglink","followers_url":"https://api.github.com/users/missinglink/followers","following_url":"https://api.github.com/users/missinglink/following{/other_user}","gists_url":"https://api.github.com/users/missinglink/gists{/gist_id}","starred_url":"https://api.github.com/users/missinglink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missinglink/subscriptions","organizations_url":"https://api.github.com/users/missinglink/orgs","repos_url":"https://api.github.com/users/missinglink/repos","events_url":"https://api.github.com/users/missinglink/events{/privacy}","received_events_url":"https://api.github.com/users/missinglink/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pelias/model/pulls/12/commits","review_comments_url":"https://api.github.com/repos/pelias/model/pulls/12/comments","review_comment_url":"https://api.github.com/repos/pelias/model/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pelias/model/issues/12/comments","statuses_url":"https://api.github.com/repos/pelias/model/statuses/45a7673129d0ad91360f4636e35b5161fd4db7c6","head":{"label":"pelias:categories","ref":"categories","sha":"45a7673129d0ad91360f4636e35b5161fd4db7c6","user":{"login":"pelias","id":8240367,"avatar_url":"https://avatars.githubusercontent.com/u/8240367?v=3","gravatar_id":"","url":"https://api.github.com/users/pelias","html_url":"https://github.com/pelias","followers_url":"https://api.github.com/users/pelias/followers","following_url":"https://api.github.com/users/pelias/following{/other_user}","gists_url":"https://api.github.com/users/pelias/gists{/gist_id}","starred_url":"https://api.github.com/users/pelias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelias/subscriptions","organizations_url":"https://api.github.com/users/pelias/orgs","repos_url":"https://api.github.com/users/pelias/repos","events_url":"https://api.github.com/users/pelias/events{/privacy}","received_events_url":"https://api.github.com/users/pelias/received_events","type":"Organization","site_admin":false},"repo":{"id":27174833,"name":"model","full_name":"pelias/model","owner":{"login":"pelias","id":8240367,"avatar_url":"https://avatars.githubusercontent.com/u/8240367?v=3","gravatar_id":"","url":"https://api.github.com/users/pelias","html_url":"https://github.com/pelias","followers_url":"https://api.github.com/users/pelias/followers","following_url":"https://api.github.com/users/pelias/following{/other_user}","gists_url":"https://api.github.com/users/pelias/gists{/gist_id}","starred_url":"https://api.github.com/users/pelias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelias/subscriptions","organizations_url":"https://api.github.com/users/pelias/orgs","repos_url":"https://api.github.com/users/pelias/repos","events_url":"https://api.github.com/users/pelias/events{/privacy}","received_events_url":"https://api.github.com/users/pelias/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pelias/model","description":"Pelias data models","fork":false,"url":"https://api.github.com/repos/pelias/model","forks_url":"https://api.github.com/repos/pelias/model/forks","keys_url":"https://api.github.com/repos/pelias/model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelias/model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelias/model/teams","hooks_url":"https://api.github.com/repos/pelias/model/hooks","issue_events_url":"https://api.github.com/repos/pelias/model/issues/events{/number}","events_url":"https://api.github.com/repos/pelias/model/events","assignees_url":"https://api.github.com/repos/pelias/model/assignees{/user}","branches_url":"https://api.github.com/repos/pelias/model/branches{/branch}","tags_url":"https://api.github.com/repos/pelias/model/tags","blobs_url":"https://api.github.com/repos/pelias/model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelias/model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelias/model/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelias/model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelias/model/statuses/{sha}","languages_url":"https://api.github.com/repos/pelias/model/languages","stargazers_url":"https://api.github.com/repos/pelias/model/stargazers","contributors_url":"https://api.github.com/repos/pelias/model/contributors","subscribers_url":"https://api.github.com/repos/pelias/model/subscribers","subscription_url":"https://api.github.com/repos/pelias/model/subscription","commits_url":"https://api.github.com/repos/pelias/model/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelias/model/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelias/model/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelias/model/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelias/model/contents/{+path}","compare_url":"https://api.github.com/repos/pelias/model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelias/model/merges","archive_url":"https://api.github.com/repos/pelias/model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelias/model/downloads","issues_url":"https://api.github.com/repos/pelias/model/issues{/number}","pulls_url":"https://api.github.com/repos/pelias/model/pulls{/number}","milestones_url":"https://api.github.com/repos/pelias/model/milestones{/number}","notifications_url":"https://api.github.com/repos/pelias/model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelias/model/labels{/name}","releases_url":"https://api.github.com/repos/pelias/model/releases{/id}","created_at":"2014-11-26T12:00:01Z","updated_at":"2015-04-01T19:22:51Z","pushed_at":"2015-04-07T15:07:36Z","git_url":"git://github.com/pelias/model.git","ssh_url":"git@github.com:pelias/model.git","clone_url":"https://github.com/pelias/model.git","svn_url":"https://github.com/pelias/model","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pelias:master","ref":"master","sha":"02f4c85c88d806da9298a6c3fde57c2c213bfca6","user":{"login":"pelias","id":8240367,"avatar_url":"https://avatars.githubusercontent.com/u/8240367?v=3","gravatar_id":"","url":"https://api.github.com/users/pelias","html_url":"https://github.com/pelias","followers_url":"https://api.github.com/users/pelias/followers","following_url":"https://api.github.com/users/pelias/following{/other_user}","gists_url":"https://api.github.com/users/pelias/gists{/gist_id}","starred_url":"https://api.github.com/users/pelias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelias/subscriptions","organizations_url":"https://api.github.com/users/pelias/orgs","repos_url":"https://api.github.com/users/pelias/repos","events_url":"https://api.github.com/users/pelias/events{/privacy}","received_events_url":"https://api.github.com/users/pelias/received_events","type":"Organization","site_admin":false},"repo":{"id":27174833,"name":"model","full_name":"pelias/model","owner":{"login":"pelias","id":8240367,"avatar_url":"https://avatars.githubusercontent.com/u/8240367?v=3","gravatar_id":"","url":"https://api.github.com/users/pelias","html_url":"https://github.com/pelias","followers_url":"https://api.github.com/users/pelias/followers","following_url":"https://api.github.com/users/pelias/following{/other_user}","gists_url":"https://api.github.com/users/pelias/gists{/gist_id}","starred_url":"https://api.github.com/users/pelias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelias/subscriptions","organizations_url":"https://api.github.com/users/pelias/orgs","repos_url":"https://api.github.com/users/pelias/repos","events_url":"https://api.github.com/users/pelias/events{/privacy}","received_events_url":"https://api.github.com/users/pelias/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pelias/model","description":"Pelias data models","fork":false,"url":"https://api.github.com/repos/pelias/model","forks_url":"https://api.github.com/repos/pelias/model/forks","keys_url":"https://api.github.com/repos/pelias/model/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelias/model/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelias/model/teams","hooks_url":"https://api.github.com/repos/pelias/model/hooks","issue_events_url":"https://api.github.com/repos/pelias/model/issues/events{/number}","events_url":"https://api.github.com/repos/pelias/model/events","assignees_url":"https://api.github.com/repos/pelias/model/assignees{/user}","branches_url":"https://api.github.com/repos/pelias/model/branches{/branch}","tags_url":"https://api.github.com/repos/pelias/model/tags","blobs_url":"https://api.github.com/repos/pelias/model/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelias/model/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelias/model/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelias/model/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelias/model/statuses/{sha}","languages_url":"https://api.github.com/repos/pelias/model/languages","stargazers_url":"https://api.github.com/repos/pelias/model/stargazers","contributors_url":"https://api.github.com/repos/pelias/model/contributors","subscribers_url":"https://api.github.com/repos/pelias/model/subscribers","subscription_url":"https://api.github.com/repos/pelias/model/subscription","commits_url":"https://api.github.com/repos/pelias/model/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelias/model/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelias/model/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelias/model/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelias/model/contents/{+path}","compare_url":"https://api.github.com/repos/pelias/model/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelias/model/merges","archive_url":"https://api.github.com/repos/pelias/model/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelias/model/downloads","issues_url":"https://api.github.com/repos/pelias/model/issues{/number}","pulls_url":"https://api.github.com/repos/pelias/model/pulls{/number}","milestones_url":"https://api.github.com/repos/pelias/model/milestones{/number}","notifications_url":"https://api.github.com/repos/pelias/model/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelias/model/labels{/name}","releases_url":"https://api.github.com/repos/pelias/model/releases{/id}","created_at":"2014-11-26T12:00:01Z","updated_at":"2015-04-01T19:22:51Z","pushed_at":"2015-04-07T15:07:36Z","git_url":"git://github.com/pelias/model.git","ssh_url":"git@github.com:pelias/model.git","clone_url":"https://github.com/pelias/model.git","svn_url":"https://github.com/pelias/model","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pelias/model/pulls/12"},"html":{"href":"https://github.com/pelias/model/pull/12"},"issue":{"href":"https://api.github.com/repos/pelias/model/issues/12"},"comments":{"href":"https://api.github.com/repos/pelias/model/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/pelias/model/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/pelias/model/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pelias/model/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/pelias/model/statuses/45a7673129d0ad91360f4636e35b5161fd4db7c6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"missinglink","id":738069,"avatar_url":"https://avatars.githubusercontent.com/u/738069?v=3","gravatar_id":"","url":"https://api.github.com/users/missinglink","html_url":"https://github.com/missinglink","followers_url":"https://api.github.com/users/missinglink/followers","following_url":"https://api.github.com/users/missinglink/following{/other_user}","gists_url":"https://api.github.com/users/missinglink/gists{/gist_id}","starred_url":"https://api.github.com/users/missinglink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/missinglink/subscriptions","organizations_url":"https://api.github.com/users/missinglink/orgs","repos_url":"https://api.github.com/users/missinglink/repos","events_url":"https://api.github.com/users/missinglink/events{/privacy}","received_events_url":"https://api.github.com/users/missinglink/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":125,"deletions":1,"changed_files":5}}