{"action":"created","comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments/29994589","id":29994589,"diff_hunk":"@@ -259,6 +259,12 @@ describe \"API\", ->\n               expect(body.err).to.be \"Task not found.\"\n               done()\n \n+    describe \"Anonymized User\", ->\n+      it \"/api/v2/user/anonymized\", (done) ->\n+        request.get(baseURL + \"/user/anonymized\").set(\"Accept\", \"application/json\").end (res) ->\n+          expect(res.statusCode).to.be 200","path":"test/api.mocha.coffee","position":7,"original_position":7,"commit_id":"f402e21a5c506664da3986bfb191907a4b4f321c","original_commit_id":"f402e21a5c506664da3986bfb191907a4b4f321c","user":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"body":"any good idea how test something like that?","created_at":"2015-05-09T17:28:49Z","updated_at":"2015-05-09T17:28:49Z","html_url":"https://github.com/HabitRPG/habitrpg/pull/5170#discussion_r29994589","pull_request_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170","_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments/29994589"},"html":{"href":"https://github.com/HabitRPG/habitrpg/pull/5170#discussion_r29994589"},"pull_request":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170"}}},"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170","id":35026771,"html_url":"https://github.com/HabitRPG/habitrpg/pull/5170","diff_url":"https://github.com/HabitRPG/habitrpg/pull/5170.diff","patch_url":"https://github.com/HabitRPG/habitrpg/pull/5170.patch","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5170","number":5170,"state":"open","locked":false,"title":"/user/anonymized - return user json without personal data","user":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"body":"Ping @Alys did I miss a property?\r\n\r\n@crookedneighbor didn't know what to test except if api call has no errors..^^","created_at":"2015-05-08T16:59:57Z","updated_at":"2015-05-09T17:28:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"baa1d568f5b992277875aa4cc93c80ca024386a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170/commits","review_comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170/comments","review_comment_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5170/comments","statuses_url":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/f402e21a5c506664da3986bfb191907a4b4f321c","head":{"label":"negue:anonymizedUser","ref":"anonymizedUser","sha":"f402e21a5c506664da3986bfb191907a4b4f321c","user":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"repo":{"id":20697159,"name":"habitrpg","full_name":"negue/habitrpg","owner":{"login":"negue","id":842273,"avatar_url":"https://avatars.githubusercontent.com/u/842273?v=3","gravatar_id":"","url":"https://api.github.com/users/negue","html_url":"https://github.com/negue","followers_url":"https://api.github.com/users/negue/followers","following_url":"https://api.github.com/users/negue/following{/other_user}","gists_url":"https://api.github.com/users/negue/gists{/gist_id}","starred_url":"https://api.github.com/users/negue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/negue/subscriptions","organizations_url":"https://api.github.com/users/negue/orgs","repos_url":"https://api.github.com/users/negue/repos","events_url":"https://api.github.com/users/negue/events{/privacy}","received_events_url":"https://api.github.com/users/negue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/negue/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":true,"url":"https://api.github.com/repos/negue/habitrpg","forks_url":"https://api.github.com/repos/negue/habitrpg/forks","keys_url":"https://api.github.com/repos/negue/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/negue/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/negue/habitrpg/teams","hooks_url":"https://api.github.com/repos/negue/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/negue/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/negue/habitrpg/events","assignees_url":"https://api.github.com/repos/negue/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/negue/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/negue/habitrpg/tags","blobs_url":"https://api.github.com/repos/negue/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/negue/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/negue/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/negue/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/negue/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/negue/habitrpg/languages","stargazers_url":"https://api.github.com/repos/negue/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/negue/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/negue/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/negue/habitrpg/subscription","commits_url":"https://api.github.com/repos/negue/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/negue/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/negue/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/negue/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/negue/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/negue/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/negue/habitrpg/merges","archive_url":"https://api.github.com/repos/negue/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/negue/habitrpg/downloads","issues_url":"https://api.github.com/repos/negue/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/negue/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/negue/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/negue/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/negue/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/negue/habitrpg/releases{/id}","created_at":"2014-06-10T18:41:54Z","updated_at":"2015-04-25T16:36:53Z","pushed_at":"2015-05-08T21:47:37Z","git_url":"git://github.com/negue/habitrpg.git","ssh_url":"git@github.com:negue/habitrpg.git","clone_url":"https://github.com/negue/habitrpg.git","svn_url":"https://github.com/negue/habitrpg","homepage":"habitrpg.com","size":175057,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"develop"}},"base":{"label":"HabitRPG:develop","ref":"develop","sha":"382add82c3aa8da1027db553b72a9d04df03bfe9","user":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"repo":{"id":4578898,"name":"habitrpg","full_name":"HabitRPG/habitrpg","owner":{"login":"HabitRPG","id":3834775,"avatar_url":"https://avatars.githubusercontent.com/u/3834775?v=3","gravatar_id":"","url":"https://api.github.com/users/HabitRPG","html_url":"https://github.com/HabitRPG","followers_url":"https://api.github.com/users/HabitRPG/followers","following_url":"https://api.github.com/users/HabitRPG/following{/other_user}","gists_url":"https://api.github.com/users/HabitRPG/gists{/gist_id}","starred_url":"https://api.github.com/users/HabitRPG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HabitRPG/subscriptions","organizations_url":"https://api.github.com/users/HabitRPG/orgs","repos_url":"https://api.github.com/users/HabitRPG/repos","events_url":"https://api.github.com/users/HabitRPG/events{/privacy}","received_events_url":"https://api.github.com/users/HabitRPG/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/HabitRPG/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitrpg","forks_url":"https://api.github.com/repos/HabitRPG/habitrpg/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitrpg/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitrpg/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitrpg/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitrpg/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitrpg/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitrpg/releases{/id}","created_at":"2012-06-06T22:49:48Z","updated_at":"2015-05-09T13:13:25Z","pushed_at":"2015-05-09T15:44:48Z","git_url":"git://github.com/HabitRPG/habitrpg.git","ssh_url":"git@github.com:HabitRPG/habitrpg.git","clone_url":"https://github.com/HabitRPG/habitrpg.git","svn_url":"https://github.com/HabitRPG/habitrpg","homepage":"habitrpg.com","size":200455,"stargazers_count":2709,"watchers_count":2709,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1045,"mirror_url":null,"open_issues_count":702,"forks":1045,"open_issues":702,"watchers":2709,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170"},"html":{"href":"https://github.com/HabitRPG/habitrpg/pull/5170"},"issue":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5170"},"comments":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/issues/5170/comments"},"review_comments":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170/comments"},"review_comment":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/pulls/5170/commits"},"statuses":{"href":"https://api.github.com/repos/HabitRPG/habitrpg/statuses/f402e21a5c506664da3986bfb191907a4b4f321c"}}}}