{"action":"opened","number":243,"pull_request":{"url":"https://api.github.com/repos/RackHD/docs/pulls/243","id":59462445,"html_url":"https://github.com/RackHD/docs/pull/243","diff_url":"https://github.com/RackHD/docs/pull/243.diff","patch_url":"https://github.com/RackHD/docs/pull/243.patch","issue_url":"https://api.github.com/repos/RackHD/docs/issues/243","number":243,"state":"open","locked":false,"title":"Add examples on how to access APIs with authentication","user":{"login":"cgx027","id":2181868,"avatar_url":"https://avatars.githubusercontent.com/u/2181868?v=3","gravatar_id":"","url":"https://api.github.com/users/cgx027","html_url":"https://github.com/cgx027","followers_url":"https://api.github.com/users/cgx027/followers","following_url":"https://api.github.com/users/cgx027/following{/other_user}","gists_url":"https://api.github.com/users/cgx027/gists{/gist_id}","starred_url":"https://api.github.com/users/cgx027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgx027/subscriptions","organizations_url":"https://api.github.com/users/cgx027/orgs","repos_url":"https://api.github.com/users/cgx027/repos","events_url":"https://api.github.com/users/cgx027/events{/privacy}","received_events_url":"https://api.github.com/users/cgx027/received_events","type":"User","site_admin":false},"body":"Add examples on how to access APIs with authentication.\r\n\r\nThe content fromhttps://github.com/RackHD/specs/pull/39 re-posted to docs, with httpie changed to cURL.\r\n\r\n@RackHD/corecommitters @yyscamper @anhou @WangWinson @iceiilin ","created_at":"2016-02-16T09:20:29Z","updated_at":"2016-02-16T09:20:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/RackHD/docs/pulls/243/commits","review_comments_url":"https://api.github.com/repos/RackHD/docs/pulls/243/comments","review_comment_url":"https://api.github.com/repos/RackHD/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RackHD/docs/issues/243/comments","statuses_url":"https://api.github.com/repos/RackHD/docs/statuses/1b6ef367f2cdf879d031bc18258711f0934d3d8c","head":{"label":"cgx027:Feature/API_1.1_Auth_use_example","ref":"Feature/API_1.1_Auth_use_example","sha":"1b6ef367f2cdf879d031bc18258711f0934d3d8c","user":{"login":"cgx027","id":2181868,"avatar_url":"https://avatars.githubusercontent.com/u/2181868?v=3","gravatar_id":"","url":"https://api.github.com/users/cgx027","html_url":"https://github.com/cgx027","followers_url":"https://api.github.com/users/cgx027/followers","following_url":"https://api.github.com/users/cgx027/following{/other_user}","gists_url":"https://api.github.com/users/cgx027/gists{/gist_id}","starred_url":"https://api.github.com/users/cgx027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgx027/subscriptions","organizations_url":"https://api.github.com/users/cgx027/orgs","repos_url":"https://api.github.com/users/cgx027/repos","events_url":"https://api.github.com/users/cgx027/events{/privacy}","received_events_url":"https://api.github.com/users/cgx027/received_events","type":"User","site_admin":false},"repo":{"id":50912176,"name":"docs","full_name":"cgx027/docs","owner":{"login":"cgx027","id":2181868,"avatar_url":"https://avatars.githubusercontent.com/u/2181868?v=3","gravatar_id":"","url":"https://api.github.com/users/cgx027","html_url":"https://github.com/cgx027","followers_url":"https://api.github.com/users/cgx027/followers","following_url":"https://api.github.com/users/cgx027/following{/other_user}","gists_url":"https://api.github.com/users/cgx027/gists{/gist_id}","starred_url":"https://api.github.com/users/cgx027/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgx027/subscriptions","organizations_url":"https://api.github.com/users/cgx027/orgs","repos_url":"https://api.github.com/users/cgx027/repos","events_url":"https://api.github.com/users/cgx027/events{/privacy}","received_events_url":"https://api.github.com/users/cgx027/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cgx027/docs","description":"RackHD documentation","fork":true,"url":"https://api.github.com/repos/cgx027/docs","forks_url":"https://api.github.com/repos/cgx027/docs/forks","keys_url":"https://api.github.com/repos/cgx027/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cgx027/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cgx027/docs/teams","hooks_url":"https://api.github.com/repos/cgx027/docs/hooks","issue_events_url":"https://api.github.com/repos/cgx027/docs/issues/events{/number}","events_url":"https://api.github.com/repos/cgx027/docs/events","assignees_url":"https://api.github.com/repos/cgx027/docs/assignees{/user}","branches_url":"https://api.github.com/repos/cgx027/docs/branches{/branch}","tags_url":"https://api.github.com/repos/cgx027/docs/tags","blobs_url":"https://api.github.com/repos/cgx027/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cgx027/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cgx027/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/cgx027/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cgx027/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/cgx027/docs/languages","stargazers_url":"https://api.github.com/repos/cgx027/docs/stargazers","contributors_url":"https://api.github.com/repos/cgx027/docs/contributors","subscribers_url":"https://api.github.com/repos/cgx027/docs/subscribers","subscription_url":"https://api.github.com/repos/cgx027/docs/subscription","commits_url":"https://api.github.com/repos/cgx027/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/cgx027/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/cgx027/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/cgx027/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/cgx027/docs/contents/{+path}","compare_url":"https://api.github.com/repos/cgx027/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cgx027/docs/merges","archive_url":"https://api.github.com/repos/cgx027/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cgx027/docs/downloads","issues_url":"https://api.github.com/repos/cgx027/docs/issues{/number}","pulls_url":"https://api.github.com/repos/cgx027/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/cgx027/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/cgx027/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cgx027/docs/labels{/name}","releases_url":"https://api.github.com/repos/cgx027/docs/releases{/id}","deployments_url":"https://api.github.com/repos/cgx027/docs/deployments","created_at":"2016-02-02T10:15:13Z","updated_at":"2016-01-13T05:43:36Z","pushed_at":"2016-02-16T09:17:25Z","git_url":"git://github.com/cgx027/docs.git","ssh_url":"git@github.com:cgx027/docs.git","clone_url":"https://github.com/cgx027/docs.git","svn_url":"https://github.com/cgx027/docs","homepage":null,"size":6363,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":false,"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":"RackHD:master","ref":"master","sha":"ae88cba3294c13b6788d5d561af7ad331c7bdd7c","user":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"repo":{"id":41503759,"name":"docs","full_name":"RackHD/docs","owner":{"login":"RackHD","id":13982662,"avatar_url":"https://avatars.githubusercontent.com/u/13982662?v=3","gravatar_id":"","url":"https://api.github.com/users/RackHD","html_url":"https://github.com/RackHD","followers_url":"https://api.github.com/users/RackHD/followers","following_url":"https://api.github.com/users/RackHD/following{/other_user}","gists_url":"https://api.github.com/users/RackHD/gists{/gist_id}","starred_url":"https://api.github.com/users/RackHD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RackHD/subscriptions","organizations_url":"https://api.github.com/users/RackHD/orgs","repos_url":"https://api.github.com/users/RackHD/repos","events_url":"https://api.github.com/users/RackHD/events{/privacy}","received_events_url":"https://api.github.com/users/RackHD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RackHD/docs","description":"RackHD documentation","fork":false,"url":"https://api.github.com/repos/RackHD/docs","forks_url":"https://api.github.com/repos/RackHD/docs/forks","keys_url":"https://api.github.com/repos/RackHD/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RackHD/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RackHD/docs/teams","hooks_url":"https://api.github.com/repos/RackHD/docs/hooks","issue_events_url":"https://api.github.com/repos/RackHD/docs/issues/events{/number}","events_url":"https://api.github.com/repos/RackHD/docs/events","assignees_url":"https://api.github.com/repos/RackHD/docs/assignees{/user}","branches_url":"https://api.github.com/repos/RackHD/docs/branches{/branch}","tags_url":"https://api.github.com/repos/RackHD/docs/tags","blobs_url":"https://api.github.com/repos/RackHD/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RackHD/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RackHD/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/RackHD/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RackHD/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/RackHD/docs/languages","stargazers_url":"https://api.github.com/repos/RackHD/docs/stargazers","contributors_url":"https://api.github.com/repos/RackHD/docs/contributors","subscribers_url":"https://api.github.com/repos/RackHD/docs/subscribers","subscription_url":"https://api.github.com/repos/RackHD/docs/subscription","commits_url":"https://api.github.com/repos/RackHD/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/RackHD/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/RackHD/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/RackHD/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/RackHD/docs/contents/{+path}","compare_url":"https://api.github.com/repos/RackHD/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RackHD/docs/merges","archive_url":"https://api.github.com/repos/RackHD/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RackHD/docs/downloads","issues_url":"https://api.github.com/repos/RackHD/docs/issues{/number}","pulls_url":"https://api.github.com/repos/RackHD/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/RackHD/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/RackHD/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RackHD/docs/labels{/name}","releases_url":"https://api.github.com/repos/RackHD/docs/releases{/id}","deployments_url":"https://api.github.com/repos/RackHD/docs/deployments","created_at":"2015-08-27T18:21:08Z","updated_at":"2016-02-04T18:46:17Z","pushed_at":"2016-02-05T19:57:32Z","git_url":"git://github.com/RackHD/docs.git","ssh_url":"git@github.com:RackHD/docs.git","clone_url":"https://github.com/RackHD/docs.git","svn_url":"https://github.com/RackHD/docs","homepage":null,"size":6373,"stargazers_count":14,"watchers_count":14,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":23,"mirror_url":null,"open_issues_count":11,"forks":23,"open_issues":11,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RackHD/docs/pulls/243"},"html":{"href":"https://github.com/RackHD/docs/pull/243"},"issue":{"href":"https://api.github.com/repos/RackHD/docs/issues/243"},"comments":{"href":"https://api.github.com/repos/RackHD/docs/issues/243/comments"},"review_comments":{"href":"https://api.github.com/repos/RackHD/docs/pulls/243/comments"},"review_comment":{"href":"https://api.github.com/repos/RackHD/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RackHD/docs/pulls/243/commits"},"statuses":{"href":"https://api.github.com/repos/RackHD/docs/statuses/1b6ef367f2cdf879d031bc18258711f0934d3d8c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":175,"deletions":0,"changed_files":2}}