{"action":"created","issue":{"url":"https://api.github.com/repos/timothycrosley/hug/issues/353","repository_url":"https://api.github.com/repos/timothycrosley/hug","labels_url":"https://api.github.com/repos/timothycrosley/hug/issues/353/labels{/name}","comments_url":"https://api.github.com/repos/timothycrosley/hug/issues/353/comments","events_url":"https://api.github.com/repos/timothycrosley/hug/issues/353/events","html_url":"https://github.com/timothycrosley/hug/pull/353","id":169492771,"number":353,"title":"Same endpoint path under different base URLs","user":{"login":"gemedet","id":2329661,"avatar_url":"https://avatars.githubusercontent.com/u/2329661?v=3","gravatar_id":"","url":"https://api.github.com/users/gemedet","html_url":"https://github.com/gemedet","followers_url":"https://api.github.com/users/gemedet/followers","following_url":"https://api.github.com/users/gemedet/following{/other_user}","gists_url":"https://api.github.com/users/gemedet/gists{/gist_id}","starred_url":"https://api.github.com/users/gemedet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemedet/subscriptions","organizations_url":"https://api.github.com/users/gemedet/orgs","repos_url":"https://api.github.com/users/gemedet/repos","events_url":"https://api.github.com/users/gemedet/events{/privacy}","received_events_url":"https://api.github.com/users/gemedet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-04T22:57:34Z","updated_at":"2016-08-04T23:00:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/timothycrosley/hug/pulls/353","html_url":"https://github.com/timothycrosley/hug/pull/353","diff_url":"https://github.com/timothycrosley/hug/pull/353.diff","patch_url":"https://github.com/timothycrosley/hug/pull/353.patch"},"body":"Following #350, this PR allows an imported API to define an endpoint with the same URL path, as long as its base URL is different. This is accomplished by changing how `HTTPInterfaceAPI.routes` is stored. Instead of:\r\n```python\r\n{\r\n    \"/echo\": {\"GET\": {...}}\r\n}\r\n```\r\nIt adds another level:\r\n```python\r\n{\r\n    \"/foo_api\": {\r\n        \"/echo\": {\"GET\": {...}}\r\n    },\r\n    \"/bar_api\": {\r\n        \"/echo\": {\"GET\": {...}}\r\n    }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/timothycrosley/hug/issues/comments/237711006","html_url":"https://github.com/timothycrosley/hug/pull/353#issuecomment-237711006","issue_url":"https://api.github.com/repos/timothycrosley/hug/issues/353","id":237711006,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T23:00:23Z","updated_at":"2016-08-04T23:00:23Z","body":"\n[![Coverage Status](https://coveralls.io/builds/7314532/badge)](https://coveralls.io/builds/7314532)\n\nCoverage remained the same at 100.0% when pulling **2341370ccfe72b3b753831424b10056aa0d498b5 on gemedet:baseurl** into **0d33bb089f8aab0181a0a142fa98efc0bd56e387 on timothycrosley:develop**.\n"}}
{"actor":{"display_login":"coveralls"}}