{"action":"closed","number":91,"pull_request":{"url":"https://api.github.com/repos/vdaubry/github-awards/pulls/91","id":52787223,"html_url":"https://github.com/vdaubry/github-awards/pull/91","diff_url":"https://github.com/vdaubry/github-awards/pull/91.diff","patch_url":"https://github.com/vdaubry/github-awards/pull/91.patch","issue_url":"https://api.github.com/repos/vdaubry/github-awards/issues/91","number":91,"state":"closed","locked":false,"title":"Adding documentation","user":{"login":"nunogoncalves","id":3007012,"avatar_url":"https://avatars.githubusercontent.com/u/3007012?v=3","gravatar_id":"","url":"https://api.github.com/users/nunogoncalves","html_url":"https://github.com/nunogoncalves","followers_url":"https://api.github.com/users/nunogoncalves/followers","following_url":"https://api.github.com/users/nunogoncalves/following{/other_user}","gists_url":"https://api.github.com/users/nunogoncalves/gists{/gist_id}","starred_url":"https://api.github.com/users/nunogoncalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nunogoncalves/subscriptions","organizations_url":"https://api.github.com/users/nunogoncalves/orgs","repos_url":"https://api.github.com/users/nunogoncalves/repos","events_url":"https://api.github.com/users/nunogoncalves/events{/privacy}","received_events_url":"https://api.github.com/users/nunogoncalves/received_events","type":"User","site_admin":false},"body":"This PR adds documentation to the api. \r\nThere's something I think we should do:\r\n\r\nIn the config/initializers/swagger_docs.rb file there's a line that is hard coded to the base path. \r\n\r\n:base_path => \"http://github-awards.com/\",\r\n\r\nI think it would be more prudent to have an env variable to set it. For example to distinguish dev envs and production. \r\n\r\nTry this out on your local env too. The documentation page should be able to make proper calls. :) ","created_at":"2015-12-06T18:55:23Z","updated_at":"2015-12-06T21:12:56Z","closed_at":"2015-12-06T21:12:56Z","merged_at":"2015-12-06T21:12:56Z","merge_commit_sha":"c5b3ccae9dc8de6bdb64666c37765c4b8e45d2e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/vdaubry/github-awards/pulls/91/commits","review_comments_url":"https://api.github.com/repos/vdaubry/github-awards/pulls/91/comments","review_comment_url":"https://api.github.com/repos/vdaubry/github-awards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vdaubry/github-awards/issues/91/comments","statuses_url":"https://api.github.com/repos/vdaubry/github-awards/statuses/5f04681608ec3382e40fb20604203f6606efdb60","head":{"label":"nunogoncalves:master","ref":"master","sha":"5f04681608ec3382e40fb20604203f6606efdb60","user":{"login":"nunogoncalves","id":3007012,"avatar_url":"https://avatars.githubusercontent.com/u/3007012?v=3","gravatar_id":"","url":"https://api.github.com/users/nunogoncalves","html_url":"https://github.com/nunogoncalves","followers_url":"https://api.github.com/users/nunogoncalves/followers","following_url":"https://api.github.com/users/nunogoncalves/following{/other_user}","gists_url":"https://api.github.com/users/nunogoncalves/gists{/gist_id}","starred_url":"https://api.github.com/users/nunogoncalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nunogoncalves/subscriptions","organizations_url":"https://api.github.com/users/nunogoncalves/orgs","repos_url":"https://api.github.com/users/nunogoncalves/repos","events_url":"https://api.github.com/users/nunogoncalves/events{/privacy}","received_events_url":"https://api.github.com/users/nunogoncalves/received_events","type":"User","site_admin":false},"repo":{"id":46589301,"name":"github-awards","full_name":"nunogoncalves/github-awards","owner":{"login":"nunogoncalves","id":3007012,"avatar_url":"https://avatars.githubusercontent.com/u/3007012?v=3","gravatar_id":"","url":"https://api.github.com/users/nunogoncalves","html_url":"https://github.com/nunogoncalves","followers_url":"https://api.github.com/users/nunogoncalves/followers","following_url":"https://api.github.com/users/nunogoncalves/following{/other_user}","gists_url":"https://api.github.com/users/nunogoncalves/gists{/gist_id}","starred_url":"https://api.github.com/users/nunogoncalves/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nunogoncalves/subscriptions","organizations_url":"https://api.github.com/users/nunogoncalves/orgs","repos_url":"https://api.github.com/users/nunogoncalves/repos","events_url":"https://api.github.com/users/nunogoncalves/events{/privacy}","received_events_url":"https://api.github.com/users/nunogoncalves/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nunogoncalves/github-awards","description":"Discover your ranking on github :","fork":true,"url":"https://api.github.com/repos/nunogoncalves/github-awards","forks_url":"https://api.github.com/repos/nunogoncalves/github-awards/forks","keys_url":"https://api.github.com/repos/nunogoncalves/github-awards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nunogoncalves/github-awards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nunogoncalves/github-awards/teams","hooks_url":"https://api.github.com/repos/nunogoncalves/github-awards/hooks","issue_events_url":"https://api.github.com/repos/nunogoncalves/github-awards/issues/events{/number}","events_url":"https://api.github.com/repos/nunogoncalves/github-awards/events","assignees_url":"https://api.github.com/repos/nunogoncalves/github-awards/assignees{/user}","branches_url":"https://api.github.com/repos/nunogoncalves/github-awards/branches{/branch}","tags_url":"https://api.github.com/repos/nunogoncalves/github-awards/tags","blobs_url":"https://api.github.com/repos/nunogoncalves/github-awards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nunogoncalves/github-awards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nunogoncalves/github-awards/git/refs{/sha}","trees_url":"https://api.github.com/repos/nunogoncalves/github-awards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nunogoncalves/github-awards/statuses/{sha}","languages_url":"https://api.github.com/repos/nunogoncalves/github-awards/languages","stargazers_url":"https://api.github.com/repos/nunogoncalves/github-awards/stargazers","contributors_url":"https://api.github.com/repos/nunogoncalves/github-awards/contributors","subscribers_url":"https://api.github.com/repos/nunogoncalves/github-awards/subscribers","subscription_url":"https://api.github.com/repos/nunogoncalves/github-awards/subscription","commits_url":"https://api.github.com/repos/nunogoncalves/github-awards/commits{/sha}","git_commits_url":"https://api.github.com/repos/nunogoncalves/github-awards/git/commits{/sha}","comments_url":"https://api.github.com/repos/nunogoncalves/github-awards/comments{/number}","issue_comment_url":"https://api.github.com/repos/nunogoncalves/github-awards/issues/comments{/number}","contents_url":"https://api.github.com/repos/nunogoncalves/github-awards/contents/{+path}","compare_url":"https://api.github.com/repos/nunogoncalves/github-awards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nunogoncalves/github-awards/merges","archive_url":"https://api.github.com/repos/nunogoncalves/github-awards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nunogoncalves/github-awards/downloads","issues_url":"https://api.github.com/repos/nunogoncalves/github-awards/issues{/number}","pulls_url":"https://api.github.com/repos/nunogoncalves/github-awards/pulls{/number}","milestones_url":"https://api.github.com/repos/nunogoncalves/github-awards/milestones{/number}","notifications_url":"https://api.github.com/repos/nunogoncalves/github-awards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nunogoncalves/github-awards/labels{/name}","releases_url":"https://api.github.com/repos/nunogoncalves/github-awards/releases{/id}","created_at":"2015-11-20T22:03:49Z","updated_at":"2015-12-06T18:51:08Z","pushed_at":"2015-12-06T18:51:06Z","git_url":"git://github.com/nunogoncalves/github-awards.git","ssh_url":"git@github.com:nunogoncalves/github-awards.git","clone_url":"https://github.com/nunogoncalves/github-awards.git","svn_url":"https://github.com/nunogoncalves/github-awards","homepage":"http://github-awards.com","size":2152,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"vdaubry:API","ref":"API","sha":"3eea0b9f5783412c937e8ead245899f2612eef37","user":{"login":"vdaubry","id":498298,"avatar_url":"https://avatars.githubusercontent.com/u/498298?v=3","gravatar_id":"","url":"https://api.github.com/users/vdaubry","html_url":"https://github.com/vdaubry","followers_url":"https://api.github.com/users/vdaubry/followers","following_url":"https://api.github.com/users/vdaubry/following{/other_user}","gists_url":"https://api.github.com/users/vdaubry/gists{/gist_id}","starred_url":"https://api.github.com/users/vdaubry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdaubry/subscriptions","organizations_url":"https://api.github.com/users/vdaubry/orgs","repos_url":"https://api.github.com/users/vdaubry/repos","events_url":"https://api.github.com/users/vdaubry/events{/privacy}","received_events_url":"https://api.github.com/users/vdaubry/received_events","type":"User","site_admin":false},"repo":{"id":29809978,"name":"github-awards","full_name":"vdaubry/github-awards","owner":{"login":"vdaubry","id":498298,"avatar_url":"https://avatars.githubusercontent.com/u/498298?v=3","gravatar_id":"","url":"https://api.github.com/users/vdaubry","html_url":"https://github.com/vdaubry","followers_url":"https://api.github.com/users/vdaubry/followers","following_url":"https://api.github.com/users/vdaubry/following{/other_user}","gists_url":"https://api.github.com/users/vdaubry/gists{/gist_id}","starred_url":"https://api.github.com/users/vdaubry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdaubry/subscriptions","organizations_url":"https://api.github.com/users/vdaubry/orgs","repos_url":"https://api.github.com/users/vdaubry/repos","events_url":"https://api.github.com/users/vdaubry/events{/privacy}","received_events_url":"https://api.github.com/users/vdaubry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vdaubry/github-awards","description":"Discover your ranking on github :","fork":false,"url":"https://api.github.com/repos/vdaubry/github-awards","forks_url":"https://api.github.com/repos/vdaubry/github-awards/forks","keys_url":"https://api.github.com/repos/vdaubry/github-awards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vdaubry/github-awards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vdaubry/github-awards/teams","hooks_url":"https://api.github.com/repos/vdaubry/github-awards/hooks","issue_events_url":"https://api.github.com/repos/vdaubry/github-awards/issues/events{/number}","events_url":"https://api.github.com/repos/vdaubry/github-awards/events","assignees_url":"https://api.github.com/repos/vdaubry/github-awards/assignees{/user}","branches_url":"https://api.github.com/repos/vdaubry/github-awards/branches{/branch}","tags_url":"https://api.github.com/repos/vdaubry/github-awards/tags","blobs_url":"https://api.github.com/repos/vdaubry/github-awards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vdaubry/github-awards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vdaubry/github-awards/git/refs{/sha}","trees_url":"https://api.github.com/repos/vdaubry/github-awards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vdaubry/github-awards/statuses/{sha}","languages_url":"https://api.github.com/repos/vdaubry/github-awards/languages","stargazers_url":"https://api.github.com/repos/vdaubry/github-awards/stargazers","contributors_url":"https://api.github.com/repos/vdaubry/github-awards/contributors","subscribers_url":"https://api.github.com/repos/vdaubry/github-awards/subscribers","subscription_url":"https://api.github.com/repos/vdaubry/github-awards/subscription","commits_url":"https://api.github.com/repos/vdaubry/github-awards/commits{/sha}","git_commits_url":"https://api.github.com/repos/vdaubry/github-awards/git/commits{/sha}","comments_url":"https://api.github.com/repos/vdaubry/github-awards/comments{/number}","issue_comment_url":"https://api.github.com/repos/vdaubry/github-awards/issues/comments{/number}","contents_url":"https://api.github.com/repos/vdaubry/github-awards/contents/{+path}","compare_url":"https://api.github.com/repos/vdaubry/github-awards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vdaubry/github-awards/merges","archive_url":"https://api.github.com/repos/vdaubry/github-awards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vdaubry/github-awards/downloads","issues_url":"https://api.github.com/repos/vdaubry/github-awards/issues{/number}","pulls_url":"https://api.github.com/repos/vdaubry/github-awards/pulls{/number}","milestones_url":"https://api.github.com/repos/vdaubry/github-awards/milestones{/number}","notifications_url":"https://api.github.com/repos/vdaubry/github-awards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vdaubry/github-awards/labels{/name}","releases_url":"https://api.github.com/repos/vdaubry/github-awards/releases{/id}","created_at":"2015-01-25T10:08:58Z","updated_at":"2015-12-06T09:13:47Z","pushed_at":"2015-12-06T21:12:56Z","git_url":"git://github.com/vdaubry/github-awards.git","ssh_url":"git@github.com:vdaubry/github-awards.git","clone_url":"https://github.com/vdaubry/github-awards.git","svn_url":"https://github.com/vdaubry/github-awards","homepage":"http://github-awards.com","size":2166,"stargazers_count":556,"watchers_count":556,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":52,"mirror_url":null,"open_issues_count":7,"forks":52,"open_issues":7,"watchers":556,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vdaubry/github-awards/pulls/91"},"html":{"href":"https://github.com/vdaubry/github-awards/pull/91"},"issue":{"href":"https://api.github.com/repos/vdaubry/github-awards/issues/91"},"comments":{"href":"https://api.github.com/repos/vdaubry/github-awards/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/vdaubry/github-awards/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/vdaubry/github-awards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vdaubry/github-awards/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/vdaubry/github-awards/statuses/5f04681608ec3382e40fb20604203f6606efdb60"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"vdaubry","id":498298,"avatar_url":"https://avatars.githubusercontent.com/u/498298?v=3","gravatar_id":"","url":"https://api.github.com/users/vdaubry","html_url":"https://github.com/vdaubry","followers_url":"https://api.github.com/users/vdaubry/followers","following_url":"https://api.github.com/users/vdaubry/following{/other_user}","gists_url":"https://api.github.com/users/vdaubry/gists{/gist_id}","starred_url":"https://api.github.com/users/vdaubry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vdaubry/subscriptions","organizations_url":"https://api.github.com/users/vdaubry/orgs","repos_url":"https://api.github.com/users/vdaubry/repos","events_url":"https://api.github.com/users/vdaubry/events{/privacy}","received_events_url":"https://api.github.com/users/vdaubry/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":0,"deletions":0,"changed_files":0}}