{"action":"created","comment":{"url":"https://api.github.com/repos/zkzofn/art_archive/pulls/comments/63136558","id":63136558,"diff_hunk":"@@ -28,8 +25,7 @@ def updateArtist(artist_id):\n         genre = setParam(value_flag, \"genre\")","path":"art_archive/updateArtist.py","position":25,"original_position":25,"commit_id":"adb9faf93811e9a81e644226d615b0fd057851f2","original_commit_id":"adb9faf93811e9a81e644226d615b0fd057851f2","user":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"body":"@yeaz 저도 그렇게 생각하고는 있었습니다... list로 flag라니...\r\n이번에 python을 처음 사용해서 급하게 쓰다보니 이런 패턴으로 사용했습니다.\r\n좋은 방법이 있나 고민해보겠습니다!","created_at":"2016-05-13T06:02:39Z","updated_at":"2016-05-13T06:02:39Z","html_url":"https://github.com/zkzofn/art_archive/pull/24#discussion_r63136558","pull_request_url":"https://api.github.com/repos/zkzofn/art_archive/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/comments/63136558"},"html":{"href":"https://github.com/zkzofn/art_archive/pull/24#discussion_r63136558"},"pull_request":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/zkzofn/art_archive/pulls/24","id":69884158,"html_url":"https://github.com/zkzofn/art_archive/pull/24","diff_url":"https://github.com/zkzofn/art_archive/pull/24.diff","patch_url":"https://github.com/zkzofn/art_archive/pull/24.patch","issue_url":"https://api.github.com/repos/zkzofn/art_archive/issues/24","number":24,"state":"open","locked":false,"title":"Edit PUT method","user":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"body":"### Summary\r\n* 공통 method, reusable 하게 수정\r\n* response 시 json으로 전송\r\n* 예외처리 수정\r\n* response code / message 수정\r\n* updateArtist() - #17 \r\n* updateImage() - #18   \r\n\r\n\r\n","created_at":"2016-05-12T18:27:12Z","updated_at":"2016-05-13T06:02:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45b5756f142920e0d17586663c22455ae0ac8b06","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zkzofn/art_archive/pulls/24/commits","review_comments_url":"https://api.github.com/repos/zkzofn/art_archive/pulls/24/comments","review_comment_url":"https://api.github.com/repos/zkzofn/art_archive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zkzofn/art_archive/issues/24/comments","statuses_url":"https://api.github.com/repos/zkzofn/art_archive/statuses/adb9faf93811e9a81e644226d615b0fd057851f2","head":{"label":"zkzofn:edit_PUT","ref":"edit_PUT","sha":"adb9faf93811e9a81e644226d615b0fd057851f2","user":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"repo":{"id":58174981,"name":"art_archive","full_name":"zkzofn/art_archive","owner":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zkzofn/art_archive","description":"","fork":false,"url":"https://api.github.com/repos/zkzofn/art_archive","forks_url":"https://api.github.com/repos/zkzofn/art_archive/forks","keys_url":"https://api.github.com/repos/zkzofn/art_archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zkzofn/art_archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zkzofn/art_archive/teams","hooks_url":"https://api.github.com/repos/zkzofn/art_archive/hooks","issue_events_url":"https://api.github.com/repos/zkzofn/art_archive/issues/events{/number}","events_url":"https://api.github.com/repos/zkzofn/art_archive/events","assignees_url":"https://api.github.com/repos/zkzofn/art_archive/assignees{/user}","branches_url":"https://api.github.com/repos/zkzofn/art_archive/branches{/branch}","tags_url":"https://api.github.com/repos/zkzofn/art_archive/tags","blobs_url":"https://api.github.com/repos/zkzofn/art_archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zkzofn/art_archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zkzofn/art_archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zkzofn/art_archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zkzofn/art_archive/statuses/{sha}","languages_url":"https://api.github.com/repos/zkzofn/art_archive/languages","stargazers_url":"https://api.github.com/repos/zkzofn/art_archive/stargazers","contributors_url":"https://api.github.com/repos/zkzofn/art_archive/contributors","subscribers_url":"https://api.github.com/repos/zkzofn/art_archive/subscribers","subscription_url":"https://api.github.com/repos/zkzofn/art_archive/subscription","commits_url":"https://api.github.com/repos/zkzofn/art_archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zkzofn/art_archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zkzofn/art_archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zkzofn/art_archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zkzofn/art_archive/contents/{+path}","compare_url":"https://api.github.com/repos/zkzofn/art_archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zkzofn/art_archive/merges","archive_url":"https://api.github.com/repos/zkzofn/art_archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zkzofn/art_archive/downloads","issues_url":"https://api.github.com/repos/zkzofn/art_archive/issues{/number}","pulls_url":"https://api.github.com/repos/zkzofn/art_archive/pulls{/number}","milestones_url":"https://api.github.com/repos/zkzofn/art_archive/milestones{/number}","notifications_url":"https://api.github.com/repos/zkzofn/art_archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zkzofn/art_archive/labels{/name}","releases_url":"https://api.github.com/repos/zkzofn/art_archive/releases{/id}","deployments_url":"https://api.github.com/repos/zkzofn/art_archive/deployments","created_at":"2016-05-06T02:31:57Z","updated_at":"2016-05-06T02:31:57Z","pushed_at":"2016-05-12T19:05:48Z","git_url":"git://github.com/zkzofn/art_archive.git","ssh_url":"git@github.com:zkzofn/art_archive.git","clone_url":"https://github.com/zkzofn/art_archive.git","svn_url":"https://github.com/zkzofn/art_archive","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"base":{"label":"zkzofn:edit_POST","ref":"edit_POST","sha":"7ab45bae200dd753af11a7f96430ca15b38a17b1","user":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"repo":{"id":58174981,"name":"art_archive","full_name":"zkzofn/art_archive","owner":{"login":"zkzofn","id":7379600,"avatar_url":"https://avatars.githubusercontent.com/u/7379600?v=3","gravatar_id":"","url":"https://api.github.com/users/zkzofn","html_url":"https://github.com/zkzofn","followers_url":"https://api.github.com/users/zkzofn/followers","following_url":"https://api.github.com/users/zkzofn/following{/other_user}","gists_url":"https://api.github.com/users/zkzofn/gists{/gist_id}","starred_url":"https://api.github.com/users/zkzofn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zkzofn/subscriptions","organizations_url":"https://api.github.com/users/zkzofn/orgs","repos_url":"https://api.github.com/users/zkzofn/repos","events_url":"https://api.github.com/users/zkzofn/events{/privacy}","received_events_url":"https://api.github.com/users/zkzofn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zkzofn/art_archive","description":"","fork":false,"url":"https://api.github.com/repos/zkzofn/art_archive","forks_url":"https://api.github.com/repos/zkzofn/art_archive/forks","keys_url":"https://api.github.com/repos/zkzofn/art_archive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zkzofn/art_archive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zkzofn/art_archive/teams","hooks_url":"https://api.github.com/repos/zkzofn/art_archive/hooks","issue_events_url":"https://api.github.com/repos/zkzofn/art_archive/issues/events{/number}","events_url":"https://api.github.com/repos/zkzofn/art_archive/events","assignees_url":"https://api.github.com/repos/zkzofn/art_archive/assignees{/user}","branches_url":"https://api.github.com/repos/zkzofn/art_archive/branches{/branch}","tags_url":"https://api.github.com/repos/zkzofn/art_archive/tags","blobs_url":"https://api.github.com/repos/zkzofn/art_archive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zkzofn/art_archive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zkzofn/art_archive/git/refs{/sha}","trees_url":"https://api.github.com/repos/zkzofn/art_archive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zkzofn/art_archive/statuses/{sha}","languages_url":"https://api.github.com/repos/zkzofn/art_archive/languages","stargazers_url":"https://api.github.com/repos/zkzofn/art_archive/stargazers","contributors_url":"https://api.github.com/repos/zkzofn/art_archive/contributors","subscribers_url":"https://api.github.com/repos/zkzofn/art_archive/subscribers","subscription_url":"https://api.github.com/repos/zkzofn/art_archive/subscription","commits_url":"https://api.github.com/repos/zkzofn/art_archive/commits{/sha}","git_commits_url":"https://api.github.com/repos/zkzofn/art_archive/git/commits{/sha}","comments_url":"https://api.github.com/repos/zkzofn/art_archive/comments{/number}","issue_comment_url":"https://api.github.com/repos/zkzofn/art_archive/issues/comments{/number}","contents_url":"https://api.github.com/repos/zkzofn/art_archive/contents/{+path}","compare_url":"https://api.github.com/repos/zkzofn/art_archive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zkzofn/art_archive/merges","archive_url":"https://api.github.com/repos/zkzofn/art_archive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zkzofn/art_archive/downloads","issues_url":"https://api.github.com/repos/zkzofn/art_archive/issues{/number}","pulls_url":"https://api.github.com/repos/zkzofn/art_archive/pulls{/number}","milestones_url":"https://api.github.com/repos/zkzofn/art_archive/milestones{/number}","notifications_url":"https://api.github.com/repos/zkzofn/art_archive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zkzofn/art_archive/labels{/name}","releases_url":"https://api.github.com/repos/zkzofn/art_archive/releases{/id}","deployments_url":"https://api.github.com/repos/zkzofn/art_archive/deployments","created_at":"2016-05-06T02:31:57Z","updated_at":"2016-05-06T02:31:57Z","pushed_at":"2016-05-12T19:05:48Z","git_url":"git://github.com/zkzofn/art_archive.git","ssh_url":"git@github.com:zkzofn/art_archive.git","clone_url":"https://github.com/zkzofn/art_archive.git","svn_url":"https://github.com/zkzofn/art_archive","homepage":null,"size":41,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":22,"forks":0,"open_issues":22,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/24"},"html":{"href":"https://github.com/zkzofn/art_archive/pull/24"},"issue":{"href":"https://api.github.com/repos/zkzofn/art_archive/issues/24"},"comments":{"href":"https://api.github.com/repos/zkzofn/art_archive/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zkzofn/art_archive/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/zkzofn/art_archive/statuses/adb9faf93811e9a81e644226d615b0fd057851f2"}}}}