{"action":"created","comment":{"url":"https://api.github.com/repos/pelias/api/pulls/comments/38677533","id":38677533,"diff_hunk":"@@ -1,36 +1,91 @@\n+var Router = require('express').Router;\n+var reverseQuery = require('../query/reverse');\n+\n /** ----------------------- sanitisers ----------------------- **/\n-var sanitisers = {};\n-sanitisers.place      = require('../sanitiser/place');\n-sanitisers.suggest  = require('../sanitiser/suggest');\n-sanitisers.search   = require('../sanitiser/search');\n-sanitisers.coarse   = require('../sanitiser/coarse');\n-sanitisers.reverse  = require('../sanitiser/reverse');\n+var sanitisers = {\n+  place: require('../sanitiser/place'),\n+  search: require('../sanitiser/search'),\n+  reverse: require('../sanitiser/reverse')\n+};\n \n /** ----------------------- controllers ----------------------- **/\n \n-var controllers     = {};\n-controllers.index   = require('../controller/index');\n-controllers.place     = require('../controller/place');\n-controllers.search  = require('../controller/search');\n+var controllers     = {\n+  index: require('../controller/index'),\n+  place: require('../controller/place'),\n+  search: require('../controller/search')\n+};\n+\n+/** ----------------------- controllers ----------------------- **/\n \n+var postProc = {\n+  renamePlacenames: require('../middleware/renamePlacenames'),\n+  geocodeJSON: require('../middleware/geocodeJSON'),\n+  sendJSON: require('../middleware/sendJSON')\n+};\n+\n+/**\n+ * Append routes to app\n+ *\n+ * @param {object} app\n+ * @param {object} peliasConfig\n+ */\n function addRoutes(app, peliasConfig) {\n-  // api root\n-  app.get( '/v1/', controllers.index() );\n \n-  // place API\n-  app.get( '/v1/place', sanitisers.place.middleware, controllers.place() );\n+  /** ------------------------- routers ------------------------- **/\n \n-  // suggest APIs\n-  app.get( '/v1/suggest', sanitisers.search.middleware, controllers.search() );\n-  app.get( '/v1/suggest/nearby', sanitisers.suggest.middleware, controllers.search() );\n-  app.get( '/v1/suggest/coarse', sanitisers.coarse.middleware, controllers.search() );\n+  var routers = {\n+    index: createRouter([\n+      controllers.index()\n+    ]),\n+    search: createRouter([\n+      sanitisers.search.middleware,\n+      controllers.search(),\n+      postProc.renamePlacenames(),\n+      postProc.geocodeJSON(peliasConfig),\n+      postProc.sendJSON\n+    ]),\n+    reverse: createRouter([\n+      sanitisers.reverse.middleware,\n+      controllers.search(undefined, reverseQuery),\n+      postProc.renamePlacenames(),\n+      postProc.geocodeJSON(peliasConfig),\n+      postProc.sendJSON\n+    ]),\n+    place: createRouter([\n+      sanitisers.place.middleware,\n+      controllers.place(),\n+      postProc.renamePlacenames(),\n+      postProc.geocodeJSON(peliasConfig),\n+      postProc.sendJSON\n+    ])\n+  };\n \n-  // search APIs\n-  app.get( '/v1/search', sanitisers.search.middleware, controllers.search() );\n-  app.get( '/v1/search/coarse', sanitisers.coarse.middleware, controllers.search() );","path":"routes/v1.js","position":84,"original_position":84,"commit_id":"2b9fbdfd102eefe70cc9ee00ad71988b2f0f4f1d","original_commit_id":"2b9fbdfd102eefe70cc9ee00ad71988b2f0f4f1d","user":{"login":"orangejulius","id":111716,"avatar_url":"https://avatars.githubusercontent.com/u/111716?v=3","gravatar_id":"","url":"https://api.github.com/users/orangejulius","html_url":"https://github.com/orangejulius","followers_url":"https://api.github.com/users/orangejulius/followers","following_url":"https://api.github.com/users/orangejulius/following{/other_user}","gists_url":"https://api.github.com/users/orangejulius/gists{/gist_id}","starred_url":"https://api.github.com/users/orangejulius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orangejulius/subscriptions","organizations_url":"https://api.github.com/users/orangejulius/orgs","repos_url":"https://api.github.com/users/orangejulius/repos","events_url":"https://api.github.com/users/orangejulius/events{/privacy}","received_events_url":"https://api.github.com/users/orangejulius/received_events","type":"User","site_admin":false},"body":"So this change also removes the coarse endpoint? Excellent","created_at":"2015-09-03T18:11:25Z","updated_at":"2015-09-03T18:11:25Z","html_url":"https://github.com/pelias/api/pull/210#discussion_r38677533","pull_request_url":"https://api.github.com/repos/pelias/api/pulls/210","_links":{"self":{"href":"https://api.github.com/repos/pelias/api/pulls/comments/38677533"},"html":{"href":"https://github.com/pelias/api/pull/210#discussion_r38677533"},"pull_request":{"href":"https://api.github.com/repos/pelias/api/pulls/210"}}},"pull_request":{"url":"https://api.github.com/repos/pelias/api/pulls/210","id":43836878,"html_url":"https://github.com/pelias/api/pull/210","diff_url":"https://github.com/pelias/api/pull/210.diff","patch_url":"https://github.com/pelias/api/pull/210.patch","issue_url":"https://api.github.com/repos/pelias/api/issues/210","number":210,"state":"open","locked":false,"title":"Refactor responses to match geocodejson spec","user":{"login":"dianashk","id":5446511,"avatar_url":"https://avatars.githubusercontent.com/u/5446511?v=3","gravatar_id":"","url":"https://api.github.com/users/dianashk","html_url":"https://github.com/dianashk","followers_url":"https://api.github.com/users/dianashk/followers","following_url":"https://api.github.com/users/dianashk/following{/other_user}","gists_url":"https://api.github.com/users/dianashk/gists{/gist_id}","starred_url":"https://api.github.com/users/dianashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianashk/subscriptions","organizations_url":"https://api.github.com/users/dianashk/orgs","repos_url":"https://api.github.com/users/dianashk/repos","events_url":"https://api.github.com/users/dianashk/events{/privacy}","received_events_url":"https://api.github.com/users/dianashk/received_events","type":"User","site_admin":false},"body":"Fixes pelias/api#201\n\nFor a request such as \n> http://pelias.mapzen.com/search?input=samsung%20accelerator&size=2\n\nResponses went from this: \n\n```javascript\n{\n  \"type\":\"FeatureCollection\",\n  \"features\":[\n    {\n      \"type\":\"Feature\",\n      \"properties\":{\n        \"id\":\"2688438317\",\n        \"layer\":\"osmnode\",\n        \"name\":\"Samsung Accelerator\",\n        \"alpha3\":\"USA\",\n        \"admin0\":\"United States\",\n        \"admin1\":\"New York\",\n        \"admin1_abbr\":\"NY\",\n        \"admin2\":\"New York County\",\n        \"local_admin\":\"Manhattan\",\n        \"locality\":\"New York\",\n        \"neighborhood\":\"Flatiron District\",\n        \"category\":[\n\n        ],\n        \"address\":{\n          \"zip\":\"10010\",\n          \"number\":\"30\",\n          \"street\":\"West 26th Street\"\n        },\n        \"text\":\"Samsung Accelerator, Manhattan, NY\"\n      },\n      \"geometry\":{\n        \"type\":\"Point\",\n        \"coordinates\":[\n          -73.990342,\n          40.744243\n        ]\n      }\n    },\n    {\n      \"type\":\"Feature\",\n      \"properties\":{\n        \"id\":\"257190553\",\n        \"layer\":\"osmway\",\n        \"name\":\"Accelerator\",\n        \"alpha3\":\"USA\",\n        \"admin0\":\"United States\",\n        \"admin1\":\"Idaho\",\n        \"admin1_abbr\":\"ID\",\n        \"admin2\":\"Blaine County\",\n        \"locality\":\"Sun Valley\",\n        \"category\":[\n          \"transport\"\n        ],\n        \"address\":{\n\n        },\n        \"text\":\"Accelerator, Sun Valley, ID\"\n      },\n      \"geometry\":{\n        \"type\":\"Point\",\n        \"coordinates\":[\n          -114.347904,\n          43.68922\n        ]\n      }\n    }\n  ],\n  \"bbox\":[\n    -114.347904,\n    40.744243,\n    -73.990342,\n    43.68922\n  ],\n  \"date\":1441082272781\n}\n```\nto this:\n\n```javascript\n{\n  \"geocoding\":{\n    \"version\":\"0.1\",\n    \"license\":\"undefined/license\",\n    \"attribution\":\"undefined/attribution\",\n    \"query\":{\n      \"input\":\"samsung accelerator\",\n      \"parsed_input\":{\n        \"target_layer\":[\n          \"geoname\",\n          \"osmnode\",\n          \"osmway\",\n          \"admin0\",\n          \"admin1\",\n          \"admin2\",\n          \"neighborhood\",\n          \"locality\",\n          \"local_admin\"\n        ]\n      },\n      \"size\":2,\n      \"default_layers_set\":true,\n      \"layers\":[\n        \"geoname\",\n        \"osmnode\",\n        \"osmway\",\n        \"admin0\",\n        \"admin1\",\n        \"admin2\",\n        \"neighborhood\",\n        \"locality\",\n        \"local_admin\",\n        \"osmaddress\",\n        \"openaddresses\"\n      ],\n      \"details\":true\n    },\n    \"engine\":{\n      \"name\":\"Pelias\",\n      \"author\":\"Mapzen\"\n    },\n    \"timestamp\":1441082453784\n  },\n  \"type\":\"FeatureCollection\",\n  \"features\":[\n    {\n      \"type\":\"Feature\",\n      \"properties\":{\n        \"geocoding\":{\n          \"id\":\"2688438317\",\n          \"type\":\"venue\",\n          \"source\":\"osm\",\n          \"name\":\"Samsung Accelerator\",\n          \"housenumber\":\"30\",\n          \"street\":\"West 26th Street\",\n          \"category\":[\n\n          ],\n          \"postalcode\":\"10010\",\n          \"country_a\":\"USA\",\n          \"country\":\"United States\",\n          \"region\":\"New York\",\n          \"region_a\":\"NY\",\n          \"county\":\"New York County\",\n          \"localadmin\":\"Manhattan\",\n          \"locality\":\"New York\",\n          \"neighbourhood\":\"Flatiron District\",\n          \"label\":\"Samsung Accelerator, Manhattan, NY\"\n        }\n      },\n      \"geometry\":{\n        \"type\":\"Point\",\n        \"coordinates\":[\n          -73.990342,\n          40.744243\n        ]\n      }\n    },\n    {\n      \"type\":\"Feature\",\n      \"properties\":{\n        \"geocoding\":{\n          \"id\":\"54229742\",\n          \"type\":\"venue\",\n          \"source\":\"osm\",\n          \"name\":\"Accelerator\",\n          \"category\":[\n\n          ],\n          \"country_a\":\"NOR\",\n          \"country\":\"Norway\",\n          \"region\":\"Oslo\",\n          \"county\":\"Bydel Grorud\",\n          \"locality\":\"Oslo\",\n          \"neighbourhood\":\"Ammerud\",\n          \"label\":\"Accelerator, Oslo\"\n        }\n      },\n      \"geometry\":{\n        \"type\":\"Point\",\n        \"coordinates\":[\n          10.852097,\n          59.950827\n        ]\n      }\n    }\n  ],\n  \"bbox\":[\n    -73.990342,\n    40.744243,\n    10.852097,\n    59.950827\n  ]\n}\n```","created_at":"2015-09-01T04:43:03Z","updated_at":"2015-09-03T18:11:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2730f72fbe573f289d78adf3eccc7e960ac227be","assignee":{"login":"dianashk","id":5446511,"avatar_url":"https://avatars.githubusercontent.com/u/5446511?v=3","gravatar_id":"","url":"https://api.github.com/users/dianashk","html_url":"https://github.com/dianashk","followers_url":"https://api.github.com/users/dianashk/followers","following_url":"https://api.github.com/users/dianashk/following{/other_user}","gists_url":"https://api.github.com/users/dianashk/gists{/gist_id}","starred_url":"https://api.github.com/users/dianashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianashk/subscriptions","organizations_url":"https://api.github.com/users/dianashk/orgs","repos_url":"https://api.github.com/users/dianashk/repos","events_url":"https://api.github.com/users/dianashk/events{/privacy}","received_events_url":"https://api.github.com/users/dianashk/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pelias/api/milestones/6","html_url":"https://github.com/pelias/api/milestones/Pelias%20v1.0.0","labels_url":"https://api.github.com/repos/pelias/api/milestones/6/labels","id":1095725,"number":6,"title":"Pelias v1.0.0","description":"see pelias/pelias milestones for details","creator":{"login":"dianashk","id":5446511,"avatar_url":"https://avatars.githubusercontent.com/u/5446511?v=3","gravatar_id":"","url":"https://api.github.com/users/dianashk","html_url":"https://github.com/dianashk","followers_url":"https://api.github.com/users/dianashk/followers","following_url":"https://api.github.com/users/dianashk/following{/other_user}","gists_url":"https://api.github.com/users/dianashk/gists{/gist_id}","starred_url":"https://api.github.com/users/dianashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianashk/subscriptions","organizations_url":"https://api.github.com/users/dianashk/orgs","repos_url":"https://api.github.com/users/dianashk/repos","events_url":"https://api.github.com/users/dianashk/events{/privacy}","received_events_url":"https://api.github.com/users/dianashk/received_events","type":"User","site_admin":false},"open_issues":27,"closed_issues":27,"state":"open","created_at":"2015-05-04T20:07:51Z","updated_at":"2015-09-02T19:16:51Z","due_on":"2015-09-21T04:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/pelias/api/pulls/210/commits","review_comments_url":"https://api.github.com/repos/pelias/api/pulls/210/comments","review_comment_url":"https://api.github.com/repos/pelias/api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pelias/api/issues/210/comments","statuses_url":"https://api.github.com/repos/pelias/api/statuses/2b9fbdfd102eefe70cc9ee00ad71988b2f0f4f1d","head":{"label":"pelias:responses","ref":"responses","sha":"2b9fbdfd102eefe70cc9ee00ad71988b2f0f4f1d","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":23627382,"name":"api","full_name":"pelias/api","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/api","description":"HTTP API for Pelias Geocoder","fork":false,"url":"https://api.github.com/repos/pelias/api","forks_url":"https://api.github.com/repos/pelias/api/forks","keys_url":"https://api.github.com/repos/pelias/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelias/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelias/api/teams","hooks_url":"https://api.github.com/repos/pelias/api/hooks","issue_events_url":"https://api.github.com/repos/pelias/api/issues/events{/number}","events_url":"https://api.github.com/repos/pelias/api/events","assignees_url":"https://api.github.com/repos/pelias/api/assignees{/user}","branches_url":"https://api.github.com/repos/pelias/api/branches{/branch}","tags_url":"https://api.github.com/repos/pelias/api/tags","blobs_url":"https://api.github.com/repos/pelias/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelias/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelias/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelias/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelias/api/statuses/{sha}","languages_url":"https://api.github.com/repos/pelias/api/languages","stargazers_url":"https://api.github.com/repos/pelias/api/stargazers","contributors_url":"https://api.github.com/repos/pelias/api/contributors","subscribers_url":"https://api.github.com/repos/pelias/api/subscribers","subscription_url":"https://api.github.com/repos/pelias/api/subscription","commits_url":"https://api.github.com/repos/pelias/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelias/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelias/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelias/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelias/api/contents/{+path}","compare_url":"https://api.github.com/repos/pelias/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelias/api/merges","archive_url":"https://api.github.com/repos/pelias/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelias/api/downloads","issues_url":"https://api.github.com/repos/pelias/api/issues{/number}","pulls_url":"https://api.github.com/repos/pelias/api/pulls{/number}","milestones_url":"https://api.github.com/repos/pelias/api/milestones{/number}","notifications_url":"https://api.github.com/repos/pelias/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelias/api/labels{/name}","releases_url":"https://api.github.com/repos/pelias/api/releases{/id}","created_at":"2014-09-03T16:06:04Z","updated_at":"2015-08-27T19:37:55Z","pushed_at":"2015-09-03T14:45:00Z","git_url":"git://github.com/pelias/api.git","ssh_url":"git@github.com:pelias/api.git","clone_url":"https://github.com/pelias/api.git","svn_url":"https://github.com/pelias/api","homepage":"","size":2405,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":60,"forks":10,"open_issues":60,"watchers":26,"default_branch":"master"}},"base":{"label":"pelias:master","ref":"master","sha":"3b5fd79102feb02c9b6d2fd2abb82964cf7c55f6","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":23627382,"name":"api","full_name":"pelias/api","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/api","description":"HTTP API for Pelias Geocoder","fork":false,"url":"https://api.github.com/repos/pelias/api","forks_url":"https://api.github.com/repos/pelias/api/forks","keys_url":"https://api.github.com/repos/pelias/api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pelias/api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pelias/api/teams","hooks_url":"https://api.github.com/repos/pelias/api/hooks","issue_events_url":"https://api.github.com/repos/pelias/api/issues/events{/number}","events_url":"https://api.github.com/repos/pelias/api/events","assignees_url":"https://api.github.com/repos/pelias/api/assignees{/user}","branches_url":"https://api.github.com/repos/pelias/api/branches{/branch}","tags_url":"https://api.github.com/repos/pelias/api/tags","blobs_url":"https://api.github.com/repos/pelias/api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pelias/api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pelias/api/git/refs{/sha}","trees_url":"https://api.github.com/repos/pelias/api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pelias/api/statuses/{sha}","languages_url":"https://api.github.com/repos/pelias/api/languages","stargazers_url":"https://api.github.com/repos/pelias/api/stargazers","contributors_url":"https://api.github.com/repos/pelias/api/contributors","subscribers_url":"https://api.github.com/repos/pelias/api/subscribers","subscription_url":"https://api.github.com/repos/pelias/api/subscription","commits_url":"https://api.github.com/repos/pelias/api/commits{/sha}","git_commits_url":"https://api.github.com/repos/pelias/api/git/commits{/sha}","comments_url":"https://api.github.com/repos/pelias/api/comments{/number}","issue_comment_url":"https://api.github.com/repos/pelias/api/issues/comments{/number}","contents_url":"https://api.github.com/repos/pelias/api/contents/{+path}","compare_url":"https://api.github.com/repos/pelias/api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pelias/api/merges","archive_url":"https://api.github.com/repos/pelias/api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pelias/api/downloads","issues_url":"https://api.github.com/repos/pelias/api/issues{/number}","pulls_url":"https://api.github.com/repos/pelias/api/pulls{/number}","milestones_url":"https://api.github.com/repos/pelias/api/milestones{/number}","notifications_url":"https://api.github.com/repos/pelias/api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pelias/api/labels{/name}","releases_url":"https://api.github.com/repos/pelias/api/releases{/id}","created_at":"2014-09-03T16:06:04Z","updated_at":"2015-08-27T19:37:55Z","pushed_at":"2015-09-03T14:45:00Z","git_url":"git://github.com/pelias/api.git","ssh_url":"git@github.com:pelias/api.git","clone_url":"https://github.com/pelias/api.git","svn_url":"https://github.com/pelias/api","homepage":"","size":2405,"stargazers_count":26,"watchers_count":26,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":60,"forks":10,"open_issues":60,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pelias/api/pulls/210"},"html":{"href":"https://github.com/pelias/api/pull/210"},"issue":{"href":"https://api.github.com/repos/pelias/api/issues/210"},"comments":{"href":"https://api.github.com/repos/pelias/api/issues/210/comments"},"review_comments":{"href":"https://api.github.com/repos/pelias/api/pulls/210/comments"},"review_comment":{"href":"https://api.github.com/repos/pelias/api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pelias/api/pulls/210/commits"},"statuses":{"href":"https://api.github.com/repos/pelias/api/statuses/2b9fbdfd102eefe70cc9ee00ad71988b2f0f4f1d"}}}}