{"action":"closed","number":26,"pull_request":{"url":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26","id":193182617,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzMTgyNjE3","html_url":"https://github.com/viko16/vue-ghpages-blog/pull/26","diff_url":"https://github.com/viko16/vue-ghpages-blog/pull/26.diff","patch_url":"https://github.com/viko16/vue-ghpages-blog/pull/26.patch","issue_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/26","number":26,"state":"closed","locked":false,"title":"Search by github api","user":{"login":"zowiegong","id":20236883,"node_id":"MDQ6VXNlcjIwMjM2ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/20236883?v=4","gravatar_id":"","url":"https://api.github.com/users/zowiegong","html_url":"https://github.com/zowiegong","followers_url":"https://api.github.com/users/zowiegong/followers","following_url":"https://api.github.com/users/zowiegong/following{/other_user}","gists_url":"https://api.github.com/users/zowiegong/gists{/gist_id}","starred_url":"https://api.github.com/users/zowiegong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zowiegong/subscriptions","organizations_url":"https://api.github.com/users/zowiegong/orgs","repos_url":"https://api.github.com/users/zowiegong/repos","events_url":"https://api.github.com/users/zowiegong/events{/privacy}","received_events_url":"https://api.github.com/users/zowiegong/received_events","type":"User","site_admin":false},"body":"修改搜索，从 [https://developer.github.com/v3/search/#search-code](https://developer.github.com/v3/search/#search-code) 搜索文章内容和标题。\r\n\r\n有奇怪的现象发生：\r\n\r\n在搜索框内搜索内容的效果应该等同于在 github repo 内搜索：\r\n![1](https://user-images.githubusercontent.com/20236883/41073550-640c80a2-6a36-11e8-9d11-1b54490d4d6d.png)\r\n![2](https://user-images.githubusercontent.com/20236883/41073552-67c3eb68-6a36-11e8-9d6d-ddd92a341fdc.png)\r\n\r\n\r\n但是对于过短的关键字，搜索结果不准确：\r\n![3](https://user-images.githubusercontent.com/20236883/41073570-76cf61d2-6a36-11e8-9e91-3ea48ec43efa.png)\r\n\r\n\r\n","created_at":"2018-06-07T01:39:40Z","updated_at":"2018-06-07T05:57:42Z","closed_at":"2018-06-07T05:57:42Z","merged_at":"2018-06-07T05:57:41Z","merge_commit_sha":"7e578e270c92c2ed0799b8e80da1eefa1d12d594","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26/commits","review_comments_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26/comments","review_comment_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/26/comments","statuses_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/statuses/25f714c4f989b59c1cea4e9d9c6540188728f0d8","head":{"label":"zowiegong:search-by-github-api","ref":"search-by-github-api","sha":"25f714c4f989b59c1cea4e9d9c6540188728f0d8","user":{"login":"zowiegong","id":20236883,"node_id":"MDQ6VXNlcjIwMjM2ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/20236883?v=4","gravatar_id":"","url":"https://api.github.com/users/zowiegong","html_url":"https://github.com/zowiegong","followers_url":"https://api.github.com/users/zowiegong/followers","following_url":"https://api.github.com/users/zowiegong/following{/other_user}","gists_url":"https://api.github.com/users/zowiegong/gists{/gist_id}","starred_url":"https://api.github.com/users/zowiegong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zowiegong/subscriptions","organizations_url":"https://api.github.com/users/zowiegong/orgs","repos_url":"https://api.github.com/users/zowiegong/repos","events_url":"https://api.github.com/users/zowiegong/events{/privacy}","received_events_url":"https://api.github.com/users/zowiegong/received_events","type":"User","site_admin":false},"repo":{"id":136308013,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzMDgwMTM=","name":"vue-ghpages-blog","full_name":"zowiegong/vue-ghpages-blog","owner":{"login":"zowiegong","id":20236883,"node_id":"MDQ6VXNlcjIwMjM2ODgz","avatar_url":"https://avatars2.githubusercontent.com/u/20236883?v=4","gravatar_id":"","url":"https://api.github.com/users/zowiegong","html_url":"https://github.com/zowiegong","followers_url":"https://api.github.com/users/zowiegong/followers","following_url":"https://api.github.com/users/zowiegong/following{/other_user}","gists_url":"https://api.github.com/users/zowiegong/gists{/gist_id}","starred_url":"https://api.github.com/users/zowiegong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zowiegong/subscriptions","organizations_url":"https://api.github.com/users/zowiegong/orgs","repos_url":"https://api.github.com/users/zowiegong/repos","events_url":"https://api.github.com/users/zowiegong/events{/privacy}","received_events_url":"https://api.github.com/users/zowiegong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zowiegong/vue-ghpages-blog","description":"✏️ A blog based on GitHub Pages built with Vue.js 2 + webpack 3.","fork":true,"url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog","forks_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/forks","keys_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/teams","hooks_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/hooks","issue_events_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/issues/events{/number}","events_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/events","assignees_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/assignees{/user}","branches_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/branches{/branch}","tags_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/tags","blobs_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/languages","stargazers_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/stargazers","contributors_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/contributors","subscribers_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/subscribers","subscription_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/subscription","commits_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/contents/{+path}","compare_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/merges","archive_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/downloads","issues_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/issues{/number}","pulls_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/labels{/name}","releases_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/releases{/id}","deployments_url":"https://api.github.com/repos/zowiegong/vue-ghpages-blog/deployments","created_at":"2018-06-06T09:47:16Z","updated_at":"2018-06-07T01:27:24Z","pushed_at":"2018-06-07T05:07:23Z","git_url":"git://github.com/zowiegong/vue-ghpages-blog.git","ssh_url":"git@github.com:zowiegong/vue-ghpages-blog.git","clone_url":"https://github.com/zowiegong/vue-ghpages-blog.git","svn_url":"https://github.com/zowiegong/vue-ghpages-blog","homepage":"https://ukn.me","size":2168,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"viko16:develop","ref":"develop","sha":"015473ef2961177c9040c2c3861f19ba0ef7f0c7","user":{"login":"viko16","id":5064777,"node_id":"MDQ6VXNlcjUwNjQ3Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/5064777?v=4","gravatar_id":"","url":"https://api.github.com/users/viko16","html_url":"https://github.com/viko16","followers_url":"https://api.github.com/users/viko16/followers","following_url":"https://api.github.com/users/viko16/following{/other_user}","gists_url":"https://api.github.com/users/viko16/gists{/gist_id}","starred_url":"https://api.github.com/users/viko16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viko16/subscriptions","organizations_url":"https://api.github.com/users/viko16/orgs","repos_url":"https://api.github.com/users/viko16/repos","events_url":"https://api.github.com/users/viko16/events{/privacy}","received_events_url":"https://api.github.com/users/viko16/received_events","type":"User","site_admin":false},"repo":{"id":46337788,"node_id":"MDEwOlJlcG9zaXRvcnk0NjMzNzc4OA==","name":"vue-ghpages-blog","full_name":"viko16/vue-ghpages-blog","owner":{"login":"viko16","id":5064777,"node_id":"MDQ6VXNlcjUwNjQ3Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/5064777?v=4","gravatar_id":"","url":"https://api.github.com/users/viko16","html_url":"https://github.com/viko16","followers_url":"https://api.github.com/users/viko16/followers","following_url":"https://api.github.com/users/viko16/following{/other_user}","gists_url":"https://api.github.com/users/viko16/gists{/gist_id}","starred_url":"https://api.github.com/users/viko16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viko16/subscriptions","organizations_url":"https://api.github.com/users/viko16/orgs","repos_url":"https://api.github.com/users/viko16/repos","events_url":"https://api.github.com/users/viko16/events{/privacy}","received_events_url":"https://api.github.com/users/viko16/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/viko16/vue-ghpages-blog","description":"✏️ A blog based on GitHub Pages built with Vue.js 2 + webpack 3.","fork":false,"url":"https://api.github.com/repos/viko16/vue-ghpages-blog","forks_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/forks","keys_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/teams","hooks_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/hooks","issue_events_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/events{/number}","events_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/events","assignees_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/assignees{/user}","branches_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/branches{/branch}","tags_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/tags","blobs_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/languages","stargazers_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/stargazers","contributors_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/contributors","subscribers_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/subscribers","subscription_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/subscription","commits_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/contents/{+path}","compare_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/merges","archive_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/downloads","issues_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues{/number}","pulls_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/labels{/name}","releases_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/releases{/id}","deployments_url":"https://api.github.com/repos/viko16/vue-ghpages-blog/deployments","created_at":"2015-11-17T09:47:58Z","updated_at":"2018-06-07T03:15:23Z","pushed_at":"2018-06-07T05:57:41Z","git_url":"git://github.com/viko16/vue-ghpages-blog.git","ssh_url":"git@github.com:viko16/vue-ghpages-blog.git","clone_url":"https://github.com/viko16/vue-ghpages-blog.git","svn_url":"https://github.com/viko16/vue-ghpages-blog","homepage":"https://ukn.me","size":2273,"stargazers_count":363,"watchers_count":363,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":105,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":105,"open_issues":1,"watchers":363,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26"},"html":{"href":"https://github.com/viko16/vue-ghpages-blog/pull/26"},"issue":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/26"},"comments":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/viko16/vue-ghpages-blog/statuses/25f714c4f989b59c1cea4e9d9c6540188728f0d8"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"viko16","id":5064777,"node_id":"MDQ6VXNlcjUwNjQ3Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/5064777?v=4","gravatar_id":"","url":"https://api.github.com/users/viko16","html_url":"https://github.com/viko16","followers_url":"https://api.github.com/users/viko16/followers","following_url":"https://api.github.com/users/viko16/following{/other_user}","gists_url":"https://api.github.com/users/viko16/gists{/gist_id}","starred_url":"https://api.github.com/users/viko16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viko16/subscriptions","organizations_url":"https://api.github.com/users/viko16/orgs","repos_url":"https://api.github.com/users/viko16/repos","events_url":"https://api.github.com/users/viko16/events{/privacy}","received_events_url":"https://api.github.com/users/viko16/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":77,"deletions":29,"changed_files":4}}
{"actor":{"display_login":"viko16"}}