{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/PWesterdale/toolkit/pulls/1","id":28375841,"html_url":"https://github.com/PWesterdale/toolkit/pull/1","diff_url":"https://github.com/PWesterdale/toolkit/pull/1.diff","patch_url":"https://github.com/PWesterdale/toolkit/pull/1.patch","issue_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/1","number":1,"state":"open","locked":false,"title":"add hasQuery function to check for query string","user":{"login":"PWesterdale","id":1270719,"avatar_url":"https://avatars.githubusercontent.com/u/1270719?v=3","gravatar_id":"","url":"https://api.github.com/users/PWesterdale","html_url":"https://github.com/PWesterdale","followers_url":"https://api.github.com/users/PWesterdale/followers","following_url":"https://api.github.com/users/PWesterdale/following{/other_user}","gists_url":"https://api.github.com/users/PWesterdale/gists{/gist_id}","starred_url":"https://api.github.com/users/PWesterdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWesterdale/subscriptions","organizations_url":"https://api.github.com/users/PWesterdale/orgs","repos_url":"https://api.github.com/users/PWesterdale/repos","events_url":"https://api.github.com/users/PWesterdale/events{/privacy}","received_events_url":"https://api.github.com/users/PWesterdale/received_events","type":"User","site_admin":false},"body":"I'm not sure there is any scope for a URL to have a '?' if there is no query string, so I think this ought to be fine.","created_at":"2015-01-30T16:56:56Z","updated_at":"2015-01-30T16:56:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PWesterdale/toolkit/pulls/1/commits","review_comments_url":"https://api.github.com/repos/PWesterdale/toolkit/pulls/1/comments","review_comment_url":"https://api.github.com/repos/PWesterdale/toolkit/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/1/comments","statuses_url":"https://api.github.com/repos/PWesterdale/toolkit/statuses/de5d8c4efe17a0fc7a9709fe7cd1ef69de560645","head":{"label":"PWesterdale:PWesterdale-url-hasQuery","ref":"PWesterdale-url-hasQuery","sha":"de5d8c4efe17a0fc7a9709fe7cd1ef69de560645","user":{"login":"PWesterdale","id":1270719,"avatar_url":"https://avatars.githubusercontent.com/u/1270719?v=3","gravatar_id":"","url":"https://api.github.com/users/PWesterdale","html_url":"https://github.com/PWesterdale","followers_url":"https://api.github.com/users/PWesterdale/followers","following_url":"https://api.github.com/users/PWesterdale/following{/other_user}","gists_url":"https://api.github.com/users/PWesterdale/gists{/gist_id}","starred_url":"https://api.github.com/users/PWesterdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWesterdale/subscriptions","organizations_url":"https://api.github.com/users/PWesterdale/orgs","repos_url":"https://api.github.com/users/PWesterdale/repos","events_url":"https://api.github.com/users/PWesterdale/events{/privacy}","received_events_url":"https://api.github.com/users/PWesterdale/received_events","type":"User","site_admin":false},"repo":{"id":30081410,"name":"toolkit","full_name":"PWesterdale/toolkit","owner":{"login":"PWesterdale","id":1270719,"avatar_url":"https://avatars.githubusercontent.com/u/1270719?v=3","gravatar_id":"","url":"https://api.github.com/users/PWesterdale","html_url":"https://github.com/PWesterdale","followers_url":"https://api.github.com/users/PWesterdale/followers","following_url":"https://api.github.com/users/PWesterdale/following{/other_user}","gists_url":"https://api.github.com/users/PWesterdale/gists{/gist_id}","starred_url":"https://api.github.com/users/PWesterdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWesterdale/subscriptions","organizations_url":"https://api.github.com/users/PWesterdale/orgs","repos_url":"https://api.github.com/users/PWesterdale/repos","events_url":"https://api.github.com/users/PWesterdale/events{/privacy}","received_events_url":"https://api.github.com/users/PWesterdale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PWesterdale/toolkit","description":"The Kirby toolkit","fork":true,"url":"https://api.github.com/repos/PWesterdale/toolkit","forks_url":"https://api.github.com/repos/PWesterdale/toolkit/forks","keys_url":"https://api.github.com/repos/PWesterdale/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PWesterdale/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PWesterdale/toolkit/teams","hooks_url":"https://api.github.com/repos/PWesterdale/toolkit/hooks","issue_events_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/PWesterdale/toolkit/events","assignees_url":"https://api.github.com/repos/PWesterdale/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/PWesterdale/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/PWesterdale/toolkit/tags","blobs_url":"https://api.github.com/repos/PWesterdale/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PWesterdale/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PWesterdale/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/PWesterdale/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PWesterdale/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/PWesterdale/toolkit/languages","stargazers_url":"https://api.github.com/repos/PWesterdale/toolkit/stargazers","contributors_url":"https://api.github.com/repos/PWesterdale/toolkit/contributors","subscribers_url":"https://api.github.com/repos/PWesterdale/toolkit/subscribers","subscription_url":"https://api.github.com/repos/PWesterdale/toolkit/subscription","commits_url":"https://api.github.com/repos/PWesterdale/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/PWesterdale/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/PWesterdale/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/comments/{number}","contents_url":"https://api.github.com/repos/PWesterdale/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/PWesterdale/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PWesterdale/toolkit/merges","archive_url":"https://api.github.com/repos/PWesterdale/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PWesterdale/toolkit/downloads","issues_url":"https://api.github.com/repos/PWesterdale/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/PWesterdale/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/PWesterdale/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/PWesterdale/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PWesterdale/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/PWesterdale/toolkit/releases{/id}","created_at":"2015-01-30T16:53:29Z","updated_at":"2015-01-30T16:53:30Z","pushed_at":"2015-01-30T16:56:49Z","git_url":"git://github.com/PWesterdale/toolkit.git","ssh_url":"git@github.com:PWesterdale/toolkit.git","clone_url":"https://github.com/PWesterdale/toolkit.git","svn_url":"https://github.com/PWesterdale/toolkit","homepage":"http://getkirby.com","size":1053,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"PWesterdale:master","ref":"master","sha":"765c3160c0ee3f35d57bbf99980190ddb9a28f5f","user":{"login":"PWesterdale","id":1270719,"avatar_url":"https://avatars.githubusercontent.com/u/1270719?v=3","gravatar_id":"","url":"https://api.github.com/users/PWesterdale","html_url":"https://github.com/PWesterdale","followers_url":"https://api.github.com/users/PWesterdale/followers","following_url":"https://api.github.com/users/PWesterdale/following{/other_user}","gists_url":"https://api.github.com/users/PWesterdale/gists{/gist_id}","starred_url":"https://api.github.com/users/PWesterdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWesterdale/subscriptions","organizations_url":"https://api.github.com/users/PWesterdale/orgs","repos_url":"https://api.github.com/users/PWesterdale/repos","events_url":"https://api.github.com/users/PWesterdale/events{/privacy}","received_events_url":"https://api.github.com/users/PWesterdale/received_events","type":"User","site_admin":false},"repo":{"id":30081410,"name":"toolkit","full_name":"PWesterdale/toolkit","owner":{"login":"PWesterdale","id":1270719,"avatar_url":"https://avatars.githubusercontent.com/u/1270719?v=3","gravatar_id":"","url":"https://api.github.com/users/PWesterdale","html_url":"https://github.com/PWesterdale","followers_url":"https://api.github.com/users/PWesterdale/followers","following_url":"https://api.github.com/users/PWesterdale/following{/other_user}","gists_url":"https://api.github.com/users/PWesterdale/gists{/gist_id}","starred_url":"https://api.github.com/users/PWesterdale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PWesterdale/subscriptions","organizations_url":"https://api.github.com/users/PWesterdale/orgs","repos_url":"https://api.github.com/users/PWesterdale/repos","events_url":"https://api.github.com/users/PWesterdale/events{/privacy}","received_events_url":"https://api.github.com/users/PWesterdale/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PWesterdale/toolkit","description":"The Kirby toolkit","fork":true,"url":"https://api.github.com/repos/PWesterdale/toolkit","forks_url":"https://api.github.com/repos/PWesterdale/toolkit/forks","keys_url":"https://api.github.com/repos/PWesterdale/toolkit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PWesterdale/toolkit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PWesterdale/toolkit/teams","hooks_url":"https://api.github.com/repos/PWesterdale/toolkit/hooks","issue_events_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/events{/number}","events_url":"https://api.github.com/repos/PWesterdale/toolkit/events","assignees_url":"https://api.github.com/repos/PWesterdale/toolkit/assignees{/user}","branches_url":"https://api.github.com/repos/PWesterdale/toolkit/branches{/branch}","tags_url":"https://api.github.com/repos/PWesterdale/toolkit/tags","blobs_url":"https://api.github.com/repos/PWesterdale/toolkit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PWesterdale/toolkit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PWesterdale/toolkit/git/refs{/sha}","trees_url":"https://api.github.com/repos/PWesterdale/toolkit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PWesterdale/toolkit/statuses/{sha}","languages_url":"https://api.github.com/repos/PWesterdale/toolkit/languages","stargazers_url":"https://api.github.com/repos/PWesterdale/toolkit/stargazers","contributors_url":"https://api.github.com/repos/PWesterdale/toolkit/contributors","subscribers_url":"https://api.github.com/repos/PWesterdale/toolkit/subscribers","subscription_url":"https://api.github.com/repos/PWesterdale/toolkit/subscription","commits_url":"https://api.github.com/repos/PWesterdale/toolkit/commits{/sha}","git_commits_url":"https://api.github.com/repos/PWesterdale/toolkit/git/commits{/sha}","comments_url":"https://api.github.com/repos/PWesterdale/toolkit/comments{/number}","issue_comment_url":"https://api.github.com/repos/PWesterdale/toolkit/issues/comments/{number}","contents_url":"https://api.github.com/repos/PWesterdale/toolkit/contents/{+path}","compare_url":"https://api.github.com/repos/PWesterdale/toolkit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PWesterdale/toolkit/merges","archive_url":"https://api.github.com/repos/PWesterdale/toolkit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PWesterdale/toolkit/downloads","issues_url":"https://api.github.com/repos/PWesterdale/toolkit/issues{/number}","pulls_url":"https://api.github.com/repos/PWesterdale/toolkit/pulls{/number}","milestones_url":"https://api.github.com/repos/PWesterdale/toolkit/milestones{/number}","notifications_url":"https://api.github.com/repos/PWesterdale/toolkit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PWesterdale/toolkit/labels{/name}","releases_url":"https://api.github.com/repos/PWesterdale/toolkit/releases{/id}","created_at":"2015-01-30T16:53:29Z","updated_at":"2015-01-30T16:53:30Z","pushed_at":"2015-01-30T16:56:49Z","git_url":"git://github.com/PWesterdale/toolkit.git","ssh_url":"git@github.com:PWesterdale/toolkit.git","clone_url":"https://github.com/PWesterdale/toolkit.git","svn_url":"https://github.com/PWesterdale/toolkit","homepage":"http://getkirby.com","size":1053,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"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/PWesterdale/toolkit/pulls/1"},"html":{"href":"https://github.com/PWesterdale/toolkit/pull/1"},"issue":{"href":"https://api.github.com/repos/PWesterdale/toolkit/issues/1"},"comments":{"href":"https://api.github.com/repos/PWesterdale/toolkit/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/PWesterdale/toolkit/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/PWesterdale/toolkit/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PWesterdale/toolkit/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/PWesterdale/toolkit/statuses/de5d8c4efe17a0fc7a9709fe7cd1ef69de560645"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":10,"deletions":1,"changed_files":1}}