{"action":"created","comment":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/82927502","pull_request_review_id":3799251,"id":82927502,"diff_hunk":"@@ -25,12 +25,27 @@ const BASE_URL = nconf.get('BASE_URL');\n let api = {};\n \n /**\n+ * @apiDefine authError\n+ * @apiError NotAuthorized There was an error in authorizing the User ID / API Token pair. Check the <code>message</code> for more information.\n+ */\n+\n+/**\n+ * @apiDefine pathParam Path Parameters\n+ */\n+\n+/**\n  * @api {get} /export/history.csv Export user tasks history in CSV format\n  * @apiDescription History is only available for habits and dailies so todos and rewards won't be included. NOTE: Part of the private API that may change at any time.\n  * @apiName ExportUserHistory\n  * @apiGroup DataExport\n  *\n- * @apiSuccess {String} A csv file\n+ * @apiSuccess {String} returns A csv file\n+ *\n+ * @apiSuccessExample {csv} Example\n+ * Task Name,Task ID,Task Type,Date,Value\n+ * ...","path":"website/server/controllers/top-level/dataexport.js","position":23,"original_position":23,"commit_id":"30c6158f90721ffe5f2b6f43e52b5bf1c4267233","original_commit_id":"30c6158f90721ffe5f2b6f43e52b5bf1c4267233","user":{"login":"crookedneighbor","id":2916945,"avatar_url":"https://avatars.githubusercontent.com/u/2916945?v=3","gravatar_id":"","url":"https://api.github.com/users/crookedneighbor","html_url":"https://github.com/crookedneighbor","followers_url":"https://api.github.com/users/crookedneighbor/followers","following_url":"https://api.github.com/users/crookedneighbor/following{/other_user}","gists_url":"https://api.github.com/users/crookedneighbor/gists{/gist_id}","starred_url":"https://api.github.com/users/crookedneighbor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crookedneighbor/subscriptions","organizations_url":"https://api.github.com/users/crookedneighbor/orgs","repos_url":"https://api.github.com/users/crookedneighbor/repos","events_url":"https://api.github.com/users/crookedneighbor/events{/privacy}","received_events_url":"https://api.github.com/users/crookedneighbor/received_events","type":"User","site_admin":false},"body":"Provide some sample data here.","created_at":"2016-10-12T02:37:37Z","updated_at":"2016-10-12T02:44:43Z","html_url":"https://github.com/HabitRPG/habitica/pull/8120#discussion_r82927502","pull_request_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120","_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments/82927502"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/8120#discussion_r82927502"},"pull_request":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120"}}},"pull_request":{"url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120","id":88873517,"html_url":"https://github.com/HabitRPG/habitica/pull/8120","diff_url":"https://github.com/HabitRPG/habitica/pull/8120.diff","patch_url":"https://github.com/HabitRPG/habitica/pull/8120.patch","issue_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8120","number":8120,"state":"open","locked":false,"title":"Api doc dataexport","user":{"login":"MathWhiz","id":12386291,"avatar_url":"https://avatars.githubusercontent.com/u/12386291?v=3","gravatar_id":"","url":"https://api.github.com/users/MathWhiz","html_url":"https://github.com/MathWhiz","followers_url":"https://api.github.com/users/MathWhiz/followers","following_url":"https://api.github.com/users/MathWhiz/following{/other_user}","gists_url":"https://api.github.com/users/MathWhiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MathWhiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathWhiz/subscriptions","organizations_url":"https://api.github.com/users/MathWhiz/orgs","repos_url":"https://api.github.com/users/MathWhiz/repos","events_url":"https://api.github.com/users/MathWhiz/events{/privacy}","received_events_url":"https://api.github.com/users/MathWhiz/received_events","type":"User","site_admin":false},"body":"[//]: # (Note: See http://habitica.wikia.com/wiki/Using_Habitica_Git#Pull_Request for more info)\r\n\r\n[//]: # (Put Issue # or URL here, if applicable. This will automatically close the issue if your PR is merged in)\r\n#8087 \r\n\r\n### Changes\r\n[//]: # (Describe the changes that were made in detail here. Include pictures if necessary)\r\nImproves documentation of Data Export functions\r\n\r\n\r\n[//]: # (Put User ID in here - found in Settings -> API)\r\n----\r\nUUID: \r\n","created_at":"2016-10-11T17:16:02Z","updated_at":"2016-10-12T02:44:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"544d7d716d4ba17122414ae28ca535b223b63906","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120/commits","review_comments_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120/comments","review_comment_url":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/issues/8120/comments","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/30c6158f90721ffe5f2b6f43e52b5bf1c4267233","head":{"label":"MathWhiz:APIdoc-dataexport","ref":"APIdoc-dataexport","sha":"30c6158f90721ffe5f2b6f43e52b5bf1c4267233","user":{"login":"MathWhiz","id":12386291,"avatar_url":"https://avatars.githubusercontent.com/u/12386291?v=3","gravatar_id":"","url":"https://api.github.com/users/MathWhiz","html_url":"https://github.com/MathWhiz","followers_url":"https://api.github.com/users/MathWhiz/followers","following_url":"https://api.github.com/users/MathWhiz/following{/other_user}","gists_url":"https://api.github.com/users/MathWhiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MathWhiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathWhiz/subscriptions","organizations_url":"https://api.github.com/users/MathWhiz/orgs","repos_url":"https://api.github.com/users/MathWhiz/repos","events_url":"https://api.github.com/users/MathWhiz/events{/privacy}","received_events_url":"https://api.github.com/users/MathWhiz/received_events","type":"User","site_admin":false},"repo":{"id":51804002,"name":"habitrpg","full_name":"MathWhiz/habitrpg","owner":{"login":"MathWhiz","id":12386291,"avatar_url":"https://avatars.githubusercontent.com/u/12386291?v=3","gravatar_id":"","url":"https://api.github.com/users/MathWhiz","html_url":"https://github.com/MathWhiz","followers_url":"https://api.github.com/users/MathWhiz/followers","following_url":"https://api.github.com/users/MathWhiz/following{/other_user}","gists_url":"https://api.github.com/users/MathWhiz/gists{/gist_id}","starred_url":"https://api.github.com/users/MathWhiz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MathWhiz/subscriptions","organizations_url":"https://api.github.com/users/MathWhiz/orgs","repos_url":"https://api.github.com/users/MathWhiz/repos","events_url":"https://api.github.com/users/MathWhiz/events{/privacy}","received_events_url":"https://api.github.com/users/MathWhiz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MathWhiz/habitrpg","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":true,"url":"https://api.github.com/repos/MathWhiz/habitrpg","forks_url":"https://api.github.com/repos/MathWhiz/habitrpg/forks","keys_url":"https://api.github.com/repos/MathWhiz/habitrpg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MathWhiz/habitrpg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MathWhiz/habitrpg/teams","hooks_url":"https://api.github.com/repos/MathWhiz/habitrpg/hooks","issue_events_url":"https://api.github.com/repos/MathWhiz/habitrpg/issues/events{/number}","events_url":"https://api.github.com/repos/MathWhiz/habitrpg/events","assignees_url":"https://api.github.com/repos/MathWhiz/habitrpg/assignees{/user}","branches_url":"https://api.github.com/repos/MathWhiz/habitrpg/branches{/branch}","tags_url":"https://api.github.com/repos/MathWhiz/habitrpg/tags","blobs_url":"https://api.github.com/repos/MathWhiz/habitrpg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MathWhiz/habitrpg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MathWhiz/habitrpg/git/refs{/sha}","trees_url":"https://api.github.com/repos/MathWhiz/habitrpg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MathWhiz/habitrpg/statuses/{sha}","languages_url":"https://api.github.com/repos/MathWhiz/habitrpg/languages","stargazers_url":"https://api.github.com/repos/MathWhiz/habitrpg/stargazers","contributors_url":"https://api.github.com/repos/MathWhiz/habitrpg/contributors","subscribers_url":"https://api.github.com/repos/MathWhiz/habitrpg/subscribers","subscription_url":"https://api.github.com/repos/MathWhiz/habitrpg/subscription","commits_url":"https://api.github.com/repos/MathWhiz/habitrpg/commits{/sha}","git_commits_url":"https://api.github.com/repos/MathWhiz/habitrpg/git/commits{/sha}","comments_url":"https://api.github.com/repos/MathWhiz/habitrpg/comments{/number}","issue_comment_url":"https://api.github.com/repos/MathWhiz/habitrpg/issues/comments{/number}","contents_url":"https://api.github.com/repos/MathWhiz/habitrpg/contents/{+path}","compare_url":"https://api.github.com/repos/MathWhiz/habitrpg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MathWhiz/habitrpg/merges","archive_url":"https://api.github.com/repos/MathWhiz/habitrpg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MathWhiz/habitrpg/downloads","issues_url":"https://api.github.com/repos/MathWhiz/habitrpg/issues{/number}","pulls_url":"https://api.github.com/repos/MathWhiz/habitrpg/pulls{/number}","milestones_url":"https://api.github.com/repos/MathWhiz/habitrpg/milestones{/number}","notifications_url":"https://api.github.com/repos/MathWhiz/habitrpg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MathWhiz/habitrpg/labels{/name}","releases_url":"https://api.github.com/repos/MathWhiz/habitrpg/releases{/id}","deployments_url":"https://api.github.com/repos/MathWhiz/habitrpg/deployments","created_at":"2016-02-16T03:07:16Z","updated_at":"2016-02-16T03:07:24Z","pushed_at":"2016-10-11T18:37:15Z","git_url":"git://github.com/MathWhiz/habitrpg.git","ssh_url":"git@github.com:MathWhiz/habitrpg.git","clone_url":"https://github.com/MathWhiz/habitrpg.git","svn_url":"https://github.com/MathWhiz/habitrpg","homepage":"https://habitica.com","size":467674,"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":"develop"}},"base":{"label":"HabitRPG:develop","ref":"develop","sha":"b6104c3ef35739d2cba30fb913a5504350e30a9f","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":"habitica","full_name":"HabitRPG/habitica","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/habitica","description":"A habit tracker app which treats your goals like a Role Playing Game.","fork":false,"url":"https://api.github.com/repos/HabitRPG/habitica","forks_url":"https://api.github.com/repos/HabitRPG/habitica/forks","keys_url":"https://api.github.com/repos/HabitRPG/habitica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HabitRPG/habitica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HabitRPG/habitica/teams","hooks_url":"https://api.github.com/repos/HabitRPG/habitica/hooks","issue_events_url":"https://api.github.com/repos/HabitRPG/habitica/issues/events{/number}","events_url":"https://api.github.com/repos/HabitRPG/habitica/events","assignees_url":"https://api.github.com/repos/HabitRPG/habitica/assignees{/user}","branches_url":"https://api.github.com/repos/HabitRPG/habitica/branches{/branch}","tags_url":"https://api.github.com/repos/HabitRPG/habitica/tags","blobs_url":"https://api.github.com/repos/HabitRPG/habitica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HabitRPG/habitica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HabitRPG/habitica/git/refs{/sha}","trees_url":"https://api.github.com/repos/HabitRPG/habitica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HabitRPG/habitica/statuses/{sha}","languages_url":"https://api.github.com/repos/HabitRPG/habitica/languages","stargazers_url":"https://api.github.com/repos/HabitRPG/habitica/stargazers","contributors_url":"https://api.github.com/repos/HabitRPG/habitica/contributors","subscribers_url":"https://api.github.com/repos/HabitRPG/habitica/subscribers","subscription_url":"https://api.github.com/repos/HabitRPG/habitica/subscription","commits_url":"https://api.github.com/repos/HabitRPG/habitica/commits{/sha}","git_commits_url":"https://api.github.com/repos/HabitRPG/habitica/git/commits{/sha}","comments_url":"https://api.github.com/repos/HabitRPG/habitica/comments{/number}","issue_comment_url":"https://api.github.com/repos/HabitRPG/habitica/issues/comments{/number}","contents_url":"https://api.github.com/repos/HabitRPG/habitica/contents/{+path}","compare_url":"https://api.github.com/repos/HabitRPG/habitica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HabitRPG/habitica/merges","archive_url":"https://api.github.com/repos/HabitRPG/habitica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HabitRPG/habitica/downloads","issues_url":"https://api.github.com/repos/HabitRPG/habitica/issues{/number}","pulls_url":"https://api.github.com/repos/HabitRPG/habitica/pulls{/number}","milestones_url":"https://api.github.com/repos/HabitRPG/habitica/milestones{/number}","notifications_url":"https://api.github.com/repos/HabitRPG/habitica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HabitRPG/habitica/labels{/name}","releases_url":"https://api.github.com/repos/HabitRPG/habitica/releases{/id}","deployments_url":"https://api.github.com/repos/HabitRPG/habitica/deployments","created_at":"2012-06-06T22:49:48Z","updated_at":"2016-10-12T01:57:11Z","pushed_at":"2016-10-12T02:36:07Z","git_url":"git://github.com/HabitRPG/habitica.git","ssh_url":"git@github.com:HabitRPG/habitica.git","clone_url":"https://github.com/HabitRPG/habitica.git","svn_url":"https://github.com/HabitRPG/habitica","homepage":"https://habitica.com","size":536326,"stargazers_count":4246,"watchers_count":4246,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1795,"mirror_url":null,"open_issues_count":351,"forks":1795,"open_issues":351,"watchers":4246,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120"},"html":{"href":"https://github.com/HabitRPG/habitica/pull/8120"},"issue":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/8120"},"comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/issues/8120/comments"},"review_comments":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120/comments"},"review_comment":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HabitRPG/habitica/pulls/8120/commits"},"statuses":{"href":"https://api.github.com/repos/HabitRPG/habitica/statuses/30c6158f90721ffe5f2b6f43e52b5bf1c4267233"}}}}
{"actor":{"display_login":"crookedneighbor"}}