{"action":"closed","number":586,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586","id":92769551,"html_url":"https://github.com/Financial-Times/next-es-interface/pull/586","diff_url":"https://github.com/Financial-Times/next-es-interface/pull/586.diff","patch_url":"https://github.com/Financial-Times/next-es-interface/pull/586.patch","issue_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/586","number":586,"state":"closed","locked":false,"title":"Refactor IDs API controller and add a spec","user":{"login":"i-like-robots","id":271645,"avatar_url":"https://avatars.githubusercontent.com/u/271645?v=3","gravatar_id":"","url":"https://api.github.com/users/i-like-robots","html_url":"https://github.com/i-like-robots","followers_url":"https://api.github.com/users/i-like-robots/followers","following_url":"https://api.github.com/users/i-like-robots/following{/other_user}","gists_url":"https://api.github.com/users/i-like-robots/gists{/gist_id}","starred_url":"https://api.github.com/users/i-like-robots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-like-robots/subscriptions","organizations_url":"https://api.github.com/users/i-like-robots/orgs","repos_url":"https://api.github.com/users/i-like-robots/repos","events_url":"https://api.github.com/users/i-like-robots/events{/privacy}","received_events_url":"https://api.github.com/users/i-like-robots/received_events","type":"User","site_admin":false},"body":"I've also introduced query param validation which I will extract in a following PR. This is so we can display more helpful messaging in the help UI =]\r\n\r\n![screen shot 2016-11-08 at 12 39 32](https://cloud.githubusercontent.com/assets/271645/20099453/703cc04a-a5b0-11e6-9c4b-27a98ed06496.png)\r\n\r\n","created_at":"2016-11-08T12:34:34Z","updated_at":"2016-11-09T10:49:12Z","closed_at":"2016-11-09T10:49:12Z","merged_at":"2016-11-09T10:49:12Z","merge_commit_sha":"9c1ddca90b0d03cffcf94d8713abedd11a606bce","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Financial-Times/next-es-interface/milestones/3","html_url":"https://github.com/Financial-Times/next-es-interface/milestones/tech-debt","labels_url":"https://api.github.com/repos/Financial-Times/next-es-interface/milestones/3/labels","id":2092337,"number":3,"title":"tech-debt","description":null,"creator":{"login":"i-like-robots","id":271645,"avatar_url":"https://avatars.githubusercontent.com/u/271645?v=3","gravatar_id":"","url":"https://api.github.com/users/i-like-robots","html_url":"https://github.com/i-like-robots","followers_url":"https://api.github.com/users/i-like-robots/followers","following_url":"https://api.github.com/users/i-like-robots/following{/other_user}","gists_url":"https://api.github.com/users/i-like-robots/gists{/gist_id}","starred_url":"https://api.github.com/users/i-like-robots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-like-robots/subscriptions","organizations_url":"https://api.github.com/users/i-like-robots/orgs","repos_url":"https://api.github.com/users/i-like-robots/repos","events_url":"https://api.github.com/users/i-like-robots/events{/privacy}","received_events_url":"https://api.github.com/users/i-like-robots/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":18,"state":"open","created_at":"2016-10-25T14:17:11Z","updated_at":"2016-11-09T10:49:12Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/586/comments","statuses_url":"https://api.github.com/repos/Financial-Times/next-es-interface/statuses/46c8a190aab0d5205b70bfc29c6b2cd27f482170","head":{"label":"Financial-Times:matth/ids-spec","ref":"matth/ids-spec","sha":"46c8a190aab0d5205b70bfc29c6b2cd27f482170","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":26874532,"name":"next-es-interface","full_name":"Financial-Times/next-es-interface","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-es-interface","description":"Babysits Next's ElasticSearch clusters","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-es-interface","forks_url":"https://api.github.com/repos/Financial-Times/next-es-interface/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-es-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-es-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-es-interface/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-es-interface/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-es-interface/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-es-interface/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-es-interface/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-es-interface/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-es-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-es-interface/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-es-interface/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-es-interface/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-es-interface/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-es-interface/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-es-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-es-interface/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-es-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-es-interface/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-es-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-es-interface/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-es-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-es-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-es-interface/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-es-interface/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/deployments","created_at":"2014-11-19T18:09:48Z","updated_at":"2016-11-03T11:34:26Z","pushed_at":"2016-11-09T10:49:12Z","git_url":"git://github.com/Financial-Times/next-es-interface.git","ssh_url":"git@github.com:Financial-Times/next-es-interface.git","clone_url":"https://github.com/Financial-Times/next-es-interface.git","svn_url":"https://github.com/Financial-Times/next-es-interface","homepage":"","size":22443,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":27,"forks":0,"open_issues":27,"watchers":2,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"cda99d1ee19c12fc5a05de82cc2c7dc6491286b8","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":26874532,"name":"next-es-interface","full_name":"Financial-Times/next-es-interface","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/next-es-interface","description":"Babysits Next's ElasticSearch clusters","fork":false,"url":"https://api.github.com/repos/Financial-Times/next-es-interface","forks_url":"https://api.github.com/repos/Financial-Times/next-es-interface/forks","keys_url":"https://api.github.com/repos/Financial-Times/next-es-interface/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/next-es-interface/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/next-es-interface/teams","hooks_url":"https://api.github.com/repos/Financial-Times/next-es-interface/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/next-es-interface/events","assignees_url":"https://api.github.com/repos/Financial-Times/next-es-interface/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/next-es-interface/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/next-es-interface/tags","blobs_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/next-es-interface/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/next-es-interface/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/next-es-interface/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/next-es-interface/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/next-es-interface/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/next-es-interface/subscription","commits_url":"https://api.github.com/repos/Financial-Times/next-es-interface/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/next-es-interface/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/next-es-interface/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/next-es-interface/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/next-es-interface/merges","archive_url":"https://api.github.com/repos/Financial-Times/next-es-interface/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/next-es-interface/downloads","issues_url":"https://api.github.com/repos/Financial-Times/next-es-interface/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/next-es-interface/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/next-es-interface/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/next-es-interface/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/next-es-interface/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/next-es-interface/deployments","created_at":"2014-11-19T18:09:48Z","updated_at":"2016-11-03T11:34:26Z","pushed_at":"2016-11-09T10:49:12Z","git_url":"git://github.com/Financial-Times/next-es-interface.git","ssh_url":"git@github.com:Financial-Times/next-es-interface.git","clone_url":"https://github.com/Financial-Times/next-es-interface.git","svn_url":"https://github.com/Financial-Times/next-es-interface","homepage":"","size":22443,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":27,"forks":0,"open_issues":27,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586"},"html":{"href":"https://github.com/Financial-Times/next-es-interface/pull/586"},"issue":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/586"},"comments":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/issues/586/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/pulls/586/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/next-es-interface/statuses/46c8a190aab0d5205b70bfc29c6b2cd27f482170"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"i-like-robots","id":271645,"avatar_url":"https://avatars.githubusercontent.com/u/271645?v=3","gravatar_id":"","url":"https://api.github.com/users/i-like-robots","html_url":"https://github.com/i-like-robots","followers_url":"https://api.github.com/users/i-like-robots/followers","following_url":"https://api.github.com/users/i-like-robots/following{/other_user}","gists_url":"https://api.github.com/users/i-like-robots/gists{/gist_id}","starred_url":"https://api.github.com/users/i-like-robots/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/i-like-robots/subscriptions","organizations_url":"https://api.github.com/users/i-like-robots/orgs","repos_url":"https://api.github.com/users/i-like-robots/repos","events_url":"https://api.github.com/users/i-like-robots/events{/privacy}","received_events_url":"https://api.github.com/users/i-like-robots/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":4,"additions":333,"deletions":51,"changed_files":5}}
{"actor":{"display_login":"i-like-robots"}}