{"action":"created","comment":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/comments/68131067","id":68131067,"diff_hunk":"@@ -107,15 +107,24 @@ Whether they are FileSets or another type of dataset is handled by the CDAP runt\n .. highlight:: console\n \n However, you do need to tell CDAP the relative paths of the input and output files. Currently,\n-this is only possible by specifying them as runtime arguments when the MapReduce program is started::\n+this is only possible by specifying them as runtime arguments when the MapReduce program is started:\n \n-  curl -v <base-url>/apps/FileSetExample/mapreduce/WordCount/start -d '{ \\\n-      \"dataset.lines.input.paths\":  \"monday/my.txt\", \\\n-      \"dataset.counts.output.path\": \"monday/counts.out\" }'\n+.. tabbed-parsed-literal::\n+\n+  $ curl -w\"\\n\" -X POST \"http://example.com:10000/v3/namespaces/default/apps/FileSetExample/mapreduce/WordCount/start\" \\\n+    -d \"{ 'dataset.lines.input.paths':  'monday/my.txt', \\\n+          'dataset.counts.output.path': 'monday/counts.out' }\"","path":"cdap-docs/developers-manual/source/building-blocks/datasets/fileset.rst","position":14,"original_position":14,"commit_id":"9515404373febe065e2d2cf92d030598dd899b03","original_commit_id":"8f7f8a559e02b08b8a06a574db0c370d4a158616","user":{"login":"wolf31o2","id":380021,"avatar_url":"https://avatars.githubusercontent.com/u/380021?v=3","gravatar_id":"","url":"https://api.github.com/users/wolf31o2","html_url":"https://github.com/wolf31o2","followers_url":"https://api.github.com/users/wolf31o2/followers","following_url":"https://api.github.com/users/wolf31o2/following{/other_user}","gists_url":"https://api.github.com/users/wolf31o2/gists{/gist_id}","starred_url":"https://api.github.com/users/wolf31o2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wolf31o2/subscriptions","organizations_url":"https://api.github.com/users/wolf31o2/orgs","repos_url":"https://api.github.com/users/wolf31o2/repos","events_url":"https://api.github.com/users/wolf31o2/events{/privacy}","received_events_url":"https://api.github.com/users/wolf31o2/received_events","type":"User","site_admin":false},"body":"IMO, this is the correct way to display this on Windows, due to how it handles single/double quotes. Yeah, it's ugly. However, the original way is showing non-standard JSON and won't lint/validate in many tools/sites.","created_at":"2016-06-22T20:42:45Z","updated_at":"2016-06-22T20:42:45Z","html_url":"https://github.com/caskdata/cdap/pull/5887#discussion_r68131067","pull_request_url":"https://api.github.com/repos/caskdata/cdap/pulls/5887","_links":{"self":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/comments/68131067"},"html":{"href":"https://github.com/caskdata/cdap/pull/5887#discussion_r68131067"},"pull_request":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/5887"}}},"pull_request":{"url":"https://api.github.com/repos/caskdata/cdap/pulls/5887","id":73801104,"html_url":"https://github.com/caskdata/cdap/pull/5887","diff_url":"https://github.com/caskdata/cdap/pull/5887.diff","patch_url":"https://github.com/caskdata/cdap/pull/5887.patch","issue_url":"https://api.github.com/repos/caskdata/cdap/issues/5887","number":5887,"state":"open","locked":false,"title":"CDAP-2094 Correct and update usage of \"base-url\"","user":{"login":"awholegunch","id":6394794,"avatar_url":"https://avatars.githubusercontent.com/u/6394794?v=3","gravatar_id":"","url":"https://api.github.com/users/awholegunch","html_url":"https://github.com/awholegunch","followers_url":"https://api.github.com/users/awholegunch/followers","following_url":"https://api.github.com/users/awholegunch/following{/other_user}","gists_url":"https://api.github.com/users/awholegunch/gists{/gist_id}","starred_url":"https://api.github.com/users/awholegunch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awholegunch/subscriptions","organizations_url":"https://api.github.com/users/awholegunch/orgs","repos_url":"https://api.github.com/users/awholegunch/repos","events_url":"https://api.github.com/users/awholegunch/events{/privacy}","received_events_url":"https://api.github.com/users/awholegunch/received_events","type":"User","site_admin":false},"body":"Passes [Quick Build 2](http://builds.cask.co/browse/CDAP-DQB36-2).\r\n\r\nFix for https://issues.cask.co/browse/CDAP-2094.\r\n\r\n- Changes all examples of CDAP RESTful APIs to use `/v3` instead of `<base-url>`\r\n- Adds an explanation of `base-url` to the start of each API\r\n- All APIs now have a similar introduction\r\n- Added an additional CLI example\r\n- Added tabbed-parsed-literals where `curl` commands are shown\r\n- Standardized the use of underlines for levels in the RESTful API files\r\n- Adjusted the order of sections in the API introduction page\r\n\r\nRevised [HTTP RESTful APIs](http://builds.cask.co/artifact/CDAP-DQB36/shared/build-2/Docs-HTML/3.5.0-SNAPSHOT/en/reference-manual/http-restful-api/index.html)\r\n\r\nBuild 2: changes ``<namespace>`` to ``<namespace-id>`` to match other parameters, and changed the parameters names in the tables to not have leading and trailing < >.","created_at":"2016-06-14T19:42:34Z","updated_at":"2016-06-22T20:42:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e73798857f604fa6d22c3aecb3b7b84bb88c3b12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/caskdata/cdap/pulls/5887/commits","review_comments_url":"https://api.github.com/repos/caskdata/cdap/pulls/5887/comments","review_comment_url":"https://api.github.com/repos/caskdata/cdap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/caskdata/cdap/issues/5887/comments","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/9515404373febe065e2d2cf92d030598dd899b03","head":{"label":"caskdata:docs/3.5_2094_Base_URL","ref":"docs/3.5_2094_Base_URL","sha":"9515404373febe065e2d2cf92d030598dd899b03","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":22542759,"name":"cdap","full_name":"caskdata/cdap","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/cdap","description":"Cask Data Application Platform (CDAP)","fork":false,"url":"https://api.github.com/repos/caskdata/cdap","forks_url":"https://api.github.com/repos/caskdata/cdap/forks","keys_url":"https://api.github.com/repos/caskdata/cdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/cdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/cdap/teams","hooks_url":"https://api.github.com/repos/caskdata/cdap/hooks","issue_events_url":"https://api.github.com/repos/caskdata/cdap/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/cdap/events","assignees_url":"https://api.github.com/repos/caskdata/cdap/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/cdap/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/cdap/tags","blobs_url":"https://api.github.com/repos/caskdata/cdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/cdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/cdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/cdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/cdap/languages","stargazers_url":"https://api.github.com/repos/caskdata/cdap/stargazers","contributors_url":"https://api.github.com/repos/caskdata/cdap/contributors","subscribers_url":"https://api.github.com/repos/caskdata/cdap/subscribers","subscription_url":"https://api.github.com/repos/caskdata/cdap/subscription","commits_url":"https://api.github.com/repos/caskdata/cdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/cdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/cdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/cdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/cdap/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/cdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/cdap/merges","archive_url":"https://api.github.com/repos/caskdata/cdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/cdap/downloads","issues_url":"https://api.github.com/repos/caskdata/cdap/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/cdap/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/cdap/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/cdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/cdap/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/cdap/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/cdap/deployments","created_at":"2014-08-02T09:00:10Z","updated_at":"2016-06-16T21:40:17Z","pushed_at":"2016-06-22T20:14:11Z","git_url":"git://github.com/caskdata/cdap.git","ssh_url":"git@github.com:caskdata/cdap.git","clone_url":"https://github.com/caskdata/cdap.git","svn_url":"https://github.com/caskdata/cdap","homepage":"http://cdap.io","size":616154,"stargazers_count":129,"watchers_count":129,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":13,"forks":45,"open_issues":13,"watchers":129,"default_branch":"develop"}},"base":{"label":"caskdata:develop","ref":"develop","sha":"2406b5ad003a5161b2917911aff7ce01e312a090","user":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"repo":{"id":22542759,"name":"cdap","full_name":"caskdata/cdap","owner":{"login":"caskdata","id":8123023,"avatar_url":"https://avatars.githubusercontent.com/u/8123023?v=3","gravatar_id":"","url":"https://api.github.com/users/caskdata","html_url":"https://github.com/caskdata","followers_url":"https://api.github.com/users/caskdata/followers","following_url":"https://api.github.com/users/caskdata/following{/other_user}","gists_url":"https://api.github.com/users/caskdata/gists{/gist_id}","starred_url":"https://api.github.com/users/caskdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caskdata/subscriptions","organizations_url":"https://api.github.com/users/caskdata/orgs","repos_url":"https://api.github.com/users/caskdata/repos","events_url":"https://api.github.com/users/caskdata/events{/privacy}","received_events_url":"https://api.github.com/users/caskdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/caskdata/cdap","description":"Cask Data Application Platform (CDAP)","fork":false,"url":"https://api.github.com/repos/caskdata/cdap","forks_url":"https://api.github.com/repos/caskdata/cdap/forks","keys_url":"https://api.github.com/repos/caskdata/cdap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caskdata/cdap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caskdata/cdap/teams","hooks_url":"https://api.github.com/repos/caskdata/cdap/hooks","issue_events_url":"https://api.github.com/repos/caskdata/cdap/issues/events{/number}","events_url":"https://api.github.com/repos/caskdata/cdap/events","assignees_url":"https://api.github.com/repos/caskdata/cdap/assignees{/user}","branches_url":"https://api.github.com/repos/caskdata/cdap/branches{/branch}","tags_url":"https://api.github.com/repos/caskdata/cdap/tags","blobs_url":"https://api.github.com/repos/caskdata/cdap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caskdata/cdap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caskdata/cdap/git/refs{/sha}","trees_url":"https://api.github.com/repos/caskdata/cdap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caskdata/cdap/statuses/{sha}","languages_url":"https://api.github.com/repos/caskdata/cdap/languages","stargazers_url":"https://api.github.com/repos/caskdata/cdap/stargazers","contributors_url":"https://api.github.com/repos/caskdata/cdap/contributors","subscribers_url":"https://api.github.com/repos/caskdata/cdap/subscribers","subscription_url":"https://api.github.com/repos/caskdata/cdap/subscription","commits_url":"https://api.github.com/repos/caskdata/cdap/commits{/sha}","git_commits_url":"https://api.github.com/repos/caskdata/cdap/git/commits{/sha}","comments_url":"https://api.github.com/repos/caskdata/cdap/comments{/number}","issue_comment_url":"https://api.github.com/repos/caskdata/cdap/issues/comments{/number}","contents_url":"https://api.github.com/repos/caskdata/cdap/contents/{+path}","compare_url":"https://api.github.com/repos/caskdata/cdap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caskdata/cdap/merges","archive_url":"https://api.github.com/repos/caskdata/cdap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caskdata/cdap/downloads","issues_url":"https://api.github.com/repos/caskdata/cdap/issues{/number}","pulls_url":"https://api.github.com/repos/caskdata/cdap/pulls{/number}","milestones_url":"https://api.github.com/repos/caskdata/cdap/milestones{/number}","notifications_url":"https://api.github.com/repos/caskdata/cdap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caskdata/cdap/labels{/name}","releases_url":"https://api.github.com/repos/caskdata/cdap/releases{/id}","deployments_url":"https://api.github.com/repos/caskdata/cdap/deployments","created_at":"2014-08-02T09:00:10Z","updated_at":"2016-06-16T21:40:17Z","pushed_at":"2016-06-22T20:14:11Z","git_url":"git://github.com/caskdata/cdap.git","ssh_url":"git@github.com:caskdata/cdap.git","clone_url":"https://github.com/caskdata/cdap.git","svn_url":"https://github.com/caskdata/cdap","homepage":"http://cdap.io","size":616154,"stargazers_count":129,"watchers_count":129,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":45,"mirror_url":null,"open_issues_count":13,"forks":45,"open_issues":13,"watchers":129,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/5887"},"html":{"href":"https://github.com/caskdata/cdap/pull/5887"},"issue":{"href":"https://api.github.com/repos/caskdata/cdap/issues/5887"},"comments":{"href":"https://api.github.com/repos/caskdata/cdap/issues/5887/comments"},"review_comments":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/5887/comments"},"review_comment":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/caskdata/cdap/pulls/5887/commits"},"statuses":{"href":"https://api.github.com/repos/caskdata/cdap/statuses/9515404373febe065e2d2cf92d030598dd899b03"}}}}
{"actor":{"display_login":"wolf31o2"}}