{"action":"created","comment":{"url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/comments/94072622","pull_request_review_id":14603194,"id":94072622,"diff_hunk":"@@ -290,4 +290,62 @@ exports.getKVMList = function(apigee_profile, type, callback, includeCurl){\n \tif(includeCurl)\n \t\thelper.generatecURL(options);\n     request(options, callback);\n-}\n\\ No newline at end of file\n+}\n+\n+exports.getOrgAPIProductsList = function (apigee_profiles, callback, includeCurl) {\n+\tvar apigeel = apigee_profiles[apigee_profiles.env];\n+\t//echo curl -H \"Authorization:Basic $credentials\" \"$url/v1/organizations/$ord/apiproducts\"\n+\tvar options = {\n+\t\tmethod: 'GET',\n+\t\turi: apigeel.url_mgmt + '/v1/o/' + apigeel.org + '/apiproducts/',","path":"lib/apigee-sdk-mgmt-api.js","position":13,"original_position":13,"commit_id":"075fa91637ae14c5cc5cf2e3c31ce4703bf18042","original_commit_id":"075fa91637ae14c5cc5cf2e3c31ce4703bf18042","user":{"login":"klevak","id":914791,"avatar_url":"https://avatars.githubusercontent.com/u/914791?v=3","gravatar_id":"","url":"https://api.github.com/users/klevak","html_url":"https://github.com/klevak","followers_url":"https://api.github.com/users/klevak/followers","following_url":"https://api.github.com/users/klevak/following{/other_user}","gists_url":"https://api.github.com/users/klevak/gists{/gist_id}","starred_url":"https://api.github.com/users/klevak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klevak/subscriptions","organizations_url":"https://api.github.com/users/klevak/orgs","repos_url":"https://api.github.com/users/klevak/repos","events_url":"https://api.github.com/users/klevak/events{/privacy}","received_events_url":"https://api.github.com/users/klevak/received_events","type":"User","site_admin":false},"body":"@scase can you use the long version of this just to be consistent","created_at":"2016-12-28T20:10:51Z","updated_at":"2016-12-28T20:10:51Z","html_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2#discussion_r94072622","pull_request_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/comments/94072622"},"html":{"href":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2#discussion_r94072622"},"pull_request":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2","id":99587812,"html_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2","diff_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2.diff","patch_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2.patch","issue_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/2","number":2,"state":"open","locked":false,"title":"Adding additional functionality","user":{"login":"scase","id":5629356,"avatar_url":"https://avatars.githubusercontent.com/u/5629356?v=3","gravatar_id":"","url":"https://api.github.com/users/scase","html_url":"https://github.com/scase","followers_url":"https://api.github.com/users/scase/followers","following_url":"https://api.github.com/users/scase/following{/other_user}","gists_url":"https://api.github.com/users/scase/gists{/gist_id}","starred_url":"https://api.github.com/users/scase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scase/subscriptions","organizations_url":"https://api.github.com/users/scase/orgs","repos_url":"https://api.github.com/users/scase/repos","events_url":"https://api.github.com/users/scase/events{/privacy}","received_events_url":"https://api.github.com/users/scase/received_events","type":"User","site_admin":false},"body":"Will allow for use of file to create or update orgs via a file (which can be kept in source control) as well as listing api products for an org or getting a product's values","created_at":"2016-12-28T20:09:15Z","updated_at":"2016-12-28T20:10:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"189455c1244f93612c270586b183f82bfe5dacc3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2/commits","review_comments_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2/comments","review_comment_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/2/comments","statuses_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/statuses/075fa91637ae14c5cc5cf2e3c31ce4703bf18042","head":{"label":"scase:master","ref":"master","sha":"075fa91637ae14c5cc5cf2e3c31ce4703bf18042","user":{"login":"scase","id":5629356,"avatar_url":"https://avatars.githubusercontent.com/u/5629356?v=3","gravatar_id":"","url":"https://api.github.com/users/scase","html_url":"https://github.com/scase","followers_url":"https://api.github.com/users/scase/followers","following_url":"https://api.github.com/users/scase/following{/other_user}","gists_url":"https://api.github.com/users/scase/gists{/gist_id}","starred_url":"https://api.github.com/users/scase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scase/subscriptions","organizations_url":"https://api.github.com/users/scase/orgs","repos_url":"https://api.github.com/users/scase/repos","events_url":"https://api.github.com/users/scase/events{/privacy}","received_events_url":"https://api.github.com/users/scase/received_events","type":"User","site_admin":false},"repo":{"id":76959698,"name":"apigee-sdk-mgmt-api","full_name":"scase/apigee-sdk-mgmt-api","owner":{"login":"scase","id":5629356,"avatar_url":"https://avatars.githubusercontent.com/u/5629356?v=3","gravatar_id":"","url":"https://api.github.com/users/scase","html_url":"https://github.com/scase","followers_url":"https://api.github.com/users/scase/followers","following_url":"https://api.github.com/users/scase/following{/other_user}","gists_url":"https://api.github.com/users/scase/gists{/gist_id}","starred_url":"https://api.github.com/users/scase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scase/subscriptions","organizations_url":"https://api.github.com/users/scase/orgs","repos_url":"https://api.github.com/users/scase/repos","events_url":"https://api.github.com/users/scase/events{/privacy}","received_events_url":"https://api.github.com/users/scase/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/scase/apigee-sdk-mgmt-api","description":"A short JavaScript SDK for Apigee Management API ","fork":true,"url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api","forks_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/forks","keys_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/teams","hooks_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/hooks","issue_events_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/issues/events{/number}","events_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/events","assignees_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/assignees{/user}","branches_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/branches{/branch}","tags_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/tags","blobs_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/statuses/{sha}","languages_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/languages","stargazers_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/stargazers","contributors_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/contributors","subscribers_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/subscribers","subscription_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/subscription","commits_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/contents/{+path}","compare_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/merges","archive_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/downloads","issues_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/issues{/number}","pulls_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/pulls{/number}","milestones_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/milestones{/number}","notifications_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/labels{/name}","releases_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/releases{/id}","deployments_url":"https://api.github.com/repos/scase/apigee-sdk-mgmt-api/deployments","created_at":"2016-12-20T13:40:35Z","updated_at":"2016-12-20T13:40:37Z","pushed_at":"2016-12-28T20:08:38Z","git_url":"git://github.com/scase/apigee-sdk-mgmt-api.git","ssh_url":"git@github.com:scase/apigee-sdk-mgmt-api.git","clone_url":"https://github.com/scase/apigee-sdk-mgmt-api.git","svn_url":"https://github.com/scase/apigee-sdk-mgmt-api","homepage":null,"size":148,"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":"dzuluaga:master","ref":"master","sha":"8cfe293685d6971c5008923e757c75b5a922656a","user":{"login":"dzuluaga","id":1755383,"avatar_url":"https://avatars.githubusercontent.com/u/1755383?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuluaga","html_url":"https://github.com/dzuluaga","followers_url":"https://api.github.com/users/dzuluaga/followers","following_url":"https://api.github.com/users/dzuluaga/following{/other_user}","gists_url":"https://api.github.com/users/dzuluaga/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuluaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuluaga/subscriptions","organizations_url":"https://api.github.com/users/dzuluaga/orgs","repos_url":"https://api.github.com/users/dzuluaga/repos","events_url":"https://api.github.com/users/dzuluaga/events{/privacy}","received_events_url":"https://api.github.com/users/dzuluaga/received_events","type":"User","site_admin":false},"repo":{"id":24052154,"name":"apigee-sdk-mgmt-api","full_name":"dzuluaga/apigee-sdk-mgmt-api","owner":{"login":"dzuluaga","id":1755383,"avatar_url":"https://avatars.githubusercontent.com/u/1755383?v=3","gravatar_id":"","url":"https://api.github.com/users/dzuluaga","html_url":"https://github.com/dzuluaga","followers_url":"https://api.github.com/users/dzuluaga/followers","following_url":"https://api.github.com/users/dzuluaga/following{/other_user}","gists_url":"https://api.github.com/users/dzuluaga/gists{/gist_id}","starred_url":"https://api.github.com/users/dzuluaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dzuluaga/subscriptions","organizations_url":"https://api.github.com/users/dzuluaga/orgs","repos_url":"https://api.github.com/users/dzuluaga/repos","events_url":"https://api.github.com/users/dzuluaga/events{/privacy}","received_events_url":"https://api.github.com/users/dzuluaga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api","description":"A short JavaScript SDK for Apigee Management API ","fork":false,"url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api","forks_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/forks","keys_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/teams","hooks_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/hooks","issue_events_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/events{/number}","events_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/events","assignees_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/assignees{/user}","branches_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/branches{/branch}","tags_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/tags","blobs_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/statuses/{sha}","languages_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/languages","stargazers_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/stargazers","contributors_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/contributors","subscribers_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/subscribers","subscription_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/subscription","commits_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/contents/{+path}","compare_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/merges","archive_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/downloads","issues_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues{/number}","pulls_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls{/number}","milestones_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/milestones{/number}","notifications_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/labels{/name}","releases_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/releases{/id}","deployments_url":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/deployments","created_at":"2014-09-15T10:23:23Z","updated_at":"2016-11-23T18:26:08Z","pushed_at":"2016-12-28T20:09:15Z","git_url":"git://github.com/dzuluaga/apigee-sdk-mgmt-api.git","ssh_url":"git@github.com:dzuluaga/apigee-sdk-mgmt-api.git","clone_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api.git","svn_url":"https://github.com/dzuluaga/apigee-sdk-mgmt-api","homepage":null,"size":148,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2"},"html":{"href":"https://github.com/dzuluaga/apigee-sdk-mgmt-api/pull/2"},"issue":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/2"},"comments":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/dzuluaga/apigee-sdk-mgmt-api/statuses/075fa91637ae14c5cc5cf2e3c31ce4703bf18042"}}}}
{"actor":{"display_login":"klevak"}}