{"action":"opened","issue":{"url":"https://api.github.com/repos/badges/shields/issues/2050","repository_url":"https://api.github.com/repos/badges/shields","labels_url":"https://api.github.com/repos/badges/shields/issues/2050/labels{/name}","comments_url":"https://api.github.com/repos/badges/shields/issues/2050/comments","events_url":"https://api.github.com/repos/badges/shields/issues/2050/events","html_url":"https://github.com/badges/shields/issues/2050","id":356979344,"node_id":"MDU6SXNzdWUzNTY5NzkzNDQ=","number":2050,"title":"Reduce duplication in badge regex/url patterns","user":{"login":"chris48s","id":6025893,"node_id":"MDQ6VXNlcjYwMjU4OTM=","avatar_url":"https://avatars1.githubusercontent.com/u/6025893?v=4","gravatar_id":"","url":"https://api.github.com/users/chris48s","html_url":"https://github.com/chris48s","followers_url":"https://api.github.com/users/chris48s/followers","following_url":"https://api.github.com/users/chris48s/following{/other_user}","gists_url":"https://api.github.com/users/chris48s/gists{/gist_id}","starred_url":"https://api.github.com/users/chris48s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chris48s/subscriptions","organizations_url":"https://api.github.com/users/chris48s/orgs","repos_url":"https://api.github.com/users/chris48s/repos","events_url":"https://api.github.com/users/chris48s/events{/privacy}","received_events_url":"https://api.github.com/users/chris48s/received_events","type":"User","site_admin":false},"labels":[{"id":585616182,"node_id":"MDU6TGFiZWw1ODU2MTYxODI=","url":"https://api.github.com/repos/badges/shields/labels/core","name":"core","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T21:16:26Z","updated_at":"2018-09-04T21:16:26Z","closed_at":null,"author_association":"MEMBER","body":"Can we use something like [url-pattern](https://github.com/snd/url-pattern) or [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to define routes in a nicer way so we don't have to define this twice?\r\n\r\nrelevant discussions:\r\nhttps://github.com/badges/shields/pull/2042#discussion_r214523205\r\nhttps://github.com/badges/shields/pull/1582#discussion_r176912366"}}
{"actor":{"display_login":"chris48s"}}