{"action":"created","comment":{"url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments/62805540","id":62805540,"diff_hunk":"@@ -0,0 +1,44 @@\n+<?php\n+\n+/*\n+ * This file is part of Phraseanet\n+ *\n+ * (c) 2005-2014 Alchemy","path":"lib/Alchemy/Phrasea/Order/ValidationNotifierRegistry.php","position":6,"original_position":6,"commit_id":"957d588d6fc6e59bb159ab410e797e1a04e91f41","original_commit_id":"957d588d6fc6e59bb159ab410e797e1a04e91f41","user":{"login":"bburnichon","id":2437286,"avatar_url":"https://avatars.githubusercontent.com/u/2437286?v=3","gravatar_id":"","url":"https://api.github.com/users/bburnichon","html_url":"https://github.com/bburnichon","followers_url":"https://api.github.com/users/bburnichon/followers","following_url":"https://api.github.com/users/bburnichon/following{/other_user}","gists_url":"https://api.github.com/users/bburnichon/gists{/gist_id}","starred_url":"https://api.github.com/users/bburnichon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bburnichon/subscriptions","organizations_url":"https://api.github.com/users/bburnichon/orgs","repos_url":"https://api.github.com/users/bburnichon/repos","events_url":"https://api.github.com/users/bburnichon/events{/privacy}","received_events_url":"https://api.github.com/users/bburnichon/received_events","type":"User","site_admin":false},"body":"Copyright date","created_at":"2016-05-11T07:57:59Z","updated_at":"2016-05-11T07:57:59Z","html_url":"https://github.com/alchemy-fr/Phraseanet/pull/1830#discussion_r62805540","pull_request_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830","_links":{"self":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments/62805540"},"html":{"href":"https://github.com/alchemy-fr/Phraseanet/pull/1830#discussion_r62805540"},"pull_request":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830"}}},"pull_request":{"url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830","id":69535558,"html_url":"https://github.com/alchemy-fr/Phraseanet/pull/1830","diff_url":"https://github.com/alchemy-fr/Phraseanet/pull/1830.diff","patch_url":"https://github.com/alchemy-fr/Phraseanet/pull/1830.patch","issue_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1830","number":1830,"state":"open","locked":false,"title":"Add webhook notifications for order events","user":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"body":"## Changelog\r\n### Adds\r\n  - Dynamic selection of notification method for order events based on the method used to create the order (API vs Prod)\r\n","created_at":"2016-05-10T16:21:44Z","updated_at":"2016-05-11T07:57:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c28fd4d69804da0a0e561bc095fff0f8cf0a943a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830/commits","review_comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830/comments","review_comment_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1830/comments","statuses_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/957d588d6fc6e59bb159ab410e797e1a04e91f41","head":{"label":"aztech-dev:feature/order-webhooks","ref":"feature/order-webhooks","sha":"957d588d6fc6e59bb159ab410e797e1a04e91f41","user":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"repo":{"id":34103750,"name":"Phraseanet","full_name":"aztech-dev/Phraseanet","owner":{"login":"aztech-dev","id":5682430,"avatar_url":"https://avatars.githubusercontent.com/u/5682430?v=3","gravatar_id":"","url":"https://api.github.com/users/aztech-dev","html_url":"https://github.com/aztech-dev","followers_url":"https://api.github.com/users/aztech-dev/followers","following_url":"https://api.github.com/users/aztech-dev/following{/other_user}","gists_url":"https://api.github.com/users/aztech-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/aztech-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aztech-dev/subscriptions","organizations_url":"https://api.github.com/users/aztech-dev/orgs","repos_url":"https://api.github.com/users/aztech-dev/repos","events_url":"https://api.github.com/users/aztech-dev/events{/privacy}","received_events_url":"https://api.github.com/users/aztech-dev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aztech-dev/Phraseanet","description":"Digital Asset Management PHP app","fork":true,"url":"https://api.github.com/repos/aztech-dev/Phraseanet","forks_url":"https://api.github.com/repos/aztech-dev/Phraseanet/forks","keys_url":"https://api.github.com/repos/aztech-dev/Phraseanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aztech-dev/Phraseanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aztech-dev/Phraseanet/teams","hooks_url":"https://api.github.com/repos/aztech-dev/Phraseanet/hooks","issue_events_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues/events{/number}","events_url":"https://api.github.com/repos/aztech-dev/Phraseanet/events","assignees_url":"https://api.github.com/repos/aztech-dev/Phraseanet/assignees{/user}","branches_url":"https://api.github.com/repos/aztech-dev/Phraseanet/branches{/branch}","tags_url":"https://api.github.com/repos/aztech-dev/Phraseanet/tags","blobs_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aztech-dev/Phraseanet/statuses/{sha}","languages_url":"https://api.github.com/repos/aztech-dev/Phraseanet/languages","stargazers_url":"https://api.github.com/repos/aztech-dev/Phraseanet/stargazers","contributors_url":"https://api.github.com/repos/aztech-dev/Phraseanet/contributors","subscribers_url":"https://api.github.com/repos/aztech-dev/Phraseanet/subscribers","subscription_url":"https://api.github.com/repos/aztech-dev/Phraseanet/subscription","commits_url":"https://api.github.com/repos/aztech-dev/Phraseanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/aztech-dev/Phraseanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/aztech-dev/Phraseanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/aztech-dev/Phraseanet/contents/{+path}","compare_url":"https://api.github.com/repos/aztech-dev/Phraseanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aztech-dev/Phraseanet/merges","archive_url":"https://api.github.com/repos/aztech-dev/Phraseanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aztech-dev/Phraseanet/downloads","issues_url":"https://api.github.com/repos/aztech-dev/Phraseanet/issues{/number}","pulls_url":"https://api.github.com/repos/aztech-dev/Phraseanet/pulls{/number}","milestones_url":"https://api.github.com/repos/aztech-dev/Phraseanet/milestones{/number}","notifications_url":"https://api.github.com/repos/aztech-dev/Phraseanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aztech-dev/Phraseanet/labels{/name}","releases_url":"https://api.github.com/repos/aztech-dev/Phraseanet/releases{/id}","deployments_url":"https://api.github.com/repos/aztech-dev/Phraseanet/deployments","created_at":"2015-04-17T07:51:50Z","updated_at":"2016-01-13T17:18:43Z","pushed_at":"2016-04-29T00:26:39Z","git_url":"git://github.com/aztech-dev/Phraseanet.git","ssh_url":"git@github.com:aztech-dev/Phraseanet.git","clone_url":"https://github.com/aztech-dev/Phraseanet.git","svn_url":"https://github.com/aztech-dev/Phraseanet","homepage":"http://www.phraseanet.com","size":239374,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"alchemy-fr:4.0","ref":"4.0","sha":"5fcf8c4716b8964a100b148853c987545f9537f8","user":{"login":"alchemy-fr","id":621336,"avatar_url":"https://avatars.githubusercontent.com/u/621336?v=3","gravatar_id":"","url":"https://api.github.com/users/alchemy-fr","html_url":"https://github.com/alchemy-fr","followers_url":"https://api.github.com/users/alchemy-fr/followers","following_url":"https://api.github.com/users/alchemy-fr/following{/other_user}","gists_url":"https://api.github.com/users/alchemy-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/alchemy-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchemy-fr/subscriptions","organizations_url":"https://api.github.com/users/alchemy-fr/orgs","repos_url":"https://api.github.com/users/alchemy-fr/repos","events_url":"https://api.github.com/users/alchemy-fr/events{/privacy}","received_events_url":"https://api.github.com/users/alchemy-fr/received_events","type":"Organization","site_admin":false},"repo":{"id":1374101,"name":"Phraseanet","full_name":"alchemy-fr/Phraseanet","owner":{"login":"alchemy-fr","id":621336,"avatar_url":"https://avatars.githubusercontent.com/u/621336?v=3","gravatar_id":"","url":"https://api.github.com/users/alchemy-fr","html_url":"https://github.com/alchemy-fr","followers_url":"https://api.github.com/users/alchemy-fr/followers","following_url":"https://api.github.com/users/alchemy-fr/following{/other_user}","gists_url":"https://api.github.com/users/alchemy-fr/gists{/gist_id}","starred_url":"https://api.github.com/users/alchemy-fr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alchemy-fr/subscriptions","organizations_url":"https://api.github.com/users/alchemy-fr/orgs","repos_url":"https://api.github.com/users/alchemy-fr/repos","events_url":"https://api.github.com/users/alchemy-fr/events{/privacy}","received_events_url":"https://api.github.com/users/alchemy-fr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alchemy-fr/Phraseanet","description":"Digital Asset Management PHP app","fork":false,"url":"https://api.github.com/repos/alchemy-fr/Phraseanet","forks_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/forks","keys_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/teams","hooks_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/hooks","issue_events_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/events{/number}","events_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/events","assignees_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/assignees{/user}","branches_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/branches{/branch}","tags_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/tags","blobs_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/{sha}","languages_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/languages","stargazers_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/stargazers","contributors_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/contributors","subscribers_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/subscribers","subscription_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/subscription","commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/contents/{+path}","compare_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/merges","archive_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/downloads","issues_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues{/number}","pulls_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls{/number}","milestones_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/milestones{/number}","notifications_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/labels{/name}","releases_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/releases{/id}","deployments_url":"https://api.github.com/repos/alchemy-fr/Phraseanet/deployments","created_at":"2011-02-16T14:55:31Z","updated_at":"2016-04-06T00:11:45Z","pushed_at":"2016-05-10T16:42:53Z","git_url":"git://github.com/alchemy-fr/Phraseanet.git","ssh_url":"git@github.com:alchemy-fr/Phraseanet.git","clone_url":"https://github.com/alchemy-fr/Phraseanet.git","svn_url":"https://github.com/alchemy-fr/Phraseanet","homepage":"http://www.phraseanet.com","size":240590,"stargazers_count":75,"watchers_count":75,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":3,"forks":31,"open_issues":3,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830"},"html":{"href":"https://github.com/alchemy-fr/Phraseanet/pull/1830"},"issue":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1830"},"comments":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/issues/1830/comments"},"review_comments":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830/comments"},"review_comment":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/pulls/1830/commits"},"statuses":{"href":"https://api.github.com/repos/alchemy-fr/Phraseanet/statuses/957d588d6fc6e59bb159ab410e797e1a04e91f41"}}}}