{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/helios/pulls/comments/42259758","id":42259758,"diff_hunk":"@@ -327,3 +330,12 @@ func (controller *UsersController) forceLogoutAllSessions(w http.ResponseWriter,\n \t\tutils.NoContent().Write(w)\n \t}\n }\n+\n+func (controller *UsersController) forcedTokenGenerationHandler(w http.ResponseWriter, r *http.Request, params map[string]string) {","path":"controllers/users_controller.go","position":null,"original_position":15,"commit_id":"326837597e80113682a31a6dcdb67dcc09c2effe","original_commit_id":"a87f2fa2be614fc73f480481340804115098eb9d","user":{"login":"nmonterroso","id":325800,"avatar_url":"https://avatars.githubusercontent.com/u/325800?v=3","gravatar_id":"","url":"https://api.github.com/users/nmonterroso","html_url":"https://github.com/nmonterroso","followers_url":"https://api.github.com/users/nmonterroso/followers","following_url":"https://api.github.com/users/nmonterroso/following{/other_user}","gists_url":"https://api.github.com/users/nmonterroso/gists{/gist_id}","starred_url":"https://api.github.com/users/nmonterroso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmonterroso/subscriptions","organizations_url":"https://api.github.com/users/nmonterroso/orgs","repos_url":"https://api.github.com/users/nmonterroso/repos","events_url":"https://api.github.com/users/nmonterroso/events{/privacy}","received_events_url":"https://api.github.com/users/nmonterroso/received_events","type":"User","site_admin":false},"body":"3268375","created_at":"2015-10-16T16:10:10Z","updated_at":"2015-10-16T16:10:10Z","html_url":"https://github.com/Wikia/helios/pull/133#discussion_r42259758","pull_request_url":"https://api.github.com/repos/Wikia/helios/pulls/133","_links":{"self":{"href":"https://api.github.com/repos/Wikia/helios/pulls/comments/42259758"},"html":{"href":"https://github.com/Wikia/helios/pull/133#discussion_r42259758"},"pull_request":{"href":"https://api.github.com/repos/Wikia/helios/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/helios/pulls/133","id":47838314,"html_url":"https://github.com/Wikia/helios/pull/133","diff_url":"https://github.com/Wikia/helios/pull/133.diff","patch_url":"https://github.com/Wikia/helios/pull/133.patch","issue_url":"https://api.github.com/repos/Wikia/helios/issues/133","number":133,"state":"open","locked":false,"title":"adding resource to generate an access token","user":{"login":"nmonterroso","id":325800,"avatar_url":"https://avatars.githubusercontent.com/u/325800?v=3","gravatar_id":"","url":"https://api.github.com/users/nmonterroso","html_url":"https://github.com/nmonterroso","followers_url":"https://api.github.com/users/nmonterroso/followers","following_url":"https://api.github.com/users/nmonterroso/following{/other_user}","gists_url":"https://api.github.com/users/nmonterroso/gists{/gist_id}","starred_url":"https://api.github.com/users/nmonterroso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmonterroso/subscriptions","organizations_url":"https://api.github.com/users/nmonterroso/orgs","repos_url":"https://api.github.com/users/nmonterroso/repos","events_url":"https://api.github.com/users/nmonterroso/events{/privacy}","received_events_url":"https://api.github.com/users/nmonterroso/received_events","type":"User","site_admin":false},"body":"@Wikia/services-team \r\nhttps://wikia-inc.atlassian.net/browse/SERVICES-893\r\n\r\nAdding `POST /users/{userId}/tokens` resource, ~~which needs to be authenticated with `THE-SCHWARTZ`~~, and will generate an access token for the specified `userId`\r\n","created_at":"2015-10-15T20:37:51Z","updated_at":"2015-10-16T16:10:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e77e7526df7ff6f25905f826ea0635422d8a19f7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/helios/pulls/133/commits","review_comments_url":"https://api.github.com/repos/Wikia/helios/pulls/133/comments","review_comment_url":"https://api.github.com/repos/Wikia/helios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/helios/issues/133/comments","statuses_url":"https://api.github.com/repos/Wikia/helios/statuses/326837597e80113682a31a6dcdb67dcc09c2effe","head":{"label":"Wikia:SERVICES-893","ref":"SERVICES-893","sha":"326837597e80113682a31a6dcdb67dcc09c2effe","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26176918,"name":"helios","full_name":"Wikia/helios","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/helios","description":"Provides user authentication and account creation","fork":false,"url":"https://api.github.com/repos/Wikia/helios","forks_url":"https://api.github.com/repos/Wikia/helios/forks","keys_url":"https://api.github.com/repos/Wikia/helios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/helios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/helios/teams","hooks_url":"https://api.github.com/repos/Wikia/helios/hooks","issue_events_url":"https://api.github.com/repos/Wikia/helios/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/helios/events","assignees_url":"https://api.github.com/repos/Wikia/helios/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/helios/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/helios/tags","blobs_url":"https://api.github.com/repos/Wikia/helios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/helios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/helios/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/helios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/helios/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/helios/languages","stargazers_url":"https://api.github.com/repos/Wikia/helios/stargazers","contributors_url":"https://api.github.com/repos/Wikia/helios/contributors","subscribers_url":"https://api.github.com/repos/Wikia/helios/subscribers","subscription_url":"https://api.github.com/repos/Wikia/helios/subscription","commits_url":"https://api.github.com/repos/Wikia/helios/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/helios/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/helios/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/helios/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/helios/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/helios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/helios/merges","archive_url":"https://api.github.com/repos/Wikia/helios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/helios/downloads","issues_url":"https://api.github.com/repos/Wikia/helios/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/helios/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/helios/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/helios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/helios/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/helios/releases{/id}","created_at":"2014-11-04T16:12:05Z","updated_at":"2015-09-04T22:49:33Z","pushed_at":"2015-10-16T16:10:08Z","git_url":"git://github.com/Wikia/helios.git","ssh_url":"git@github.com:Wikia/helios.git","clone_url":"https://github.com/Wikia/helios.git","svn_url":"https://github.com/Wikia/helios","homepage":"","size":3540,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":7,"default_branch":"master"}},"base":{"label":"Wikia:master","ref":"master","sha":"9f442e88822172ef891324f4fd59c46af28afcfb","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26176918,"name":"helios","full_name":"Wikia/helios","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/helios","description":"Provides user authentication and account creation","fork":false,"url":"https://api.github.com/repos/Wikia/helios","forks_url":"https://api.github.com/repos/Wikia/helios/forks","keys_url":"https://api.github.com/repos/Wikia/helios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/helios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/helios/teams","hooks_url":"https://api.github.com/repos/Wikia/helios/hooks","issue_events_url":"https://api.github.com/repos/Wikia/helios/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/helios/events","assignees_url":"https://api.github.com/repos/Wikia/helios/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/helios/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/helios/tags","blobs_url":"https://api.github.com/repos/Wikia/helios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/helios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/helios/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/helios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/helios/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/helios/languages","stargazers_url":"https://api.github.com/repos/Wikia/helios/stargazers","contributors_url":"https://api.github.com/repos/Wikia/helios/contributors","subscribers_url":"https://api.github.com/repos/Wikia/helios/subscribers","subscription_url":"https://api.github.com/repos/Wikia/helios/subscription","commits_url":"https://api.github.com/repos/Wikia/helios/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/helios/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/helios/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/helios/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/helios/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/helios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/helios/merges","archive_url":"https://api.github.com/repos/Wikia/helios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/helios/downloads","issues_url":"https://api.github.com/repos/Wikia/helios/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/helios/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/helios/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/helios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/helios/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/helios/releases{/id}","created_at":"2014-11-04T16:12:05Z","updated_at":"2015-09-04T22:49:33Z","pushed_at":"2015-10-16T16:10:08Z","git_url":"git://github.com/Wikia/helios.git","ssh_url":"git@github.com:Wikia/helios.git","clone_url":"https://github.com/Wikia/helios.git","svn_url":"https://github.com/Wikia/helios","homepage":"","size":3540,"stargazers_count":7,"watchers_count":7,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/helios/pulls/133"},"html":{"href":"https://github.com/Wikia/helios/pull/133"},"issue":{"href":"https://api.github.com/repos/Wikia/helios/issues/133"},"comments":{"href":"https://api.github.com/repos/Wikia/helios/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/helios/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/helios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/helios/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/helios/statuses/326837597e80113682a31a6dcdb67dcc09c2effe"}}}}