{"action":"opened","number":166,"pull_request":{"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166","id":77344942,"html_url":"https://github.com/stormpath/stormpath-sdk-php/pull/166","diff_url":"https://github.com/stormpath/stormpath-sdk-php/pull/166.diff","patch_url":"https://github.com/stormpath/stormpath-sdk-php/pull/166.patch","issue_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/166","number":166,"state":"open","locked":false,"title":"adds ability to work with account creation policy emails","user":{"login":"bretterer","id":1906920,"avatar_url":"https://avatars.githubusercontent.com/u/1906920?v=3","gravatar_id":"","url":"https://api.github.com/users/bretterer","html_url":"https://github.com/bretterer","followers_url":"https://api.github.com/users/bretterer/followers","following_url":"https://api.github.com/users/bretterer/following{/other_user}","gists_url":"https://api.github.com/users/bretterer/gists{/gist_id}","starred_url":"https://api.github.com/users/bretterer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bretterer/subscriptions","organizations_url":"https://api.github.com/users/bretterer/orgs","repos_url":"https://api.github.com/users/bretterer/repos","events_url":"https://api.github.com/users/bretterer/events{/privacy}","received_events_url":"https://api.github.com/users/bretterer/received_events","type":"User","site_admin":false},"body":"This PR resolves #150.  It provides 3 new methods on the Account Creation Policy resource.  \r\n\r\n```\r\n$verificationEmailTemplates = $accountCreationPolicy->getVerificationEmailTemplates();\r\n$verificationSuccessEmailTemplates = $accountCreationPolicy->getVerificationSuccessEmailTemplates();\r\n$welcomeEmailTemplates = $accountCreationPolicy->getWelcomeEmailTemplates();\r\n```\r\n\r\nWorking with the Email templates can be found in PR #165 ","created_at":"2016-07-13T19:13:35Z","updated_at":"2016-07-13T19:13:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27475dbe2df4f00ceab7d20339c0e04911e72520","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166/commits","review_comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166/comments","review_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/166/comments","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/1babfad4c1552c3bbc6d841630d7063fa93a4b3e","head":{"label":"stormpath:feature/issue_150","ref":"feature/issue_150","sha":"1babfad4c1552c3bbc6d841630d7063fa93a4b3e","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":5237662,"name":"stormpath-sdk-php","full_name":"stormpath/stormpath-sdk-php","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-php","description":"PHP SDK for the Stormpath User Management and Authentication REST+JSON API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/deployments","created_at":"2012-07-30T20:47:09Z","updated_at":"2016-05-22T07:55:28Z","pushed_at":"2016-07-13T19:13:35Z","git_url":"git://github.com/stormpath/stormpath-sdk-php.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-php.git","clone_url":"https://github.com/stormpath/stormpath-sdk-php.git","svn_url":"https://github.com/stormpath/stormpath-sdk-php","homepage":"","size":1390,"stargazers_count":50,"watchers_count":50,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":22,"forks":38,"open_issues":22,"watchers":50,"default_branch":"dev"}},"base":{"label":"stormpath:dev","ref":"dev","sha":"ea94b40210712f45a6b1479029af81bf5901bc49","user":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"repo":{"id":5237662,"name":"stormpath-sdk-php","full_name":"stormpath/stormpath-sdk-php","owner":{"login":"stormpath","id":1377453,"avatar_url":"https://avatars.githubusercontent.com/u/1377453?v=3","gravatar_id":"","url":"https://api.github.com/users/stormpath","html_url":"https://github.com/stormpath","followers_url":"https://api.github.com/users/stormpath/followers","following_url":"https://api.github.com/users/stormpath/following{/other_user}","gists_url":"https://api.github.com/users/stormpath/gists{/gist_id}","starred_url":"https://api.github.com/users/stormpath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stormpath/subscriptions","organizations_url":"https://api.github.com/users/stormpath/orgs","repos_url":"https://api.github.com/users/stormpath/repos","events_url":"https://api.github.com/users/stormpath/events{/privacy}","received_events_url":"https://api.github.com/users/stormpath/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stormpath/stormpath-sdk-php","description":"PHP SDK for the Stormpath User Management and Authentication REST+JSON API","fork":false,"url":"https://api.github.com/repos/stormpath/stormpath-sdk-php","forks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/forks","keys_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/teams","hooks_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/hooks","issue_events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/events{/number}","events_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/events","assignees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/assignees{/user}","branches_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/branches{/branch}","tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/tags","blobs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/{sha}","languages_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/languages","stargazers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/stargazers","contributors_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contributors","subscribers_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscribers","subscription_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/subscription","commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/contents/{+path}","compare_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/merges","archive_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/downloads","issues_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues{/number}","pulls_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls{/number}","milestones_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/milestones{/number}","notifications_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/labels{/name}","releases_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/releases{/id}","deployments_url":"https://api.github.com/repos/stormpath/stormpath-sdk-php/deployments","created_at":"2012-07-30T20:47:09Z","updated_at":"2016-05-22T07:55:28Z","pushed_at":"2016-07-13T19:13:35Z","git_url":"git://github.com/stormpath/stormpath-sdk-php.git","ssh_url":"git@github.com:stormpath/stormpath-sdk-php.git","clone_url":"https://github.com/stormpath/stormpath-sdk-php.git","svn_url":"https://github.com/stormpath/stormpath-sdk-php","homepage":"","size":1390,"stargazers_count":50,"watchers_count":50,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":38,"mirror_url":null,"open_issues_count":22,"forks":38,"open_issues":22,"watchers":50,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166"},"html":{"href":"https://github.com/stormpath/stormpath-sdk-php/pull/166"},"issue":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/166"},"comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/stormpath/stormpath-sdk-php/statuses/1babfad4c1552c3bbc6d841630d7063fa93a4b3e"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"bretterer"}}