{"action":"closed","number":30,"pull_request":{"url":"https://api.github.com/repos/fedora-infra/mote/pulls/30","id":37903408,"html_url":"https://github.com/fedora-infra/mote/pull/30","diff_url":"https://github.com/fedora-infra/mote/pull/30.diff","patch_url":"https://github.com/fedora-infra/mote/pull/30.patch","issue_url":"https://api.github.com/repos/fedora-infra/mote/issues/30","number":30,"state":"closed","locked":false,"title":"Convert POST endpoints to GET.","user":{"login":"ralphbean","id":331338,"avatar_url":"https://avatars.githubusercontent.com/u/331338?v=3","gravatar_id":"","url":"https://api.github.com/users/ralphbean","html_url":"https://github.com/ralphbean","followers_url":"https://api.github.com/users/ralphbean/followers","following_url":"https://api.github.com/users/ralphbean/following{/other_user}","gists_url":"https://api.github.com/users/ralphbean/gists{/gist_id}","starred_url":"https://api.github.com/users/ralphbean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ralphbean/subscriptions","organizations_url":"https://api.github.com/users/ralphbean/orgs","repos_url":"https://api.github.com/users/ralphbean/repos","events_url":"https://api.github.com/users/ralphbean/events{/privacy}","received_events_url":"https://api.github.com/users/ralphbean/received_events","type":"User","site_admin":false},"body":"POST doesn't actually make sense here.  It is for when you want to\n*change* some data on the server.  Here, we are just requesting that the\nserver send us some logs -- so that should be a *GET*.\n\nFurthermore, POSTs make things unnecessarily hard to debug, since you can't\neasily copy around URLs from the developer console to play with.\n\nI also modified those flask endpoints to return real ``404`` status codes.\nIf we want to markup 404 pages, we can add a flask 404 handler to catch and\ndecorate those.","created_at":"2015-06-17T13:58:45Z","updated_at":"2015-06-18T02:17:09Z","closed_at":"2015-06-18T02:17:09Z","merged_at":"2015-06-18T02:17:09Z","merge_commit_sha":"c7e6cf0091c2671ee7948f76ca208507d57ca903","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fedora-infra/mote/pulls/30/commits","review_comments_url":"https://api.github.com/repos/fedora-infra/mote/pulls/30/comments","review_comment_url":"https://api.github.com/repos/fedora-infra/mote/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fedora-infra/mote/issues/30/comments","statuses_url":"https://api.github.com/repos/fedora-infra/mote/statuses/46b774ed0781dc98c0620b84ab83b3936181997e","head":{"label":"fedora-infra:feature/no-need-to-post","ref":"feature/no-need-to-post","sha":"46b774ed0781dc98c0620b84ab83b3936181997e","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":35184532,"name":"mote","full_name":"fedora-infra/mote","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/mote","description":"møte - Fedora meetbot log wrangler.","fork":false,"url":"https://api.github.com/repos/fedora-infra/mote","forks_url":"https://api.github.com/repos/fedora-infra/mote/forks","keys_url":"https://api.github.com/repos/fedora-infra/mote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/mote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/mote/teams","hooks_url":"https://api.github.com/repos/fedora-infra/mote/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/mote/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/mote/events","assignees_url":"https://api.github.com/repos/fedora-infra/mote/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/mote/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/mote/tags","blobs_url":"https://api.github.com/repos/fedora-infra/mote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/mote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/mote/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/mote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/mote/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/mote/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/mote/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/mote/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/mote/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/mote/subscription","commits_url":"https://api.github.com/repos/fedora-infra/mote/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/mote/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/mote/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/mote/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/mote/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/mote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/mote/merges","archive_url":"https://api.github.com/repos/fedora-infra/mote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/mote/downloads","issues_url":"https://api.github.com/repos/fedora-infra/mote/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/mote/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/mote/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/mote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/mote/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/mote/releases{/id}","created_at":"2015-05-06T21:45:06Z","updated_at":"2015-06-17T13:57:21Z","pushed_at":"2015-06-18T02:17:09Z","git_url":"git://github.com/fedora-infra/mote.git","ssh_url":"git@github.com:fedora-infra/mote.git","clone_url":"https://github.com/fedora-infra/mote.git","svn_url":"https://github.com/fedora-infra/mote","homepage":"https://meetbot.fedoraproject.org","size":1347,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":3,"default_branch":"master"}},"base":{"label":"fedora-infra:master","ref":"master","sha":"36d16ba722d4d18f6d39ff42f7ede241970810bc","user":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"repo":{"id":35184532,"name":"mote","full_name":"fedora-infra/mote","owner":{"login":"fedora-infra","id":3316637,"avatar_url":"https://avatars.githubusercontent.com/u/3316637?v=3","gravatar_id":"","url":"https://api.github.com/users/fedora-infra","html_url":"https://github.com/fedora-infra","followers_url":"https://api.github.com/users/fedora-infra/followers","following_url":"https://api.github.com/users/fedora-infra/following{/other_user}","gists_url":"https://api.github.com/users/fedora-infra/gists{/gist_id}","starred_url":"https://api.github.com/users/fedora-infra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fedora-infra/subscriptions","organizations_url":"https://api.github.com/users/fedora-infra/orgs","repos_url":"https://api.github.com/users/fedora-infra/repos","events_url":"https://api.github.com/users/fedora-infra/events{/privacy}","received_events_url":"https://api.github.com/users/fedora-infra/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fedora-infra/mote","description":"møte - Fedora meetbot log wrangler.","fork":false,"url":"https://api.github.com/repos/fedora-infra/mote","forks_url":"https://api.github.com/repos/fedora-infra/mote/forks","keys_url":"https://api.github.com/repos/fedora-infra/mote/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fedora-infra/mote/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fedora-infra/mote/teams","hooks_url":"https://api.github.com/repos/fedora-infra/mote/hooks","issue_events_url":"https://api.github.com/repos/fedora-infra/mote/issues/events{/number}","events_url":"https://api.github.com/repos/fedora-infra/mote/events","assignees_url":"https://api.github.com/repos/fedora-infra/mote/assignees{/user}","branches_url":"https://api.github.com/repos/fedora-infra/mote/branches{/branch}","tags_url":"https://api.github.com/repos/fedora-infra/mote/tags","blobs_url":"https://api.github.com/repos/fedora-infra/mote/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fedora-infra/mote/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fedora-infra/mote/git/refs{/sha}","trees_url":"https://api.github.com/repos/fedora-infra/mote/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fedora-infra/mote/statuses/{sha}","languages_url":"https://api.github.com/repos/fedora-infra/mote/languages","stargazers_url":"https://api.github.com/repos/fedora-infra/mote/stargazers","contributors_url":"https://api.github.com/repos/fedora-infra/mote/contributors","subscribers_url":"https://api.github.com/repos/fedora-infra/mote/subscribers","subscription_url":"https://api.github.com/repos/fedora-infra/mote/subscription","commits_url":"https://api.github.com/repos/fedora-infra/mote/commits{/sha}","git_commits_url":"https://api.github.com/repos/fedora-infra/mote/git/commits{/sha}","comments_url":"https://api.github.com/repos/fedora-infra/mote/comments{/number}","issue_comment_url":"https://api.github.com/repos/fedora-infra/mote/issues/comments{/number}","contents_url":"https://api.github.com/repos/fedora-infra/mote/contents/{+path}","compare_url":"https://api.github.com/repos/fedora-infra/mote/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fedora-infra/mote/merges","archive_url":"https://api.github.com/repos/fedora-infra/mote/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fedora-infra/mote/downloads","issues_url":"https://api.github.com/repos/fedora-infra/mote/issues{/number}","pulls_url":"https://api.github.com/repos/fedora-infra/mote/pulls{/number}","milestones_url":"https://api.github.com/repos/fedora-infra/mote/milestones{/number}","notifications_url":"https://api.github.com/repos/fedora-infra/mote/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fedora-infra/mote/labels{/name}","releases_url":"https://api.github.com/repos/fedora-infra/mote/releases{/id}","created_at":"2015-05-06T21:45:06Z","updated_at":"2015-06-17T13:57:21Z","pushed_at":"2015-06-18T02:17:09Z","git_url":"git://github.com/fedora-infra/mote.git","ssh_url":"git@github.com:fedora-infra/mote.git","clone_url":"https://github.com/fedora-infra/mote.git","svn_url":"https://github.com/fedora-infra/mote","homepage":"https://meetbot.fedoraproject.org","size":1347,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fedora-infra/mote/pulls/30"},"html":{"href":"https://github.com/fedora-infra/mote/pull/30"},"issue":{"href":"https://api.github.com/repos/fedora-infra/mote/issues/30"},"comments":{"href":"https://api.github.com/repos/fedora-infra/mote/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/fedora-infra/mote/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/fedora-infra/mote/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fedora-infra/mote/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/fedora-infra/mote/statuses/46b774ed0781dc98c0620b84ab83b3936181997e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Cydrobolt","id":1058150,"avatar_url":"https://avatars.githubusercontent.com/u/1058150?v=3","gravatar_id":"","url":"https://api.github.com/users/Cydrobolt","html_url":"https://github.com/Cydrobolt","followers_url":"https://api.github.com/users/Cydrobolt/followers","following_url":"https://api.github.com/users/Cydrobolt/following{/other_user}","gists_url":"https://api.github.com/users/Cydrobolt/gists{/gist_id}","starred_url":"https://api.github.com/users/Cydrobolt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cydrobolt/subscriptions","organizations_url":"https://api.github.com/users/Cydrobolt/orgs","repos_url":"https://api.github.com/users/Cydrobolt/repos","events_url":"https://api.github.com/users/Cydrobolt/events{/privacy}","received_events_url":"https://api.github.com/users/Cydrobolt/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":43,"deletions":48,"changed_files":3}}