{"action":"created","comment":{"url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/comments/68808929","id":68808929,"diff_hunk":"@@ -215,6 +246,199 @@ Projector.prototype.deliverEvent = function(event, callback) {\n   );\n };\n \n+/**\n+ * This callback is displayed as part of the Requester class.\n+ * @callback Projector~GetProfileCallback\n+ * @param {ClientError|InternalError} err - Error (null if no error)\n+ * @param {Object} profile - Profile\n+ * @param {ProfileElement} profile.profile - Profile elements\n+ */\n+\n+/**\n+ * This callback is displayed as part of the Requester class.\n+ * @callback Projector~GetProfileElementCallback\n+ * @param {ClientError|InternalError} err - Error (null if no error)\n+ * @param {ProfileElement} profile - Profile element\n+ */\n+\n+/**\n+ * Replace a whole Profile\n+ * @param {!string} endUserId - End User ID\n+ * @param {!ProfileElement} profileElement - New Profile Elements","path":"lib/projector.js","position":76,"original_position":76,"commit_id":"cdfb49a4a98e9e267183408dbf19adc5312f1f6f","original_commit_id":"cdfb49a4a98e9e267183408dbf19adc5312f1f6f","user":{"login":"aaronroyer","id":56145,"avatar_url":"https://avatars.githubusercontent.com/u/56145?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronroyer","html_url":"https://github.com/aaronroyer","followers_url":"https://api.github.com/users/aaronroyer/followers","following_url":"https://api.github.com/users/aaronroyer/following{/other_user}","gists_url":"https://api.github.com/users/aaronroyer/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronroyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronroyer/subscriptions","organizations_url":"https://api.github.com/users/aaronroyer/orgs","repos_url":"https://api.github.com/users/aaronroyer/repos","events_url":"https://api.github.com/users/aaronroyer/events{/privacy}","received_events_url":"https://api.github.com/users/aaronroyer/received_events","type":"User","site_admin":false},"body":"Should this be a Profile instead of a ProfileElement? I guess the description is \"New Profile Elements\" so maybe that's what a Profile is.","created_at":"2016-06-28T17:58:25Z","updated_at":"2016-06-28T17:58:25Z","html_url":"https://github.com/projectorhq/node-sdk/pull/5#discussion_r68808929","pull_request_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/comments/68808929"},"html":{"href":"https://github.com/projectorhq/node-sdk/pull/5#discussion_r68808929"},"pull_request":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5","id":75405755,"html_url":"https://github.com/projectorhq/node-sdk/pull/5","diff_url":"https://github.com/projectorhq/node-sdk/pull/5.diff","patch_url":"https://github.com/projectorhq/node-sdk/pull/5.patch","issue_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/5","number":5,"state":"open","locked":false,"title":"Add support for Profile Service","user":{"login":"omarkj","id":107387,"avatar_url":"https://avatars.githubusercontent.com/u/107387?v=3","gravatar_id":"","url":"https://api.github.com/users/omarkj","html_url":"https://github.com/omarkj","followers_url":"https://api.github.com/users/omarkj/followers","following_url":"https://api.github.com/users/omarkj/following{/other_user}","gists_url":"https://api.github.com/users/omarkj/gists{/gist_id}","starred_url":"https://api.github.com/users/omarkj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/omarkj/subscriptions","organizations_url":"https://api.github.com/users/omarkj/orgs","repos_url":"https://api.github.com/users/omarkj/repos","events_url":"https://api.github.com/users/omarkj/events{/privacy}","received_events_url":"https://api.github.com/users/omarkj/received_events","type":"User","site_admin":false},"body":"Adds basic support for the Profile Service API.","created_at":"2016-06-28T01:33:17Z","updated_at":"2016-06-28T17:58:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6eb33b400a763f4549ad04ada544f49f200fa3d3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5/commits","review_comments_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5/comments","review_comment_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/5/comments","statuses_url":"https://api.github.com/repos/projectorhq/node-sdk/statuses/cdfb49a4a98e9e267183408dbf19adc5312f1f6f","head":{"label":"projectorhq:profile-support","ref":"profile-support","sha":"cdfb49a4a98e9e267183408dbf19adc5312f1f6f","user":{"login":"projectorhq","id":9705605,"avatar_url":"https://avatars.githubusercontent.com/u/9705605?v=3","gravatar_id":"","url":"https://api.github.com/users/projectorhq","html_url":"https://github.com/projectorhq","followers_url":"https://api.github.com/users/projectorhq/followers","following_url":"https://api.github.com/users/projectorhq/following{/other_user}","gists_url":"https://api.github.com/users/projectorhq/gists{/gist_id}","starred_url":"https://api.github.com/users/projectorhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectorhq/subscriptions","organizations_url":"https://api.github.com/users/projectorhq/orgs","repos_url":"https://api.github.com/users/projectorhq/repos","events_url":"https://api.github.com/users/projectorhq/events{/privacy}","received_events_url":"https://api.github.com/users/projectorhq/received_events","type":"Organization","site_admin":false},"repo":{"id":54221326,"name":"node-sdk","full_name":"projectorhq/node-sdk","owner":{"login":"projectorhq","id":9705605,"avatar_url":"https://avatars.githubusercontent.com/u/9705605?v=3","gravatar_id":"","url":"https://api.github.com/users/projectorhq","html_url":"https://github.com/projectorhq","followers_url":"https://api.github.com/users/projectorhq/followers","following_url":"https://api.github.com/users/projectorhq/following{/other_user}","gists_url":"https://api.github.com/users/projectorhq/gists{/gist_id}","starred_url":"https://api.github.com/users/projectorhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectorhq/subscriptions","organizations_url":"https://api.github.com/users/projectorhq/orgs","repos_url":"https://api.github.com/users/projectorhq/repos","events_url":"https://api.github.com/users/projectorhq/events{/privacy}","received_events_url":"https://api.github.com/users/projectorhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectorhq/node-sdk","description":"Projector Node.js SDK","fork":false,"url":"https://api.github.com/repos/projectorhq/node-sdk","forks_url":"https://api.github.com/repos/projectorhq/node-sdk/forks","keys_url":"https://api.github.com/repos/projectorhq/node-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectorhq/node-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectorhq/node-sdk/teams","hooks_url":"https://api.github.com/repos/projectorhq/node-sdk/hooks","issue_events_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/projectorhq/node-sdk/events","assignees_url":"https://api.github.com/repos/projectorhq/node-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/projectorhq/node-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/projectorhq/node-sdk/tags","blobs_url":"https://api.github.com/repos/projectorhq/node-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectorhq/node-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectorhq/node-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectorhq/node-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectorhq/node-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/projectorhq/node-sdk/languages","stargazers_url":"https://api.github.com/repos/projectorhq/node-sdk/stargazers","contributors_url":"https://api.github.com/repos/projectorhq/node-sdk/contributors","subscribers_url":"https://api.github.com/repos/projectorhq/node-sdk/subscribers","subscription_url":"https://api.github.com/repos/projectorhq/node-sdk/subscription","commits_url":"https://api.github.com/repos/projectorhq/node-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectorhq/node-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectorhq/node-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectorhq/node-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/projectorhq/node-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectorhq/node-sdk/merges","archive_url":"https://api.github.com/repos/projectorhq/node-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectorhq/node-sdk/downloads","issues_url":"https://api.github.com/repos/projectorhq/node-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/projectorhq/node-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/projectorhq/node-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectorhq/node-sdk/labels{/name}","releases_url":"https://api.github.com/repos/projectorhq/node-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/projectorhq/node-sdk/deployments","created_at":"2016-03-18T17:56:59Z","updated_at":"2016-04-19T21:14:22Z","pushed_at":"2016-06-28T01:33:17Z","git_url":"git://github.com/projectorhq/node-sdk.git","ssh_url":"git@github.com:projectorhq/node-sdk.git","clone_url":"https://github.com/projectorhq/node-sdk.git","svn_url":"https://github.com/projectorhq/node-sdk","homepage":null,"size":5553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"projectorhq:master","ref":"master","sha":"c406d9286c2454ffa351bf6b90f3f104d0f1a264","user":{"login":"projectorhq","id":9705605,"avatar_url":"https://avatars.githubusercontent.com/u/9705605?v=3","gravatar_id":"","url":"https://api.github.com/users/projectorhq","html_url":"https://github.com/projectorhq","followers_url":"https://api.github.com/users/projectorhq/followers","following_url":"https://api.github.com/users/projectorhq/following{/other_user}","gists_url":"https://api.github.com/users/projectorhq/gists{/gist_id}","starred_url":"https://api.github.com/users/projectorhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectorhq/subscriptions","organizations_url":"https://api.github.com/users/projectorhq/orgs","repos_url":"https://api.github.com/users/projectorhq/repos","events_url":"https://api.github.com/users/projectorhq/events{/privacy}","received_events_url":"https://api.github.com/users/projectorhq/received_events","type":"Organization","site_admin":false},"repo":{"id":54221326,"name":"node-sdk","full_name":"projectorhq/node-sdk","owner":{"login":"projectorhq","id":9705605,"avatar_url":"https://avatars.githubusercontent.com/u/9705605?v=3","gravatar_id":"","url":"https://api.github.com/users/projectorhq","html_url":"https://github.com/projectorhq","followers_url":"https://api.github.com/users/projectorhq/followers","following_url":"https://api.github.com/users/projectorhq/following{/other_user}","gists_url":"https://api.github.com/users/projectorhq/gists{/gist_id}","starred_url":"https://api.github.com/users/projectorhq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectorhq/subscriptions","organizations_url":"https://api.github.com/users/projectorhq/orgs","repos_url":"https://api.github.com/users/projectorhq/repos","events_url":"https://api.github.com/users/projectorhq/events{/privacy}","received_events_url":"https://api.github.com/users/projectorhq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectorhq/node-sdk","description":"Projector Node.js SDK","fork":false,"url":"https://api.github.com/repos/projectorhq/node-sdk","forks_url":"https://api.github.com/repos/projectorhq/node-sdk/forks","keys_url":"https://api.github.com/repos/projectorhq/node-sdk/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectorhq/node-sdk/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectorhq/node-sdk/teams","hooks_url":"https://api.github.com/repos/projectorhq/node-sdk/hooks","issue_events_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/events{/number}","events_url":"https://api.github.com/repos/projectorhq/node-sdk/events","assignees_url":"https://api.github.com/repos/projectorhq/node-sdk/assignees{/user}","branches_url":"https://api.github.com/repos/projectorhq/node-sdk/branches{/branch}","tags_url":"https://api.github.com/repos/projectorhq/node-sdk/tags","blobs_url":"https://api.github.com/repos/projectorhq/node-sdk/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectorhq/node-sdk/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectorhq/node-sdk/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectorhq/node-sdk/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectorhq/node-sdk/statuses/{sha}","languages_url":"https://api.github.com/repos/projectorhq/node-sdk/languages","stargazers_url":"https://api.github.com/repos/projectorhq/node-sdk/stargazers","contributors_url":"https://api.github.com/repos/projectorhq/node-sdk/contributors","subscribers_url":"https://api.github.com/repos/projectorhq/node-sdk/subscribers","subscription_url":"https://api.github.com/repos/projectorhq/node-sdk/subscription","commits_url":"https://api.github.com/repos/projectorhq/node-sdk/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectorhq/node-sdk/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectorhq/node-sdk/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectorhq/node-sdk/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectorhq/node-sdk/contents/{+path}","compare_url":"https://api.github.com/repos/projectorhq/node-sdk/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectorhq/node-sdk/merges","archive_url":"https://api.github.com/repos/projectorhq/node-sdk/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectorhq/node-sdk/downloads","issues_url":"https://api.github.com/repos/projectorhq/node-sdk/issues{/number}","pulls_url":"https://api.github.com/repos/projectorhq/node-sdk/pulls{/number}","milestones_url":"https://api.github.com/repos/projectorhq/node-sdk/milestones{/number}","notifications_url":"https://api.github.com/repos/projectorhq/node-sdk/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectorhq/node-sdk/labels{/name}","releases_url":"https://api.github.com/repos/projectorhq/node-sdk/releases{/id}","deployments_url":"https://api.github.com/repos/projectorhq/node-sdk/deployments","created_at":"2016-03-18T17:56:59Z","updated_at":"2016-04-19T21:14:22Z","pushed_at":"2016-06-28T01:33:17Z","git_url":"git://github.com/projectorhq/node-sdk.git","ssh_url":"git@github.com:projectorhq/node-sdk.git","clone_url":"https://github.com/projectorhq/node-sdk.git","svn_url":"https://github.com/projectorhq/node-sdk","homepage":null,"size":5553,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5"},"html":{"href":"https://github.com/projectorhq/node-sdk/pull/5"},"issue":{"href":"https://api.github.com/repos/projectorhq/node-sdk/issues/5"},"comments":{"href":"https://api.github.com/repos/projectorhq/node-sdk/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectorhq/node-sdk/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/projectorhq/node-sdk/statuses/cdfb49a4a98e9e267183408dbf19adc5312f1f6f"}}}}
{"actor":{"display_login":"aaronroyer"}}