{"action":"created","comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments/51394535","id":51394535,"diff_hunk":"@@ -34,10 +37,10 @@ function createResponseObject(resolve, reject) {\n     error: function(error) {\n       reject(new Parse.Error(Parse.Error.SCRIPT_FAILED, error));\n     }\n-  }\n+  };\n }\n \n-router.route('POST', '/functions/:functionName', handleCloudFunction);\n+router.route('POST', '/functions/:functionName+', handleCloudFunction);","path":"functions.js","position":21,"original_position":21,"commit_id":"b96f72d800ac1f466fdf78cfe4c19873ba38c03f","original_commit_id":"b96f72d800ac1f466fdf78cfe4c19873ba38c03f","user":{"login":"lucianmat","id":1640858,"avatar_url":"https://avatars.githubusercontent.com/u/1640858?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianmat","html_url":"https://github.com/lucianmat","followers_url":"https://api.github.com/users/lucianmat/followers","following_url":"https://api.github.com/users/lucianmat/following{/other_user}","gists_url":"https://api.github.com/users/lucianmat/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianmat/subscriptions","organizations_url":"https://api.github.com/users/lucianmat/orgs","repos_url":"https://api.github.com/users/lucianmat/repos","events_url":"https://api.github.com/users/lucianmat/events{/privacy}","received_events_url":"https://api.github.com/users/lucianmat/received_events","type":"User","site_admin":false},"body":"+ will allow to have a structured calls on functions, such as\r\n```\r\nParse.Cloud.run('workflow/list', { objs : true}), \r\n```\r\nextending functions reach.\r\nIt is an optional route parameter from express, it will be ignored if it is not present and it will work as pervious.","created_at":"2016-02-01T09:23:16Z","updated_at":"2016-02-01T09:23:16Z","html_url":"https://github.com/ParsePlatform/parse-server/pull/97#discussion_r51394535","pull_request_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97","_links":{"self":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments/51394535"},"html":{"href":"https://github.com/ParsePlatform/parse-server/pull/97#discussion_r51394535"},"pull_request":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97"}}},"pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97","id":57763769,"html_url":"https://github.com/ParsePlatform/parse-server/pull/97","diff_url":"https://github.com/ParsePlatform/parse-server/pull/97.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/97.patch","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/97","number":97,"state":"open","locked":false,"title":"update function and freeze schema","user":{"login":"lucianmat","id":1640858,"avatar_url":"https://avatars.githubusercontent.com/u/1640858?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianmat","html_url":"https://github.com/lucianmat","followers_url":"https://api.github.com/users/lucianmat/followers","following_url":"https://api.github.com/users/lucianmat/following{/other_user}","gists_url":"https://api.github.com/users/lucianmat/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianmat/subscriptions","organizations_url":"https://api.github.com/users/lucianmat/orgs","repos_url":"https://api.github.com/users/lucianmat/repos","events_url":"https://api.github.com/users/lucianmat/events{/privacy}","received_events_url":"https://api.github.com/users/lucianmat/received_events","type":"User","site_admin":false},"body":"added user, isMaster, installationId on functions as   [Parse.Cloud.FunctionRequest](https://parse.com/docs/js/api/classes/Parse.Cloud.FunctionRequest.html) specs .\r\n\r\nchanged route path to  '/functions/:functionName+', that way function can be requested with extra path components as : Parse.Cloud.run('workflows/list', {}) ","created_at":"2016-01-31T08:59:02Z","updated_at":"2016-02-01T09:23:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ea1f67743ddfd0c5792b7bd1114c903a2c3d541","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97/commits","review_comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97/comments","review_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/97/comments","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/b96f72d800ac1f466fdf78cfe4c19873ba38c03f","head":{"label":"lucianmat:master","ref":"master","sha":"b96f72d800ac1f466fdf78cfe4c19873ba38c03f","user":{"login":"lucianmat","id":1640858,"avatar_url":"https://avatars.githubusercontent.com/u/1640858?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianmat","html_url":"https://github.com/lucianmat","followers_url":"https://api.github.com/users/lucianmat/followers","following_url":"https://api.github.com/users/lucianmat/following{/other_user}","gists_url":"https://api.github.com/users/lucianmat/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianmat/subscriptions","organizations_url":"https://api.github.com/users/lucianmat/orgs","repos_url":"https://api.github.com/users/lucianmat/repos","events_url":"https://api.github.com/users/lucianmat/events{/privacy}","received_events_url":"https://api.github.com/users/lucianmat/received_events","type":"User","site_admin":false},"repo":{"id":50764967,"name":"parse-server","full_name":"lucianmat/parse-server","owner":{"login":"lucianmat","id":1640858,"avatar_url":"https://avatars.githubusercontent.com/u/1640858?v=3","gravatar_id":"","url":"https://api.github.com/users/lucianmat","html_url":"https://github.com/lucianmat","followers_url":"https://api.github.com/users/lucianmat/followers","following_url":"https://api.github.com/users/lucianmat/following{/other_user}","gists_url":"https://api.github.com/users/lucianmat/gists{/gist_id}","starred_url":"https://api.github.com/users/lucianmat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucianmat/subscriptions","organizations_url":"https://api.github.com/users/lucianmat/orgs","repos_url":"https://api.github.com/users/lucianmat/repos","events_url":"https://api.github.com/users/lucianmat/events{/privacy}","received_events_url":"https://api.github.com/users/lucianmat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lucianmat/parse-server","description":"Parse-compatible API server module for Node/Express","fork":true,"url":"https://api.github.com/repos/lucianmat/parse-server","forks_url":"https://api.github.com/repos/lucianmat/parse-server/forks","keys_url":"https://api.github.com/repos/lucianmat/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lucianmat/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lucianmat/parse-server/teams","hooks_url":"https://api.github.com/repos/lucianmat/parse-server/hooks","issue_events_url":"https://api.github.com/repos/lucianmat/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/lucianmat/parse-server/events","assignees_url":"https://api.github.com/repos/lucianmat/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/lucianmat/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/lucianmat/parse-server/tags","blobs_url":"https://api.github.com/repos/lucianmat/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lucianmat/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lucianmat/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/lucianmat/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lucianmat/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/lucianmat/parse-server/languages","stargazers_url":"https://api.github.com/repos/lucianmat/parse-server/stargazers","contributors_url":"https://api.github.com/repos/lucianmat/parse-server/contributors","subscribers_url":"https://api.github.com/repos/lucianmat/parse-server/subscribers","subscription_url":"https://api.github.com/repos/lucianmat/parse-server/subscription","commits_url":"https://api.github.com/repos/lucianmat/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/lucianmat/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/lucianmat/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/lucianmat/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/lucianmat/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/lucianmat/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lucianmat/parse-server/merges","archive_url":"https://api.github.com/repos/lucianmat/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lucianmat/parse-server/downloads","issues_url":"https://api.github.com/repos/lucianmat/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/lucianmat/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/lucianmat/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/lucianmat/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lucianmat/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/lucianmat/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/lucianmat/parse-server/deployments","created_at":"2016-01-31T08:14:50Z","updated_at":"2016-01-31T08:14:51Z","pushed_at":"2016-01-31T13:09:42Z","git_url":"git://github.com/lucianmat/parse-server.git","ssh_url":"git@github.com:lucianmat/parse-server.git","clone_url":"https://github.com/lucianmat/parse-server.git","svn_url":"https://github.com/lucianmat/parse-server","homepage":null,"size":124,"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":"ParsePlatform:master","ref":"master","sha":"522abdf6066540de0ce8b657028b6cc8ff1f8cde","user":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":50603846,"name":"parse-server","full_name":"ParsePlatform/parse-server","owner":{"login":"ParsePlatform","id":1294580,"avatar_url":"https://avatars.githubusercontent.com/u/1294580?v=3","gravatar_id":"","url":"https://api.github.com/users/ParsePlatform","html_url":"https://github.com/ParsePlatform","followers_url":"https://api.github.com/users/ParsePlatform/followers","following_url":"https://api.github.com/users/ParsePlatform/following{/other_user}","gists_url":"https://api.github.com/users/ParsePlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/ParsePlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ParsePlatform/subscriptions","organizations_url":"https://api.github.com/users/ParsePlatform/orgs","repos_url":"https://api.github.com/users/ParsePlatform/repos","events_url":"https://api.github.com/users/ParsePlatform/events{/privacy}","received_events_url":"https://api.github.com/users/ParsePlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ParsePlatform/parse-server","description":"Parse-compatible API server module for Node/Express","fork":false,"url":"https://api.github.com/repos/ParsePlatform/parse-server","forks_url":"https://api.github.com/repos/ParsePlatform/parse-server/forks","keys_url":"https://api.github.com/repos/ParsePlatform/parse-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ParsePlatform/parse-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ParsePlatform/parse-server/teams","hooks_url":"https://api.github.com/repos/ParsePlatform/parse-server/hooks","issue_events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/events{/number}","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/events","assignees_url":"https://api.github.com/repos/ParsePlatform/parse-server/assignees{/user}","branches_url":"https://api.github.com/repos/ParsePlatform/parse-server/branches{/branch}","tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/tags","blobs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/{sha}","languages_url":"https://api.github.com/repos/ParsePlatform/parse-server/languages","stargazers_url":"https://api.github.com/repos/ParsePlatform/parse-server/stargazers","contributors_url":"https://api.github.com/repos/ParsePlatform/parse-server/contributors","subscribers_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscribers","subscription_url":"https://api.github.com/repos/ParsePlatform/parse-server/subscription","commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/ParsePlatform/parse-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/ParsePlatform/parse-server/contents/{+path}","compare_url":"https://api.github.com/repos/ParsePlatform/parse-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ParsePlatform/parse-server/merges","archive_url":"https://api.github.com/repos/ParsePlatform/parse-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ParsePlatform/parse-server/downloads","issues_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues{/number}","pulls_url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls{/number}","milestones_url":"https://api.github.com/repos/ParsePlatform/parse-server/milestones{/number}","notifications_url":"https://api.github.com/repos/ParsePlatform/parse-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/labels{/name}","releases_url":"https://api.github.com/repos/ParsePlatform/parse-server/releases{/id}","deployments_url":"https://api.github.com/repos/ParsePlatform/parse-server/deployments","created_at":"2016-01-28T18:29:14Z","updated_at":"2016-02-01T09:21:45Z","pushed_at":"2016-02-01T08:49:26Z","git_url":"git://github.com/ParsePlatform/parse-server.git","ssh_url":"git@github.com:ParsePlatform/parse-server.git","clone_url":"https://github.com/ParsePlatform/parse-server.git","svn_url":"https://github.com/ParsePlatform/parse-server","homepage":null,"size":155,"stargazers_count":3979,"watchers_count":3979,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":733,"mirror_url":null,"open_issues_count":50,"forks":733,"open_issues":50,"watchers":3979,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97"},"html":{"href":"https://github.com/ParsePlatform/parse-server/pull/97"},"issue":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/97"},"comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/issues/97/comments"},"review_comments":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97/comments"},"review_comment":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/97/commits"},"statuses":{"href":"https://api.github.com/repos/ParsePlatform/parse-server/statuses/b96f72d800ac1f466fdf78cfe4c19873ba38c03f"}}}}