{"action":"closed","number":465,"pull_request":{"url":"https://api.github.com/repos/DataDog/documentation/pulls/465","id":40601185,"html_url":"https://github.com/DataDog/documentation/pull/465","diff_url":"https://github.com/DataDog/documentation/pull/465.diff","patch_url":"https://github.com/DataDog/documentation/pull/465.patch","issue_url":"https://api.github.com/repos/DataDog/documentation/issues/465","number":465,"state":"closed","locked":false,"title":"Update api-tags-add.sh","user":{"login":"sysadmin-x","id":599677,"avatar_url":"https://avatars.githubusercontent.com/u/599677?v=3","gravatar_id":"","url":"https://api.github.com/users/sysadmin-x","html_url":"https://github.com/sysadmin-x","followers_url":"https://api.github.com/users/sysadmin-x/followers","following_url":"https://api.github.com/users/sysadmin-x/following{/other_user}","gists_url":"https://api.github.com/users/sysadmin-x/gists{/gist_id}","starred_url":"https://api.github.com/users/sysadmin-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysadmin-x/subscriptions","organizations_url":"https://api.github.com/users/sysadmin-x/orgs","repos_url":"https://api.github.com/users/sysadmin-x/repos","events_url":"https://api.github.com/users/sysadmin-x/events{/privacy}","received_events_url":"https://api.github.com/users/sysadmin-x/received_events","type":"User","site_admin":false},"body":"Removed dependency on 'jq' for parsing json output and switched to 'cut' for parsing (assumed not all hosts have jq installed).  Changed all instances of host_id to host_name for consistency and to match similar pull request (https://github.com/DataDog/documentation/pull/461) for get-tags method. I also changed line 3 to just \"host\" instead of \"host_name\" since it would then be superseded by the variable defintion on line 6.  On line 9, I added the \"$host\" param being passed to the query so that way the correct host was found. Previously, this did not have a value and would then add the tags to the first host found in the account.","created_at":"2015-07-22T19:18:53Z","updated_at":"2015-07-23T10:26:19Z","closed_at":"2015-07-23T10:26:18Z","merged_at":"2015-07-23T10:26:18Z","merge_commit_sha":"1da49784fc7d297e0c64152ad6e92bbcaa09acc4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/documentation/pulls/465/commits","review_comments_url":"https://api.github.com/repos/DataDog/documentation/pulls/465/comments","review_comment_url":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/documentation/issues/465/comments","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/6652e531453e142830dba361e008ccc2edd3dcf0","head":{"label":"sysadmin-x:patch-6","ref":"patch-6","sha":"6652e531453e142830dba361e008ccc2edd3dcf0","user":{"login":"sysadmin-x","id":599677,"avatar_url":"https://avatars.githubusercontent.com/u/599677?v=3","gravatar_id":"","url":"https://api.github.com/users/sysadmin-x","html_url":"https://github.com/sysadmin-x","followers_url":"https://api.github.com/users/sysadmin-x/followers","following_url":"https://api.github.com/users/sysadmin-x/following{/other_user}","gists_url":"https://api.github.com/users/sysadmin-x/gists{/gist_id}","starred_url":"https://api.github.com/users/sysadmin-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysadmin-x/subscriptions","organizations_url":"https://api.github.com/users/sysadmin-x/orgs","repos_url":"https://api.github.com/users/sysadmin-x/repos","events_url":"https://api.github.com/users/sysadmin-x/events{/privacy}","received_events_url":"https://api.github.com/users/sysadmin-x/received_events","type":"User","site_admin":false},"repo":{"id":37541065,"name":"documentation","full_name":"sysadmin-x/documentation","owner":{"login":"sysadmin-x","id":599677,"avatar_url":"https://avatars.githubusercontent.com/u/599677?v=3","gravatar_id":"","url":"https://api.github.com/users/sysadmin-x","html_url":"https://github.com/sysadmin-x","followers_url":"https://api.github.com/users/sysadmin-x/followers","following_url":"https://api.github.com/users/sysadmin-x/following{/other_user}","gists_url":"https://api.github.com/users/sysadmin-x/gists{/gist_id}","starred_url":"https://api.github.com/users/sysadmin-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sysadmin-x/subscriptions","organizations_url":"https://api.github.com/users/sysadmin-x/orgs","repos_url":"https://api.github.com/users/sysadmin-x/repos","events_url":"https://api.github.com/users/sysadmin-x/events{/privacy}","received_events_url":"https://api.github.com/users/sysadmin-x/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sysadmin-x/documentation","description":"The source for Datadog's documentation site.","fork":true,"url":"https://api.github.com/repos/sysadmin-x/documentation","forks_url":"https://api.github.com/repos/sysadmin-x/documentation/forks","keys_url":"https://api.github.com/repos/sysadmin-x/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sysadmin-x/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sysadmin-x/documentation/teams","hooks_url":"https://api.github.com/repos/sysadmin-x/documentation/hooks","issue_events_url":"https://api.github.com/repos/sysadmin-x/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/sysadmin-x/documentation/events","assignees_url":"https://api.github.com/repos/sysadmin-x/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/sysadmin-x/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/sysadmin-x/documentation/tags","blobs_url":"https://api.github.com/repos/sysadmin-x/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sysadmin-x/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sysadmin-x/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/sysadmin-x/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sysadmin-x/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/sysadmin-x/documentation/languages","stargazers_url":"https://api.github.com/repos/sysadmin-x/documentation/stargazers","contributors_url":"https://api.github.com/repos/sysadmin-x/documentation/contributors","subscribers_url":"https://api.github.com/repos/sysadmin-x/documentation/subscribers","subscription_url":"https://api.github.com/repos/sysadmin-x/documentation/subscription","commits_url":"https://api.github.com/repos/sysadmin-x/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/sysadmin-x/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/sysadmin-x/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/sysadmin-x/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/sysadmin-x/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/sysadmin-x/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sysadmin-x/documentation/merges","archive_url":"https://api.github.com/repos/sysadmin-x/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sysadmin-x/documentation/downloads","issues_url":"https://api.github.com/repos/sysadmin-x/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/sysadmin-x/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/sysadmin-x/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/sysadmin-x/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sysadmin-x/documentation/labels{/name}","releases_url":"https://api.github.com/repos/sysadmin-x/documentation/releases{/id}","created_at":"2015-06-16T16:08:09Z","updated_at":"2015-06-16T16:08:10Z","pushed_at":"2015-07-22T19:18:46Z","git_url":"git://github.com/sysadmin-x/documentation.git","ssh_url":"git@github.com:sysadmin-x/documentation.git","clone_url":"https://github.com/sysadmin-x/documentation.git","svn_url":"https://github.com/sysadmin-x/documentation","homepage":"http://docs.datadoghq.com","size":13718,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"DataDog:master","ref":"master","sha":"e3cab0a7f55ea1f674ef6f6b8b57d71347e8568b","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":2967233,"name":"documentation","full_name":"DataDog/documentation","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/documentation","description":"The source for Datadog's documentation site.","fork":false,"url":"https://api.github.com/repos/DataDog/documentation","forks_url":"https://api.github.com/repos/DataDog/documentation/forks","keys_url":"https://api.github.com/repos/DataDog/documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/documentation/teams","hooks_url":"https://api.github.com/repos/DataDog/documentation/hooks","issue_events_url":"https://api.github.com/repos/DataDog/documentation/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/documentation/events","assignees_url":"https://api.github.com/repos/DataDog/documentation/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/documentation/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/documentation/tags","blobs_url":"https://api.github.com/repos/DataDog/documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/documentation/languages","stargazers_url":"https://api.github.com/repos/DataDog/documentation/stargazers","contributors_url":"https://api.github.com/repos/DataDog/documentation/contributors","subscribers_url":"https://api.github.com/repos/DataDog/documentation/subscribers","subscription_url":"https://api.github.com/repos/DataDog/documentation/subscription","commits_url":"https://api.github.com/repos/DataDog/documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/documentation/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/documentation/merges","archive_url":"https://api.github.com/repos/DataDog/documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/documentation/downloads","issues_url":"https://api.github.com/repos/DataDog/documentation/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/documentation/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/documentation/releases{/id}","created_at":"2011-12-12T20:32:29Z","updated_at":"2015-06-30T15:57:38Z","pushed_at":"2015-07-23T10:26:18Z","git_url":"git://github.com/DataDog/documentation.git","ssh_url":"git@github.com:DataDog/documentation.git","clone_url":"https://github.com/DataDog/documentation.git","svn_url":"https://github.com/DataDog/documentation","homepage":"http://docs.datadoghq.com","size":18847,"stargazers_count":9,"watchers_count":9,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":16,"mirror_url":null,"open_issues_count":26,"forks":16,"open_issues":26,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/465"},"html":{"href":"https://github.com/DataDog/documentation/pull/465"},"issue":{"href":"https://api.github.com/repos/DataDog/documentation/issues/465"},"comments":{"href":"https://api.github.com/repos/DataDog/documentation/issues/465/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/465/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/documentation/pulls/465/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/documentation/statuses/6652e531453e142830dba361e008ccc2edd3dcf0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"technovangelist","id":633681,"avatar_url":"https://avatars.githubusercontent.com/u/633681?v=3","gravatar_id":"","url":"https://api.github.com/users/technovangelist","html_url":"https://github.com/technovangelist","followers_url":"https://api.github.com/users/technovangelist/followers","following_url":"https://api.github.com/users/technovangelist/following{/other_user}","gists_url":"https://api.github.com/users/technovangelist/gists{/gist_id}","starred_url":"https://api.github.com/users/technovangelist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/technovangelist/subscriptions","organizations_url":"https://api.github.com/users/technovangelist/orgs","repos_url":"https://api.github.com/users/technovangelist/repos","events_url":"https://api.github.com/users/technovangelist/events{/privacy}","received_events_url":"https://api.github.com/users/technovangelist/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":4,"changed_files":1}}