{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/gilt/tech-blog/pulls/33","id":75663874,"html_url":"https://github.com/gilt/tech-blog/pull/33","diff_url":"https://github.com/gilt/tech-blog/pull/33.diff","patch_url":"https://github.com/gilt/tech-blog/pull/33.patch","issue_url":"https://api.github.com/repos/gilt/tech-blog/issues/33","number":33,"state":"open","locked":false,"title":"New post about RESTful APIs","user":{"login":"danielwpz","id":5139554,"avatar_url":"https://avatars.githubusercontent.com/u/5139554?v=3","gravatar_id":"","url":"https://api.github.com/users/danielwpz","html_url":"https://github.com/danielwpz","followers_url":"https://api.github.com/users/danielwpz/followers","following_url":"https://api.github.com/users/danielwpz/following{/other_user}","gists_url":"https://api.github.com/users/danielwpz/gists{/gist_id}","starred_url":"https://api.github.com/users/danielwpz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielwpz/subscriptions","organizations_url":"https://api.github.com/users/danielwpz/orgs","repos_url":"https://api.github.com/users/danielwpz/repos","events_url":"https://api.github.com/users/danielwpz/events{/privacy}","received_events_url":"https://api.github.com/users/danielwpz/received_events","type":"User","site_admin":false},"body":"I have read about a very clear and helpful article discussing how to design well-formed RESTful APIs. However, the original article is written in Chinese. So I translated that one and wanna to post it in order to share with everyone. :)","created_at":"2016-06-29T14:58:23Z","updated_at":"2016-06-29T14:58:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89af40c6a8bb8f3d277d4fe3debfad61c28ab155","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gilt/tech-blog/pulls/33/commits","review_comments_url":"https://api.github.com/repos/gilt/tech-blog/pulls/33/comments","review_comment_url":"https://api.github.com/repos/gilt/tech-blog/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gilt/tech-blog/issues/33/comments","statuses_url":"https://api.github.com/repos/gilt/tech-blog/statuses/32c1d399c4b8f42d7e6195e11c39cbf6ae7de232","head":{"label":"gilt:pwang","ref":"pwang","sha":"32c1d399c4b8f42d7e6195e11c39cbf6ae7de232","user":{"login":"gilt","id":160415,"avatar_url":"https://avatars.githubusercontent.com/u/160415?v=3","gravatar_id":"","url":"https://api.github.com/users/gilt","html_url":"https://github.com/gilt","followers_url":"https://api.github.com/users/gilt/followers","following_url":"https://api.github.com/users/gilt/following{/other_user}","gists_url":"https://api.github.com/users/gilt/gists{/gist_id}","starred_url":"https://api.github.com/users/gilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilt/subscriptions","organizations_url":"https://api.github.com/users/gilt/orgs","repos_url":"https://api.github.com/users/gilt/repos","events_url":"https://api.github.com/users/gilt/events{/privacy}","received_events_url":"https://api.github.com/users/gilt/received_events","type":"Organization","site_admin":false},"repo":{"id":37606952,"name":"tech-blog","full_name":"gilt/tech-blog","owner":{"login":"gilt","id":160415,"avatar_url":"https://avatars.githubusercontent.com/u/160415?v=3","gravatar_id":"","url":"https://api.github.com/users/gilt","html_url":"https://github.com/gilt","followers_url":"https://api.github.com/users/gilt/followers","following_url":"https://api.github.com/users/gilt/following{/other_user}","gists_url":"https://api.github.com/users/gilt/gists{/gist_id}","starred_url":"https://api.github.com/users/gilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilt/subscriptions","organizations_url":"https://api.github.com/users/gilt/orgs","repos_url":"https://api.github.com/users/gilt/repos","events_url":"https://api.github.com/users/gilt/events{/privacy}","received_events_url":"https://api.github.com/users/gilt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gilt/tech-blog","description":"The blog of Gilt's Tech Team and friends. We make gilt.com work.","fork":false,"url":"https://api.github.com/repos/gilt/tech-blog","forks_url":"https://api.github.com/repos/gilt/tech-blog/forks","keys_url":"https://api.github.com/repos/gilt/tech-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilt/tech-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilt/tech-blog/teams","hooks_url":"https://api.github.com/repos/gilt/tech-blog/hooks","issue_events_url":"https://api.github.com/repos/gilt/tech-blog/issues/events{/number}","events_url":"https://api.github.com/repos/gilt/tech-blog/events","assignees_url":"https://api.github.com/repos/gilt/tech-blog/assignees{/user}","branches_url":"https://api.github.com/repos/gilt/tech-blog/branches{/branch}","tags_url":"https://api.github.com/repos/gilt/tech-blog/tags","blobs_url":"https://api.github.com/repos/gilt/tech-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilt/tech-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilt/tech-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilt/tech-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilt/tech-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/gilt/tech-blog/languages","stargazers_url":"https://api.github.com/repos/gilt/tech-blog/stargazers","contributors_url":"https://api.github.com/repos/gilt/tech-blog/contributors","subscribers_url":"https://api.github.com/repos/gilt/tech-blog/subscribers","subscription_url":"https://api.github.com/repos/gilt/tech-blog/subscription","commits_url":"https://api.github.com/repos/gilt/tech-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilt/tech-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilt/tech-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilt/tech-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilt/tech-blog/contents/{+path}","compare_url":"https://api.github.com/repos/gilt/tech-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilt/tech-blog/merges","archive_url":"https://api.github.com/repos/gilt/tech-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilt/tech-blog/downloads","issues_url":"https://api.github.com/repos/gilt/tech-blog/issues{/number}","pulls_url":"https://api.github.com/repos/gilt/tech-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/gilt/tech-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/gilt/tech-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilt/tech-blog/labels{/name}","releases_url":"https://api.github.com/repos/gilt/tech-blog/releases{/id}","deployments_url":"https://api.github.com/repos/gilt/tech-blog/deployments","created_at":"2015-06-17T16:30:38Z","updated_at":"2016-02-10T15:58:20Z","pushed_at":"2016-06-29T14:58:23Z","git_url":"git://github.com/gilt/tech-blog.git","ssh_url":"git@github.com:gilt/tech-blog.git","clone_url":"https://github.com/gilt/tech-blog.git","svn_url":"https://github.com/gilt/tech-blog","homepage":"","size":16063,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":3,"default_branch":"gh-pages"}},"base":{"label":"gilt:gh-pages","ref":"gh-pages","sha":"c93046b5d03b16b77785a2e33579f143b592f581","user":{"login":"gilt","id":160415,"avatar_url":"https://avatars.githubusercontent.com/u/160415?v=3","gravatar_id":"","url":"https://api.github.com/users/gilt","html_url":"https://github.com/gilt","followers_url":"https://api.github.com/users/gilt/followers","following_url":"https://api.github.com/users/gilt/following{/other_user}","gists_url":"https://api.github.com/users/gilt/gists{/gist_id}","starred_url":"https://api.github.com/users/gilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilt/subscriptions","organizations_url":"https://api.github.com/users/gilt/orgs","repos_url":"https://api.github.com/users/gilt/repos","events_url":"https://api.github.com/users/gilt/events{/privacy}","received_events_url":"https://api.github.com/users/gilt/received_events","type":"Organization","site_admin":false},"repo":{"id":37606952,"name":"tech-blog","full_name":"gilt/tech-blog","owner":{"login":"gilt","id":160415,"avatar_url":"https://avatars.githubusercontent.com/u/160415?v=3","gravatar_id":"","url":"https://api.github.com/users/gilt","html_url":"https://github.com/gilt","followers_url":"https://api.github.com/users/gilt/followers","following_url":"https://api.github.com/users/gilt/following{/other_user}","gists_url":"https://api.github.com/users/gilt/gists{/gist_id}","starred_url":"https://api.github.com/users/gilt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gilt/subscriptions","organizations_url":"https://api.github.com/users/gilt/orgs","repos_url":"https://api.github.com/users/gilt/repos","events_url":"https://api.github.com/users/gilt/events{/privacy}","received_events_url":"https://api.github.com/users/gilt/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gilt/tech-blog","description":"The blog of Gilt's Tech Team and friends. We make gilt.com work.","fork":false,"url":"https://api.github.com/repos/gilt/tech-blog","forks_url":"https://api.github.com/repos/gilt/tech-blog/forks","keys_url":"https://api.github.com/repos/gilt/tech-blog/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gilt/tech-blog/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gilt/tech-blog/teams","hooks_url":"https://api.github.com/repos/gilt/tech-blog/hooks","issue_events_url":"https://api.github.com/repos/gilt/tech-blog/issues/events{/number}","events_url":"https://api.github.com/repos/gilt/tech-blog/events","assignees_url":"https://api.github.com/repos/gilt/tech-blog/assignees{/user}","branches_url":"https://api.github.com/repos/gilt/tech-blog/branches{/branch}","tags_url":"https://api.github.com/repos/gilt/tech-blog/tags","blobs_url":"https://api.github.com/repos/gilt/tech-blog/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gilt/tech-blog/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gilt/tech-blog/git/refs{/sha}","trees_url":"https://api.github.com/repos/gilt/tech-blog/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gilt/tech-blog/statuses/{sha}","languages_url":"https://api.github.com/repos/gilt/tech-blog/languages","stargazers_url":"https://api.github.com/repos/gilt/tech-blog/stargazers","contributors_url":"https://api.github.com/repos/gilt/tech-blog/contributors","subscribers_url":"https://api.github.com/repos/gilt/tech-blog/subscribers","subscription_url":"https://api.github.com/repos/gilt/tech-blog/subscription","commits_url":"https://api.github.com/repos/gilt/tech-blog/commits{/sha}","git_commits_url":"https://api.github.com/repos/gilt/tech-blog/git/commits{/sha}","comments_url":"https://api.github.com/repos/gilt/tech-blog/comments{/number}","issue_comment_url":"https://api.github.com/repos/gilt/tech-blog/issues/comments{/number}","contents_url":"https://api.github.com/repos/gilt/tech-blog/contents/{+path}","compare_url":"https://api.github.com/repos/gilt/tech-blog/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gilt/tech-blog/merges","archive_url":"https://api.github.com/repos/gilt/tech-blog/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gilt/tech-blog/downloads","issues_url":"https://api.github.com/repos/gilt/tech-blog/issues{/number}","pulls_url":"https://api.github.com/repos/gilt/tech-blog/pulls{/number}","milestones_url":"https://api.github.com/repos/gilt/tech-blog/milestones{/number}","notifications_url":"https://api.github.com/repos/gilt/tech-blog/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gilt/tech-blog/labels{/name}","releases_url":"https://api.github.com/repos/gilt/tech-blog/releases{/id}","deployments_url":"https://api.github.com/repos/gilt/tech-blog/deployments","created_at":"2015-06-17T16:30:38Z","updated_at":"2016-02-10T15:58:20Z","pushed_at":"2016-06-29T14:58:23Z","git_url":"git://github.com/gilt/tech-blog.git","ssh_url":"git@github.com:gilt/tech-blog.git","clone_url":"https://github.com/gilt/tech-blog.git","svn_url":"https://github.com/gilt/tech-blog","homepage":"","size":16063,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":3,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/gilt/tech-blog/pulls/33"},"html":{"href":"https://github.com/gilt/tech-blog/pull/33"},"issue":{"href":"https://api.github.com/repos/gilt/tech-blog/issues/33"},"comments":{"href":"https://api.github.com/repos/gilt/tech-blog/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/gilt/tech-blog/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/gilt/tech-blog/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gilt/tech-blog/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/gilt/tech-blog/statuses/32c1d399c4b8f42d7e6195e11c39cbf6ae7de232"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":8,"additions":158,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"danielwpz"}}