{"action":"opened","number":66,"pull_request":{"url":"https://api.github.com/repos/digitalocean/godo/pulls/66","id":46050371,"html_url":"https://github.com/digitalocean/godo/pull/66","diff_url":"https://github.com/digitalocean/godo/pull/66.diff","patch_url":"https://github.com/digitalocean/godo/pull/66.patch","issue_url":"https://api.github.com/repos/digitalocean/godo/issues/66","number":66,"state":"open","locked":false,"title":"Add checks for arguments","user":{"login":"bryanl","id":240,"avatar_url":"https://avatars.githubusercontent.com/u/240?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanl","html_url":"https://github.com/bryanl","followers_url":"https://api.github.com/users/bryanl/followers","following_url":"https://api.github.com/users/bryanl/following{/other_user}","gists_url":"https://api.github.com/users/bryanl/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanl/subscriptions","organizations_url":"https://api.github.com/users/bryanl/orgs","repos_url":"https://api.github.com/users/bryanl/repos","events_url":"https://api.github.com/users/bryanl/events{/privacy}","received_events_url":"https://api.github.com/users/bryanl/received_events","type":"User","site_admin":false},"body":"Adds checks to determine if the request will actually be valid by prefiltering invalid defaults (less than 0, empty strings, nils). The goal of this change is eliminate unnecceary API calls.","created_at":"2015-09-25T19:44:58Z","updated_at":"2015-09-25T19:44:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/digitalocean/godo/pulls/66/commits","review_comments_url":"https://api.github.com/repos/digitalocean/godo/pulls/66/comments","review_comment_url":"https://api.github.com/repos/digitalocean/godo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/digitalocean/godo/issues/66/comments","statuses_url":"https://api.github.com/repos/digitalocean/godo/statuses/af5057f05ff26829604295443f15c9f369dda9a5","head":{"label":"digitalocean:check-faulty-inputs","ref":"check-faulty-inputs","sha":"af5057f05ff26829604295443f15c9f369dda9a5","user":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":23622727,"name":"godo","full_name":"digitalocean/godo","owner":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalocean/godo","description":"DigitalOcean Go API client","fork":false,"url":"https://api.github.com/repos/digitalocean/godo","forks_url":"https://api.github.com/repos/digitalocean/godo/forks","keys_url":"https://api.github.com/repos/digitalocean/godo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/godo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/godo/teams","hooks_url":"https://api.github.com/repos/digitalocean/godo/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/godo/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/godo/events","assignees_url":"https://api.github.com/repos/digitalocean/godo/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/godo/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/godo/tags","blobs_url":"https://api.github.com/repos/digitalocean/godo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/godo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/godo/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/godo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/godo/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/godo/languages","stargazers_url":"https://api.github.com/repos/digitalocean/godo/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/godo/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/godo/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/godo/subscription","commits_url":"https://api.github.com/repos/digitalocean/godo/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/godo/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/godo/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/godo/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/godo/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/godo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/godo/merges","archive_url":"https://api.github.com/repos/digitalocean/godo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/godo/downloads","issues_url":"https://api.github.com/repos/digitalocean/godo/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/godo/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/godo/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/godo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/godo/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/godo/releases{/id}","created_at":"2014-09-03T14:07:36Z","updated_at":"2015-09-23T08:50:15Z","pushed_at":"2015-09-25T19:44:29Z","git_url":"git://github.com/digitalocean/godo.git","ssh_url":"git@github.com:digitalocean/godo.git","clone_url":"https://github.com/digitalocean/godo.git","svn_url":"https://github.com/digitalocean/godo","homepage":null,"size":657,"stargazers_count":188,"watchers_count":188,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":3,"forks":27,"open_issues":3,"watchers":188,"default_branch":"master"}},"base":{"label":"digitalocean:master","ref":"master","sha":"7712039e0d4ac3ff13eb89c91211dd7de1ca8f17","user":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"repo":{"id":23622727,"name":"godo","full_name":"digitalocean/godo","owner":{"login":"digitalocean","id":4650108,"avatar_url":"https://avatars.githubusercontent.com/u/4650108?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalocean","html_url":"https://github.com/digitalocean","followers_url":"https://api.github.com/users/digitalocean/followers","following_url":"https://api.github.com/users/digitalocean/following{/other_user}","gists_url":"https://api.github.com/users/digitalocean/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalocean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalocean/subscriptions","organizations_url":"https://api.github.com/users/digitalocean/orgs","repos_url":"https://api.github.com/users/digitalocean/repos","events_url":"https://api.github.com/users/digitalocean/events{/privacy}","received_events_url":"https://api.github.com/users/digitalocean/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/digitalocean/godo","description":"DigitalOcean Go API client","fork":false,"url":"https://api.github.com/repos/digitalocean/godo","forks_url":"https://api.github.com/repos/digitalocean/godo/forks","keys_url":"https://api.github.com/repos/digitalocean/godo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/digitalocean/godo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/digitalocean/godo/teams","hooks_url":"https://api.github.com/repos/digitalocean/godo/hooks","issue_events_url":"https://api.github.com/repos/digitalocean/godo/issues/events{/number}","events_url":"https://api.github.com/repos/digitalocean/godo/events","assignees_url":"https://api.github.com/repos/digitalocean/godo/assignees{/user}","branches_url":"https://api.github.com/repos/digitalocean/godo/branches{/branch}","tags_url":"https://api.github.com/repos/digitalocean/godo/tags","blobs_url":"https://api.github.com/repos/digitalocean/godo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/digitalocean/godo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/digitalocean/godo/git/refs{/sha}","trees_url":"https://api.github.com/repos/digitalocean/godo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/digitalocean/godo/statuses/{sha}","languages_url":"https://api.github.com/repos/digitalocean/godo/languages","stargazers_url":"https://api.github.com/repos/digitalocean/godo/stargazers","contributors_url":"https://api.github.com/repos/digitalocean/godo/contributors","subscribers_url":"https://api.github.com/repos/digitalocean/godo/subscribers","subscription_url":"https://api.github.com/repos/digitalocean/godo/subscription","commits_url":"https://api.github.com/repos/digitalocean/godo/commits{/sha}","git_commits_url":"https://api.github.com/repos/digitalocean/godo/git/commits{/sha}","comments_url":"https://api.github.com/repos/digitalocean/godo/comments{/number}","issue_comment_url":"https://api.github.com/repos/digitalocean/godo/issues/comments{/number}","contents_url":"https://api.github.com/repos/digitalocean/godo/contents/{+path}","compare_url":"https://api.github.com/repos/digitalocean/godo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/digitalocean/godo/merges","archive_url":"https://api.github.com/repos/digitalocean/godo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/digitalocean/godo/downloads","issues_url":"https://api.github.com/repos/digitalocean/godo/issues{/number}","pulls_url":"https://api.github.com/repos/digitalocean/godo/pulls{/number}","milestones_url":"https://api.github.com/repos/digitalocean/godo/milestones{/number}","notifications_url":"https://api.github.com/repos/digitalocean/godo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/digitalocean/godo/labels{/name}","releases_url":"https://api.github.com/repos/digitalocean/godo/releases{/id}","created_at":"2014-09-03T14:07:36Z","updated_at":"2015-09-23T08:50:15Z","pushed_at":"2015-09-25T19:44:29Z","git_url":"git://github.com/digitalocean/godo.git","ssh_url":"git@github.com:digitalocean/godo.git","clone_url":"https://github.com/digitalocean/godo.git","svn_url":"https://github.com/digitalocean/godo","homepage":null,"size":657,"stargazers_count":188,"watchers_count":188,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"open_issues_count":3,"forks":27,"open_issues":3,"watchers":188,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/digitalocean/godo/pulls/66"},"html":{"href":"https://github.com/digitalocean/godo/pull/66"},"issue":{"href":"https://api.github.com/repos/digitalocean/godo/issues/66"},"comments":{"href":"https://api.github.com/repos/digitalocean/godo/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/digitalocean/godo/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/digitalocean/godo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/digitalocean/godo/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/digitalocean/godo/statuses/af5057f05ff26829604295443f15c9f369dda9a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":216,"deletions":4,"changed_files":9}}