{"action":"created","comment":{"url":"https://api.github.com/repos/Azure/go-autorest/pulls/comments/202122628","pull_request_review_id":136759362,"id":202122628,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMjEyMjYyOA==","diff_hunk":"@@ -262,3 +311,80 @@ func (c Client) ByInspecting() RespondDecorator {\n \t}\n \treturn c.ResponseInspector\n }\n+\n+func withLogging() PrepareDecorator {\n+\treturn func(p Preparer) Preparer {\n+\t\treturn PreparerFunc(func(r *http.Request) (*http.Request, error) {\n+\t\t\t// execute any remaining preparers before logging\n+\t\t\tr, err := p.Prepare(r)\n+\t\t\tif logLevel > logLevelNone {\n+\t\t\t\tb := &bytes.Buffer{}\n+\t\t\t\tfmt.Fprintf(b, \"(%s) REQUEST: %s %s\\n\", time.Now().Format(logTimestamp), r.Method, r.URL.String())\n+\t\t\t\t// dump headers\n+\t\t\t\tfor k, v := range r.Header {\n+\t\t\t\t\tif strings.ToLower(k) == \"authorization\" {\n+\t\t\t\t\t\tv = []string{\"**REDACTED**\"}\n+\t\t\t\t\t}\n+\t\t\t\t\tfmt.Fprintf(b, \"%s: %s\\n\", k, strings.Join(v, \",\"))\n+\t\t\t\t}\n+\t\t\t\tct := r.Header.Get(headerContentType)\n+\t\t\t\tif logLevel == logLevelFull && r.Body != nil && strings.Index(ct, mimeTypeOctetStream) == -1 {\n+\t\t\t\t\t// dump body\n+\t\t\t\t\tvar body []byte\n+\t\t\t\t\tbody, err = ioutil.ReadAll(r.Body)\n+\t\t\t\t\tif err == nil {\n+\t\t\t\t\t\tfmt.Fprintln(b, string(body))\n+\t\t\t\t\t\tif nc, ok := r.Body.(NopClosingReadSeeker); ok {\n+\t\t\t\t\t\t\t// rewind to the beginning\n+\t\t\t\t\t\t\tnc.Seek(0, io.SeekStart)\n+\t\t\t\t\t\t} else {\n+\t\t\t\t\t\t\t// recreate the body\n+\t\t\t\t\t\t\tr.Body = NopClosingReadSeeker{bytes.NewReader(body)}\n+\t\t\t\t\t\t}\n+\t\t\t\t\t} else {\n+\t\t\t\t\t\tfmt.Fprintf(b, \"failed to read body: %v\\n\", err)\n+\t\t\t\t\t}\n+\t\t\t\t}\n+\t\t\t\tlogFile.WriteString(b.String())\n+\t\t\t\tlogFile.Sync()","path":"autorest/client.go","position":125,"original_position":125,"commit_id":"6d0c5c2066d578920c633e9c8c65ce38e504cdb3","original_commit_id":"6d0c5c2066d578920c633e9c8c65ce38e504cdb3","user":{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false},"body":"Good point, I'll add a comment explaining why I used *os.File instead of a logger.","created_at":"2018-07-12T17:48:05Z","updated_at":"2018-07-12T17:48:05Z","html_url":"https://github.com/Azure/go-autorest/pull/301#discussion_r202122628","pull_request_url":"https://api.github.com/repos/Azure/go-autorest/pulls/301","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/comments/202122628"},"html":{"href":"https://github.com/Azure/go-autorest/pull/301#discussion_r202122628"},"pull_request":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/301"}},"in_reply_to_id":202116205},"pull_request":{"url":"https://api.github.com/repos/Azure/go-autorest/pulls/301","id":200814884,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAwODE0ODg0","html_url":"https://github.com/Azure/go-autorest/pull/301","diff_url":"https://github.com/Azure/go-autorest/pull/301.diff","patch_url":"https://github.com/Azure/go-autorest/pull/301.patch","issue_url":"https://api.github.com/repos/Azure/go-autorest/issues/301","number":301,"state":"open","locked":false,"title":"Add basic request/respopnse logging","user":{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false},"body":"Added basic logging inspectors that are hooked up to the default client.\r\nThey are off by default but can be enabled by setting environment\r\nvariable AZURE_GO_AUTOREST_LOG_LEVEL to one of two values.\r\nbasic - includes URL and headers\r\nfull - everything in basic plus request/response bodies\r\nThe value of the Authorization header is redacted to avoid inadvertently\r\nleaking access tokens.\r\nEach request/response includes a timestamp.\r\nLogging spew defaults to stderr but can be written to stdout or a log\r\nfile by setting AZURE_GO_AUTOREST_LOG_FILE with the desired destination.\r\n\r\nThank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.\r\n\r\nAs part of submitting, please make sure you can make the following assertions:\r\n - [ ] I've tested my changes, adding unit tests if applicable.\r\n - [ ] I've added Apache 2.0 Headers to the top of any new source files.\r\n - [ ] I'm submitting this PR to the `dev` branch, except in the case of urgent bug fixes warranting their own release.\r\n - [ ] If I'm targeting `master`, I've updated [CHANGELOG.md](https://github.com/Azure/go-autorest/blob/master/CHANGELOG.md) to address the changes I'm making.","created_at":"2018-07-11T20:20:45Z","updated_at":"2018-07-12T17:48:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f803fc2baf69526d72276dfd981fbda4bafcd4af","assignee":{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false},"assignees":[{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"vladbarosan","id":16843371,"node_id":"MDQ6VXNlcjE2ODQzMzcx","avatar_url":"https://avatars2.githubusercontent.com/u/16843371?v=4","gravatar_id":"","url":"https://api.github.com/users/vladbarosan","html_url":"https://github.com/vladbarosan","followers_url":"https://api.github.com/users/vladbarosan/followers","following_url":"https://api.github.com/users/vladbarosan/following{/other_user}","gists_url":"https://api.github.com/users/vladbarosan/gists{/gist_id}","starred_url":"https://api.github.com/users/vladbarosan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladbarosan/subscriptions","organizations_url":"https://api.github.com/users/vladbarosan/orgs","repos_url":"https://api.github.com/users/vladbarosan/repos","events_url":"https://api.github.com/users/vladbarosan/events{/privacy}","received_events_url":"https://api.github.com/users/vladbarosan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":753780853,"node_id":"MDU6TGFiZWw3NTM3ODA4NTM=","url":"https://api.github.com/repos/Azure/go-autorest/labels/review","name":"review","color":"fef2c0","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Azure/go-autorest/pulls/301/commits","review_comments_url":"https://api.github.com/repos/Azure/go-autorest/pulls/301/comments","review_comment_url":"https://api.github.com/repos/Azure/go-autorest/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Azure/go-autorest/issues/301/comments","statuses_url":"https://api.github.com/repos/Azure/go-autorest/statuses/6d0c5c2066d578920c633e9c8c65ce38e504cdb3","head":{"label":"jhendrixMSFT:logging","ref":"logging","sha":"6d0c5c2066d578920c633e9c8c65ce38e504cdb3","user":{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false},"repo":{"id":69298966,"node_id":"MDEwOlJlcG9zaXRvcnk2OTI5ODk2Ng==","name":"go-autorest","full_name":"jhendrixMSFT/go-autorest","owner":{"login":"jhendrixMSFT","id":10090263,"node_id":"MDQ6VXNlcjEwMDkwMjYz","avatar_url":"https://avatars0.githubusercontent.com/u/10090263?v=4","gravatar_id":"","url":"https://api.github.com/users/jhendrixMSFT","html_url":"https://github.com/jhendrixMSFT","followers_url":"https://api.github.com/users/jhendrixMSFT/followers","following_url":"https://api.github.com/users/jhendrixMSFT/following{/other_user}","gists_url":"https://api.github.com/users/jhendrixMSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/jhendrixMSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhendrixMSFT/subscriptions","organizations_url":"https://api.github.com/users/jhendrixMSFT/orgs","repos_url":"https://api.github.com/users/jhendrixMSFT/repos","events_url":"https://api.github.com/users/jhendrixMSFT/events{/privacy}","received_events_url":"https://api.github.com/users/jhendrixMSFT/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jhendrixMSFT/go-autorest","description":"This package implements an HTTP request pipeline suitable for use across multiple go-routines and provides the shared routines relied on by AutoRest (see https://github.com/Azure/autorest/) generated Go code.","fork":true,"url":"https://api.github.com/repos/jhendrixMSFT/go-autorest","forks_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/forks","keys_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/teams","hooks_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/hooks","issue_events_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/issues/events{/number}","events_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/events","assignees_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/assignees{/user}","branches_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/branches{/branch}","tags_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/tags","blobs_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/languages","stargazers_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/stargazers","contributors_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/contributors","subscribers_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/subscribers","subscription_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/subscription","commits_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/contents/{+path}","compare_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/merges","archive_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/downloads","issues_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/issues{/number}","pulls_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/labels{/name}","releases_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/releases{/id}","deployments_url":"https://api.github.com/repos/jhendrixMSFT/go-autorest/deployments","created_at":"2016-09-26T22:45:30Z","updated_at":"2018-07-03T18:52:10Z","pushed_at":"2018-07-11T21:13:13Z","git_url":"git://github.com/jhendrixMSFT/go-autorest.git","ssh_url":"git@github.com:jhendrixMSFT/go-autorest.git","clone_url":"https://github.com/jhendrixMSFT/go-autorest.git","svn_url":"https://github.com/jhendrixMSFT/go-autorest","homepage":"","size":838,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Azure:dev","ref":"dev","sha":"03b8d0342d414a86a26aa2c6fe93180a3b6be8b6","user":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"repo":{"id":39398382,"node_id":"MDEwOlJlcG9zaXRvcnkzOTM5ODM4Mg==","name":"go-autorest","full_name":"Azure/go-autorest","owner":{"login":"Azure","id":6844498,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY4NDQ0OTg=","avatar_url":"https://avatars0.githubusercontent.com/u/6844498?v=4","gravatar_id":"","url":"https://api.github.com/users/Azure","html_url":"https://github.com/Azure","followers_url":"https://api.github.com/users/Azure/followers","following_url":"https://api.github.com/users/Azure/following{/other_user}","gists_url":"https://api.github.com/users/Azure/gists{/gist_id}","starred_url":"https://api.github.com/users/Azure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Azure/subscriptions","organizations_url":"https://api.github.com/users/Azure/orgs","repos_url":"https://api.github.com/users/Azure/repos","events_url":"https://api.github.com/users/Azure/events{/privacy}","received_events_url":"https://api.github.com/users/Azure/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Azure/go-autorest","description":"This package implements an HTTP request pipeline suitable for use across multiple go-routines and provides the shared routines relied on by AutoRest generated Go code.","fork":false,"url":"https://api.github.com/repos/Azure/go-autorest","forks_url":"https://api.github.com/repos/Azure/go-autorest/forks","keys_url":"https://api.github.com/repos/Azure/go-autorest/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Azure/go-autorest/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Azure/go-autorest/teams","hooks_url":"https://api.github.com/repos/Azure/go-autorest/hooks","issue_events_url":"https://api.github.com/repos/Azure/go-autorest/issues/events{/number}","events_url":"https://api.github.com/repos/Azure/go-autorest/events","assignees_url":"https://api.github.com/repos/Azure/go-autorest/assignees{/user}","branches_url":"https://api.github.com/repos/Azure/go-autorest/branches{/branch}","tags_url":"https://api.github.com/repos/Azure/go-autorest/tags","blobs_url":"https://api.github.com/repos/Azure/go-autorest/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Azure/go-autorest/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Azure/go-autorest/git/refs{/sha}","trees_url":"https://api.github.com/repos/Azure/go-autorest/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Azure/go-autorest/statuses/{sha}","languages_url":"https://api.github.com/repos/Azure/go-autorest/languages","stargazers_url":"https://api.github.com/repos/Azure/go-autorest/stargazers","contributors_url":"https://api.github.com/repos/Azure/go-autorest/contributors","subscribers_url":"https://api.github.com/repos/Azure/go-autorest/subscribers","subscription_url":"https://api.github.com/repos/Azure/go-autorest/subscription","commits_url":"https://api.github.com/repos/Azure/go-autorest/commits{/sha}","git_commits_url":"https://api.github.com/repos/Azure/go-autorest/git/commits{/sha}","comments_url":"https://api.github.com/repos/Azure/go-autorest/comments{/number}","issue_comment_url":"https://api.github.com/repos/Azure/go-autorest/issues/comments{/number}","contents_url":"https://api.github.com/repos/Azure/go-autorest/contents/{+path}","compare_url":"https://api.github.com/repos/Azure/go-autorest/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Azure/go-autorest/merges","archive_url":"https://api.github.com/repos/Azure/go-autorest/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Azure/go-autorest/downloads","issues_url":"https://api.github.com/repos/Azure/go-autorest/issues{/number}","pulls_url":"https://api.github.com/repos/Azure/go-autorest/pulls{/number}","milestones_url":"https://api.github.com/repos/Azure/go-autorest/milestones{/number}","notifications_url":"https://api.github.com/repos/Azure/go-autorest/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Azure/go-autorest/labels{/name}","releases_url":"https://api.github.com/repos/Azure/go-autorest/releases{/id}","deployments_url":"https://api.github.com/repos/Azure/go-autorest/deployments","created_at":"2015-07-20T17:33:08Z","updated_at":"2018-06-28T21:22:24Z","pushed_at":"2018-07-11T21:13:14Z","git_url":"git://github.com/Azure/go-autorest.git","ssh_url":"git@github.com:Azure/go-autorest.git","clone_url":"https://github.com/Azure/go-autorest.git","svn_url":"https://github.com/Azure/go-autorest","homepage":"https://github.com/Azure/autorest.go/","size":839,"stargazers_count":56,"watchers_count":56,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":57,"open_issues":12,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/301"},"html":{"href":"https://github.com/Azure/go-autorest/pull/301"},"issue":{"href":"https://api.github.com/repos/Azure/go-autorest/issues/301"},"comments":{"href":"https://api.github.com/repos/Azure/go-autorest/issues/301/comments"},"review_comments":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/301/comments"},"review_comment":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Azure/go-autorest/pulls/301/commits"},"statuses":{"href":"https://api.github.com/repos/Azure/go-autorest/statuses/6d0c5c2066d578920c633e9c8c65ce38e504cdb3"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jhendrixMSFT"}}