{"action":"opened","number":12788,"pull_request":{"url":"https://api.github.com/repos/matomo-org/matomo/pulls/12788","id":184850413,"html_url":"https://github.com/matomo-org/matomo/pull/12788","diff_url":"https://github.com/matomo-org/matomo/pull/12788.diff","patch_url":"https://github.com/matomo-org/matomo/pull/12788.patch","issue_url":"https://api.github.com/repos/matomo-org/matomo/issues/12788","number":12788,"state":"open","locked":false,"title":"Validate goal pattern and type in API","user":{"login":"sgiehl","id":1579355,"avatar_url":"https://avatars3.githubusercontent.com/u/1579355?v=4","gravatar_id":"","url":"https://api.github.com/users/sgiehl","html_url":"https://github.com/sgiehl","followers_url":"https://api.github.com/users/sgiehl/followers","following_url":"https://api.github.com/users/sgiehl/following{/other_user}","gists_url":"https://api.github.com/users/sgiehl/gists{/gist_id}","starred_url":"https://api.github.com/users/sgiehl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgiehl/subscriptions","organizations_url":"https://api.github.com/users/sgiehl/orgs","repos_url":"https://api.github.com/users/sgiehl/repos","events_url":"https://api.github.com/users/sgiehl/events{/privacy}","received_events_url":"https://api.github.com/users/sgiehl/received_events","type":"User","site_admin":false},"body":"Goal pattern type and pattern regexes will now be validated in API when creating or updating goals.\r\n\r\nregs #12683 ","created_at":"2018-04-29T19:33:13Z","updated_at":"2018-04-29T19:33:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":176285791,"url":"https://api.github.com/repos/matomo-org/matomo/labels/Needs%20Review","name":"Needs Review","color":"fad8c7","default":false}],"milestone":{"url":"https://api.github.com/repos/matomo-org/matomo/milestones/116","html_url":"https://github.com/matomo-org/matomo/milestone/116","labels_url":"https://api.github.com/repos/matomo-org/matomo/milestones/116/labels","id":3196534,"number":116,"title":"3.5.0","description":"","creator":{"login":"mattab","id":466765,"avatar_url":"https://avatars3.githubusercontent.com/u/466765?v=4","gravatar_id":"","url":"https://api.github.com/users/mattab","html_url":"https://github.com/mattab","followers_url":"https://api.github.com/users/mattab/followers","following_url":"https://api.github.com/users/mattab/following{/other_user}","gists_url":"https://api.github.com/users/mattab/gists{/gist_id}","starred_url":"https://api.github.com/users/mattab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattab/subscriptions","organizations_url":"https://api.github.com/users/mattab/orgs","repos_url":"https://api.github.com/users/mattab/repos","events_url":"https://api.github.com/users/mattab/events{/privacy}","received_events_url":"https://api.github.com/users/mattab/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":53,"state":"open","created_at":"2018-03-19T02:07:52Z","updated_at":"2018-04-29T19:33:13Z","due_on":"2018-04-11T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/matomo-org/matomo/pulls/12788/commits","review_comments_url":"https://api.github.com/repos/matomo-org/matomo/pulls/12788/comments","review_comment_url":"https://api.github.com/repos/matomo-org/matomo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matomo-org/matomo/issues/12788/comments","statuses_url":"https://api.github.com/repos/matomo-org/matomo/statuses/e194f19501796582850b566fc8a66331353376bd","head":{"label":"matomo-org:validategoals","ref":"validategoals","sha":"e194f19501796582850b566fc8a66331353376bd","user":{"login":"matomo-org","id":698038,"avatar_url":"https://avatars1.githubusercontent.com/u/698038?v=4","gravatar_id":"","url":"https://api.github.com/users/matomo-org","html_url":"https://github.com/matomo-org","followers_url":"https://api.github.com/users/matomo-org/followers","following_url":"https://api.github.com/users/matomo-org/following{/other_user}","gists_url":"https://api.github.com/users/matomo-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matomo-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matomo-org/subscriptions","organizations_url":"https://api.github.com/users/matomo-org/orgs","repos_url":"https://api.github.com/users/matomo-org/repos","events_url":"https://api.github.com/users/matomo-org/events{/privacy}","received_events_url":"https://api.github.com/users/matomo-org/received_events","type":"Organization","site_admin":false},"repo":{"id":1548202,"name":"matomo","full_name":"matomo-org/matomo","owner":{"login":"matomo-org","id":698038,"avatar_url":"https://avatars1.githubusercontent.com/u/698038?v=4","gravatar_id":"","url":"https://api.github.com/users/matomo-org","html_url":"https://github.com/matomo-org","followers_url":"https://api.github.com/users/matomo-org/followers","following_url":"https://api.github.com/users/matomo-org/following{/other_user}","gists_url":"https://api.github.com/users/matomo-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matomo-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matomo-org/subscriptions","organizations_url":"https://api.github.com/users/matomo-org/orgs","repos_url":"https://api.github.com/users/matomo-org/repos","events_url":"https://api.github.com/users/matomo-org/events{/privacy}","received_events_url":"https://api.github.com/users/matomo-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matomo-org/matomo","description":"Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests! ","fork":false,"url":"https://api.github.com/repos/matomo-org/matomo","forks_url":"https://api.github.com/repos/matomo-org/matomo/forks","keys_url":"https://api.github.com/repos/matomo-org/matomo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matomo-org/matomo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matomo-org/matomo/teams","hooks_url":"https://api.github.com/repos/matomo-org/matomo/hooks","issue_events_url":"https://api.github.com/repos/matomo-org/matomo/issues/events{/number}","events_url":"https://api.github.com/repos/matomo-org/matomo/events","assignees_url":"https://api.github.com/repos/matomo-org/matomo/assignees{/user}","branches_url":"https://api.github.com/repos/matomo-org/matomo/branches{/branch}","tags_url":"https://api.github.com/repos/matomo-org/matomo/tags","blobs_url":"https://api.github.com/repos/matomo-org/matomo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matomo-org/matomo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matomo-org/matomo/git/refs{/sha}","trees_url":"https://api.github.com/repos/matomo-org/matomo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matomo-org/matomo/statuses/{sha}","languages_url":"https://api.github.com/repos/matomo-org/matomo/languages","stargazers_url":"https://api.github.com/repos/matomo-org/matomo/stargazers","contributors_url":"https://api.github.com/repos/matomo-org/matomo/contributors","subscribers_url":"https://api.github.com/repos/matomo-org/matomo/subscribers","subscription_url":"https://api.github.com/repos/matomo-org/matomo/subscription","commits_url":"https://api.github.com/repos/matomo-org/matomo/commits{/sha}","git_commits_url":"https://api.github.com/repos/matomo-org/matomo/git/commits{/sha}","comments_url":"https://api.github.com/repos/matomo-org/matomo/comments{/number}","issue_comment_url":"https://api.github.com/repos/matomo-org/matomo/issues/comments{/number}","contents_url":"https://api.github.com/repos/matomo-org/matomo/contents/{+path}","compare_url":"https://api.github.com/repos/matomo-org/matomo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matomo-org/matomo/merges","archive_url":"https://api.github.com/repos/matomo-org/matomo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matomo-org/matomo/downloads","issues_url":"https://api.github.com/repos/matomo-org/matomo/issues{/number}","pulls_url":"https://api.github.com/repos/matomo-org/matomo/pulls{/number}","milestones_url":"https://api.github.com/repos/matomo-org/matomo/milestones{/number}","notifications_url":"https://api.github.com/repos/matomo-org/matomo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matomo-org/matomo/labels{/name}","releases_url":"https://api.github.com/repos/matomo-org/matomo/releases{/id}","deployments_url":"https://api.github.com/repos/matomo-org/matomo/deployments","created_at":"2011-03-30T21:18:17Z","updated_at":"2018-04-29T11:37:44Z","pushed_at":"2018-04-29T19:30:20Z","git_url":"git://github.com/matomo-org/matomo.git","ssh_url":"git@github.com:matomo-org/matomo.git","clone_url":"https://github.com/matomo-org/matomo.git","svn_url":"https://github.com/matomo-org/matomo","homepage":"https://matomo.org/","size":190955,"stargazers_count":9211,"watchers_count":9211,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1546,"mirror_url":null,"archived":false,"open_issues_count":1619,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1546,"open_issues":1619,"watchers":9211,"default_branch":"3.x-dev"}},"base":{"label":"matomo-org:3.x-dev","ref":"3.x-dev","sha":"a94309570b18a63b908dc94e9dec4aa173fcd459","user":{"login":"matomo-org","id":698038,"avatar_url":"https://avatars1.githubusercontent.com/u/698038?v=4","gravatar_id":"","url":"https://api.github.com/users/matomo-org","html_url":"https://github.com/matomo-org","followers_url":"https://api.github.com/users/matomo-org/followers","following_url":"https://api.github.com/users/matomo-org/following{/other_user}","gists_url":"https://api.github.com/users/matomo-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matomo-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matomo-org/subscriptions","organizations_url":"https://api.github.com/users/matomo-org/orgs","repos_url":"https://api.github.com/users/matomo-org/repos","events_url":"https://api.github.com/users/matomo-org/events{/privacy}","received_events_url":"https://api.github.com/users/matomo-org/received_events","type":"Organization","site_admin":false},"repo":{"id":1548202,"name":"matomo","full_name":"matomo-org/matomo","owner":{"login":"matomo-org","id":698038,"avatar_url":"https://avatars1.githubusercontent.com/u/698038?v=4","gravatar_id":"","url":"https://api.github.com/users/matomo-org","html_url":"https://github.com/matomo-org","followers_url":"https://api.github.com/users/matomo-org/followers","following_url":"https://api.github.com/users/matomo-org/following{/other_user}","gists_url":"https://api.github.com/users/matomo-org/gists{/gist_id}","starred_url":"https://api.github.com/users/matomo-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matomo-org/subscriptions","organizations_url":"https://api.github.com/users/matomo-org/orgs","repos_url":"https://api.github.com/users/matomo-org/repos","events_url":"https://api.github.com/users/matomo-org/events{/privacy}","received_events_url":"https://api.github.com/users/matomo-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/matomo-org/matomo","description":"Liberating Web Analytics. Star us on Github? +1. Matomo is the leading open alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights. Privacy is built-in. We love Pull Requests! ","fork":false,"url":"https://api.github.com/repos/matomo-org/matomo","forks_url":"https://api.github.com/repos/matomo-org/matomo/forks","keys_url":"https://api.github.com/repos/matomo-org/matomo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matomo-org/matomo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matomo-org/matomo/teams","hooks_url":"https://api.github.com/repos/matomo-org/matomo/hooks","issue_events_url":"https://api.github.com/repos/matomo-org/matomo/issues/events{/number}","events_url":"https://api.github.com/repos/matomo-org/matomo/events","assignees_url":"https://api.github.com/repos/matomo-org/matomo/assignees{/user}","branches_url":"https://api.github.com/repos/matomo-org/matomo/branches{/branch}","tags_url":"https://api.github.com/repos/matomo-org/matomo/tags","blobs_url":"https://api.github.com/repos/matomo-org/matomo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matomo-org/matomo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matomo-org/matomo/git/refs{/sha}","trees_url":"https://api.github.com/repos/matomo-org/matomo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matomo-org/matomo/statuses/{sha}","languages_url":"https://api.github.com/repos/matomo-org/matomo/languages","stargazers_url":"https://api.github.com/repos/matomo-org/matomo/stargazers","contributors_url":"https://api.github.com/repos/matomo-org/matomo/contributors","subscribers_url":"https://api.github.com/repos/matomo-org/matomo/subscribers","subscription_url":"https://api.github.com/repos/matomo-org/matomo/subscription","commits_url":"https://api.github.com/repos/matomo-org/matomo/commits{/sha}","git_commits_url":"https://api.github.com/repos/matomo-org/matomo/git/commits{/sha}","comments_url":"https://api.github.com/repos/matomo-org/matomo/comments{/number}","issue_comment_url":"https://api.github.com/repos/matomo-org/matomo/issues/comments{/number}","contents_url":"https://api.github.com/repos/matomo-org/matomo/contents/{+path}","compare_url":"https://api.github.com/repos/matomo-org/matomo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matomo-org/matomo/merges","archive_url":"https://api.github.com/repos/matomo-org/matomo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matomo-org/matomo/downloads","issues_url":"https://api.github.com/repos/matomo-org/matomo/issues{/number}","pulls_url":"https://api.github.com/repos/matomo-org/matomo/pulls{/number}","milestones_url":"https://api.github.com/repos/matomo-org/matomo/milestones{/number}","notifications_url":"https://api.github.com/repos/matomo-org/matomo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matomo-org/matomo/labels{/name}","releases_url":"https://api.github.com/repos/matomo-org/matomo/releases{/id}","deployments_url":"https://api.github.com/repos/matomo-org/matomo/deployments","created_at":"2011-03-30T21:18:17Z","updated_at":"2018-04-29T11:37:44Z","pushed_at":"2018-04-29T19:30:20Z","git_url":"git://github.com/matomo-org/matomo.git","ssh_url":"git@github.com:matomo-org/matomo.git","clone_url":"https://github.com/matomo-org/matomo.git","svn_url":"https://github.com/matomo-org/matomo","homepage":"https://matomo.org/","size":190955,"stargazers_count":9211,"watchers_count":9211,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1546,"mirror_url":null,"archived":false,"open_issues_count":1619,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":1546,"open_issues":1619,"watchers":9211,"default_branch":"3.x-dev"}},"_links":{"self":{"href":"https://api.github.com/repos/matomo-org/matomo/pulls/12788"},"html":{"href":"https://github.com/matomo-org/matomo/pull/12788"},"issue":{"href":"https://api.github.com/repos/matomo-org/matomo/issues/12788"},"comments":{"href":"https://api.github.com/repos/matomo-org/matomo/issues/12788/comments"},"review_comments":{"href":"https://api.github.com/repos/matomo-org/matomo/pulls/12788/comments"},"review_comment":{"href":"https://api.github.com/repos/matomo-org/matomo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matomo-org/matomo/pulls/12788/commits"},"statuses":{"href":"https://api.github.com/repos/matomo-org/matomo/statuses/e194f19501796582850b566fc8a66331353376bd"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":46,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"sgiehl"}}