{"action":"created","issue":{"url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/166","repository_url":"https://api.github.com/repos/jekyll/jekyll-admin","labels_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/166/comments","events_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/166/events","html_url":"https://github.com/jekyll/jekyll-admin/pull/166","id":172486850,"number":166,"title":"Create new URLable module to include API URL and HTTP URLs in each response","user":{"login":"benbalter","id":282759,"avatar_url":"https://avatars.githubusercontent.com/u/282759?v=3","gravatar_id":"","url":"https://api.github.com/users/benbalter","html_url":"https://github.com/benbalter","followers_url":"https://api.github.com/users/benbalter/followers","following_url":"https://api.github.com/users/benbalter/following{/other_user}","gists_url":"https://api.github.com/users/benbalter/gists{/gist_id}","starred_url":"https://api.github.com/users/benbalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbalter/subscriptions","organizations_url":"https://api.github.com/users/benbalter/orgs","repos_url":"https://api.github.com/users/benbalter/repos","events_url":"https://api.github.com/users/benbalter/events{/privacy}","received_events_url":"https://api.github.com/users/benbalter/received_events","type":"User","site_admin":true},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-22T15:46:49Z","updated_at":"2016-08-22T18:30:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jekyll/jekyll-admin/pulls/166","html_url":"https://github.com/jekyll/jekyll-admin/pull/166","diff_url":"https://github.com/jekyll/jekyll-admin/pull/166.diff","patch_url":"https://github.com/jekyll/jekyll-admin/pull/166.patch"},"body":"This creates a new URLable module, that gets included in all response classes to provide `http_url` and `api_url` fields (and tests to ensure they're valid for all associated resources).\r\n\r\n* `http_url` - Absolute URL to the HTTP(S) rendered/served representation of this resource (e.g., what you're put in your browser to see the thing.\r\n\r\n* `api_url` - Absolute URL to the API representation of this resource (e.g., the API endpoint for that thing).\r\n\r\nThis is a partial fix for https://github.com/jekyll/jekyll-admin/issues/164, with the idea being that the front end would use `http_url` (the absolute URL) rather than `url` (Jekyll's internal representation of the path to the object relative to the base url) when linking to resources. \r\n\r\nThis PR should also resolve port issues from the test server, as the URL contains the local serve's port, as retrieved from the site config.\r\n"},"comment":{"url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/comments/241505967","html_url":"https://github.com/jekyll/jekyll-admin/pull/166#issuecomment-241505967","issue_url":"https://api.github.com/repos/jekyll/jekyll-admin/issues/166","id":241505967,"user":{"login":"mertkahyaoglu","id":7414026,"avatar_url":"https://avatars.githubusercontent.com/u/7414026?v=3","gravatar_id":"","url":"https://api.github.com/users/mertkahyaoglu","html_url":"https://github.com/mertkahyaoglu","followers_url":"https://api.github.com/users/mertkahyaoglu/followers","following_url":"https://api.github.com/users/mertkahyaoglu/following{/other_user}","gists_url":"https://api.github.com/users/mertkahyaoglu/gists{/gist_id}","starred_url":"https://api.github.com/users/mertkahyaoglu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mertkahyaoglu/subscriptions","organizations_url":"https://api.github.com/users/mertkahyaoglu/orgs","repos_url":"https://api.github.com/users/mertkahyaoglu/repos","events_url":"https://api.github.com/users/mertkahyaoglu/events{/privacy}","received_events_url":"https://api.github.com/users/mertkahyaoglu/received_events","type":"User","site_admin":false},"created_at":"2016-08-22T18:30:53Z","updated_at":"2016-08-22T18:30:53Z","body":"Tested locally and it works great. What about excluding `url` ? I guess we don't need it anymore."}}
{"actor":{"display_login":"mertkahyaoglu"}}