{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/edvardHua/rest-server/pulls/2","id":53665770,"html_url":"https://github.com/edvardHua/rest-server/pull/2","diff_url":"https://github.com/edvardHua/rest-server/pull/2.diff","patch_url":"https://github.com/edvardHua/rest-server/pull/2.patch","issue_url":"https://api.github.com/repos/edvardHua/rest-server/issues/2","number":2,"state":"open","locked":false,"title":"json post decode, response return","user":{"login":"zhuo-jiejie","id":3816440,"avatar_url":"https://avatars.githubusercontent.com/u/3816440?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuo-jiejie","html_url":"https://github.com/zhuo-jiejie","followers_url":"https://api.github.com/users/zhuo-jiejie/followers","following_url":"https://api.github.com/users/zhuo-jiejie/following{/other_user}","gists_url":"https://api.github.com/users/zhuo-jiejie/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuo-jiejie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuo-jiejie/subscriptions","organizations_url":"https://api.github.com/users/zhuo-jiejie/orgs","repos_url":"https://api.github.com/users/zhuo-jiejie/repos","events_url":"https://api.github.com/users/zhuo-jiejie/events{/privacy}","received_events_url":"https://api.github.com/users/zhuo-jiejie/received_events","type":"User","site_admin":false},"body":"接受json格式的数据, 自动decode\r\n添加success, error方法","created_at":"2015-12-15T06:36:15Z","updated_at":"2015-12-15T06:36:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/edvardHua/rest-server/pulls/2/commits","review_comments_url":"https://api.github.com/repos/edvardHua/rest-server/pulls/2/comments","review_comment_url":"https://api.github.com/repos/edvardHua/rest-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edvardHua/rest-server/issues/2/comments","statuses_url":"https://api.github.com/repos/edvardHua/rest-server/statuses/71c64d863ce2f9accd8923fa05e61e2e0c87043e","head":{"label":"zhuo-jiejie:master","ref":"master","sha":"71c64d863ce2f9accd8923fa05e61e2e0c87043e","user":{"login":"zhuo-jiejie","id":3816440,"avatar_url":"https://avatars.githubusercontent.com/u/3816440?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuo-jiejie","html_url":"https://github.com/zhuo-jiejie","followers_url":"https://api.github.com/users/zhuo-jiejie/followers","following_url":"https://api.github.com/users/zhuo-jiejie/following{/other_user}","gists_url":"https://api.github.com/users/zhuo-jiejie/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuo-jiejie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuo-jiejie/subscriptions","organizations_url":"https://api.github.com/users/zhuo-jiejie/orgs","repos_url":"https://api.github.com/users/zhuo-jiejie/repos","events_url":"https://api.github.com/users/zhuo-jiejie/events{/privacy}","received_events_url":"https://api.github.com/users/zhuo-jiejie/received_events","type":"User","site_admin":false},"repo":{"id":48011956,"name":"rest-server","full_name":"zhuo-jiejie/rest-server","owner":{"login":"zhuo-jiejie","id":3816440,"avatar_url":"https://avatars.githubusercontent.com/u/3816440?v=3","gravatar_id":"","url":"https://api.github.com/users/zhuo-jiejie","html_url":"https://github.com/zhuo-jiejie","followers_url":"https://api.github.com/users/zhuo-jiejie/followers","following_url":"https://api.github.com/users/zhuo-jiejie/following{/other_user}","gists_url":"https://api.github.com/users/zhuo-jiejie/gists{/gist_id}","starred_url":"https://api.github.com/users/zhuo-jiejie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhuo-jiejie/subscriptions","organizations_url":"https://api.github.com/users/zhuo-jiejie/orgs","repos_url":"https://api.github.com/users/zhuo-jiejie/repos","events_url":"https://api.github.com/users/zhuo-jiejie/events{/privacy}","received_events_url":"https://api.github.com/users/zhuo-jiejie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zhuo-jiejie/rest-server","description":"RESTful API server based on Palcon","fork":true,"url":"https://api.github.com/repos/zhuo-jiejie/rest-server","forks_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/forks","keys_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/teams","hooks_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/hooks","issue_events_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/issues/events{/number}","events_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/events","assignees_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/assignees{/user}","branches_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/branches{/branch}","tags_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/tags","blobs_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/statuses/{sha}","languages_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/languages","stargazers_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/stargazers","contributors_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/contributors","subscribers_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/subscribers","subscription_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/subscription","commits_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/contents/{+path}","compare_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/merges","archive_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/downloads","issues_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/issues{/number}","pulls_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/pulls{/number}","milestones_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/milestones{/number}","notifications_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/labels{/name}","releases_url":"https://api.github.com/repos/zhuo-jiejie/rest-server/releases{/id}","created_at":"2015-12-15T01:27:56Z","updated_at":"2015-12-15T01:27:56Z","pushed_at":"2015-12-15T06:28:24Z","git_url":"git://github.com/zhuo-jiejie/rest-server.git","ssh_url":"git@github.com:zhuo-jiejie/rest-server.git","clone_url":"https://github.com/zhuo-jiejie/rest-server.git","svn_url":"https://github.com/zhuo-jiejie/rest-server","homepage":null,"size":17,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"edvardHua:master","ref":"master","sha":"1e33ae29bed8ed1344454ff6ec41060f941feb1c","user":{"login":"edvardHua","id":4105217,"avatar_url":"https://avatars.githubusercontent.com/u/4105217?v=3","gravatar_id":"","url":"https://api.github.com/users/edvardHua","html_url":"https://github.com/edvardHua","followers_url":"https://api.github.com/users/edvardHua/followers","following_url":"https://api.github.com/users/edvardHua/following{/other_user}","gists_url":"https://api.github.com/users/edvardHua/gists{/gist_id}","starred_url":"https://api.github.com/users/edvardHua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvardHua/subscriptions","organizations_url":"https://api.github.com/users/edvardHua/orgs","repos_url":"https://api.github.com/users/edvardHua/repos","events_url":"https://api.github.com/users/edvardHua/events{/privacy}","received_events_url":"https://api.github.com/users/edvardHua/received_events","type":"User","site_admin":false},"repo":{"id":47957577,"name":"rest-server","full_name":"edvardHua/rest-server","owner":{"login":"edvardHua","id":4105217,"avatar_url":"https://avatars.githubusercontent.com/u/4105217?v=3","gravatar_id":"","url":"https://api.github.com/users/edvardHua","html_url":"https://github.com/edvardHua","followers_url":"https://api.github.com/users/edvardHua/followers","following_url":"https://api.github.com/users/edvardHua/following{/other_user}","gists_url":"https://api.github.com/users/edvardHua/gists{/gist_id}","starred_url":"https://api.github.com/users/edvardHua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edvardHua/subscriptions","organizations_url":"https://api.github.com/users/edvardHua/orgs","repos_url":"https://api.github.com/users/edvardHua/repos","events_url":"https://api.github.com/users/edvardHua/events{/privacy}","received_events_url":"https://api.github.com/users/edvardHua/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/edvardHua/rest-server","description":"RESTful API server based on Phalcon","fork":false,"url":"https://api.github.com/repos/edvardHua/rest-server","forks_url":"https://api.github.com/repos/edvardHua/rest-server/forks","keys_url":"https://api.github.com/repos/edvardHua/rest-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edvardHua/rest-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edvardHua/rest-server/teams","hooks_url":"https://api.github.com/repos/edvardHua/rest-server/hooks","issue_events_url":"https://api.github.com/repos/edvardHua/rest-server/issues/events{/number}","events_url":"https://api.github.com/repos/edvardHua/rest-server/events","assignees_url":"https://api.github.com/repos/edvardHua/rest-server/assignees{/user}","branches_url":"https://api.github.com/repos/edvardHua/rest-server/branches{/branch}","tags_url":"https://api.github.com/repos/edvardHua/rest-server/tags","blobs_url":"https://api.github.com/repos/edvardHua/rest-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edvardHua/rest-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edvardHua/rest-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/edvardHua/rest-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edvardHua/rest-server/statuses/{sha}","languages_url":"https://api.github.com/repos/edvardHua/rest-server/languages","stargazers_url":"https://api.github.com/repos/edvardHua/rest-server/stargazers","contributors_url":"https://api.github.com/repos/edvardHua/rest-server/contributors","subscribers_url":"https://api.github.com/repos/edvardHua/rest-server/subscribers","subscription_url":"https://api.github.com/repos/edvardHua/rest-server/subscription","commits_url":"https://api.github.com/repos/edvardHua/rest-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/edvardHua/rest-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/edvardHua/rest-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/edvardHua/rest-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/edvardHua/rest-server/contents/{+path}","compare_url":"https://api.github.com/repos/edvardHua/rest-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edvardHua/rest-server/merges","archive_url":"https://api.github.com/repos/edvardHua/rest-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edvardHua/rest-server/downloads","issues_url":"https://api.github.com/repos/edvardHua/rest-server/issues{/number}","pulls_url":"https://api.github.com/repos/edvardHua/rest-server/pulls{/number}","milestones_url":"https://api.github.com/repos/edvardHua/rest-server/milestones{/number}","notifications_url":"https://api.github.com/repos/edvardHua/rest-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edvardHua/rest-server/labels{/name}","releases_url":"https://api.github.com/repos/edvardHua/rest-server/releases{/id}","created_at":"2015-12-14T07:00:50Z","updated_at":"2015-12-15T02:25:32Z","pushed_at":"2015-12-15T04:39:24Z","git_url":"git://github.com/edvardHua/rest-server.git","ssh_url":"git@github.com:edvardHua/rest-server.git","clone_url":"https://github.com/edvardHua/rest-server.git","svn_url":"https://github.com/edvardHua/rest-server","homepage":"","size":11,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edvardHua/rest-server/pulls/2"},"html":{"href":"https://github.com/edvardHua/rest-server/pull/2"},"issue":{"href":"https://api.github.com/repos/edvardHua/rest-server/issues/2"},"comments":{"href":"https://api.github.com/repos/edvardHua/rest-server/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/edvardHua/rest-server/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/edvardHua/rest-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edvardHua/rest-server/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/edvardHua/rest-server/statuses/71c64d863ce2f9accd8923fa05e61e2e0c87043e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":101,"deletions":58,"changed_files":5}}