{"action":"opened","number":50,"pull_request":{"url":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50","id":195327326,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzI3MzI2","html_url":"https://github.com/SWPP/ttrs-frontend/pull/50","diff_url":"https://github.com/SWPP/ttrs-frontend/pull/50.diff","patch_url":"https://github.com/SWPP/ttrs-frontend/pull/50.patch","issue_url":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/50","number":50,"state":"open","locked":false,"title":"Send options on recommend request","user":{"login":"holenet","id":24453019,"node_id":"MDQ6VXNlcjI0NDUzMDE5","avatar_url":"https://avatars3.githubusercontent.com/u/24453019?v=4","gravatar_id":"","url":"https://api.github.com/users/holenet","html_url":"https://github.com/holenet","followers_url":"https://api.github.com/users/holenet/followers","following_url":"https://api.github.com/users/holenet/following{/other_user}","gists_url":"https://api.github.com/users/holenet/gists{/gist_id}","starred_url":"https://api.github.com/users/holenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holenet/subscriptions","organizations_url":"https://api.github.com/users/holenet/orgs","repos_url":"https://api.github.com/users/holenet/repos","events_url":"https://api.github.com/users/holenet/events{/privacy}","received_events_url":"https://api.github.com/users/holenet/received_events","type":"User","site_admin":false},"body":"Now the backend can receive recommend request with some options including block selection.\r\n\r\nFor example,\r\n![image](https://user-images.githubusercontent.com/24453019/41497988-a1660c94-719c-11e8-86cd-9fb181f3ba11.png)\r\nIf the request is called with this state, the backend would get query params like this,\r\n```python3\r\n{'avoid_first': ['true'], 'semester': ['여름학기'], 'avoid_void': ['true'], 'jeonseon': ['464'], 'jeonpil': ['250'], 'gyoyang': ['250'], 'year': ['2018'], 'credit': ['9'], 'blocks': ['32:39|34:35,38:40|36:42|38:39||36:39'], 'avoid_successive': ['false']}\r\n```","created_at":"2018-06-16T10:39:34Z","updated_at":"2018-06-16T10:39:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":911034633,"node_id":"MDU6TGFiZWw5MTEwMzQ2MzM=","url":"https://api.github.com/repos/SWPP/ttrs-frontend/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50/commits","review_comments_url":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50/comments","review_comment_url":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/50/comments","statuses_url":"https://api.github.com/repos/SWPP/ttrs-frontend/statuses/46ed8c42ba42d34dc4c7c6c9d7250396b8b5bafd","head":{"label":"holenet:dev","ref":"dev","sha":"46ed8c42ba42d34dc4c7c6c9d7250396b8b5bafd","user":{"login":"holenet","id":24453019,"node_id":"MDQ6VXNlcjI0NDUzMDE5","avatar_url":"https://avatars3.githubusercontent.com/u/24453019?v=4","gravatar_id":"","url":"https://api.github.com/users/holenet","html_url":"https://github.com/holenet","followers_url":"https://api.github.com/users/holenet/followers","following_url":"https://api.github.com/users/holenet/following{/other_user}","gists_url":"https://api.github.com/users/holenet/gists{/gist_id}","starred_url":"https://api.github.com/users/holenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holenet/subscriptions","organizations_url":"https://api.github.com/users/holenet/orgs","repos_url":"https://api.github.com/users/holenet/repos","events_url":"https://api.github.com/users/holenet/events{/privacy}","received_events_url":"https://api.github.com/users/holenet/received_events","type":"User","site_admin":false},"repo":{"id":133131986,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMxMzE5ODY=","name":"ttrs-frontend","full_name":"holenet/ttrs-frontend","owner":{"login":"holenet","id":24453019,"node_id":"MDQ6VXNlcjI0NDUzMDE5","avatar_url":"https://avatars3.githubusercontent.com/u/24453019?v=4","gravatar_id":"","url":"https://api.github.com/users/holenet","html_url":"https://github.com/holenet","followers_url":"https://api.github.com/users/holenet/followers","following_url":"https://api.github.com/users/holenet/following{/other_user}","gists_url":"https://api.github.com/users/holenet/gists{/gist_id}","starred_url":"https://api.github.com/users/holenet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holenet/subscriptions","organizations_url":"https://api.github.com/users/holenet/orgs","repos_url":"https://api.github.com/users/holenet/repos","events_url":"https://api.github.com/users/holenet/events{/privacy}","received_events_url":"https://api.github.com/users/holenet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/holenet/ttrs-frontend","description":"ttrs frontend based on Atomic React","fork":true,"url":"https://api.github.com/repos/holenet/ttrs-frontend","forks_url":"https://api.github.com/repos/holenet/ttrs-frontend/forks","keys_url":"https://api.github.com/repos/holenet/ttrs-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/holenet/ttrs-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/holenet/ttrs-frontend/teams","hooks_url":"https://api.github.com/repos/holenet/ttrs-frontend/hooks","issue_events_url":"https://api.github.com/repos/holenet/ttrs-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/holenet/ttrs-frontend/events","assignees_url":"https://api.github.com/repos/holenet/ttrs-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/holenet/ttrs-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/holenet/ttrs-frontend/tags","blobs_url":"https://api.github.com/repos/holenet/ttrs-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/holenet/ttrs-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/holenet/ttrs-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/holenet/ttrs-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/holenet/ttrs-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/holenet/ttrs-frontend/languages","stargazers_url":"https://api.github.com/repos/holenet/ttrs-frontend/stargazers","contributors_url":"https://api.github.com/repos/holenet/ttrs-frontend/contributors","subscribers_url":"https://api.github.com/repos/holenet/ttrs-frontend/subscribers","subscription_url":"https://api.github.com/repos/holenet/ttrs-frontend/subscription","commits_url":"https://api.github.com/repos/holenet/ttrs-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/holenet/ttrs-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/holenet/ttrs-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/holenet/ttrs-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/holenet/ttrs-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/holenet/ttrs-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/holenet/ttrs-frontend/merges","archive_url":"https://api.github.com/repos/holenet/ttrs-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/holenet/ttrs-frontend/downloads","issues_url":"https://api.github.com/repos/holenet/ttrs-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/holenet/ttrs-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/holenet/ttrs-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/holenet/ttrs-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/holenet/ttrs-frontend/labels{/name}","releases_url":"https://api.github.com/repos/holenet/ttrs-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/holenet/ttrs-frontend/deployments","created_at":"2018-05-12T09:26:43Z","updated_at":"2018-06-16T10:34:11Z","pushed_at":"2018-06-16T10:34:10Z","git_url":"git://github.com/holenet/ttrs-frontend.git","ssh_url":"git@github.com:holenet/ttrs-frontend.git","clone_url":"https://github.com/holenet/ttrs-frontend.git","svn_url":"https://github.com/holenet/ttrs-frontend","homepage":"","size":1579,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"SWPP:dev","ref":"dev","sha":"87d5eaac16c45265dafac33a8b3561d26a75f714","user":{"login":"SWPP","id":38488878,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDg4ODc4","avatar_url":"https://avatars0.githubusercontent.com/u/38488878?v=4","gravatar_id":"","url":"https://api.github.com/users/SWPP","html_url":"https://github.com/SWPP","followers_url":"https://api.github.com/users/SWPP/followers","following_url":"https://api.github.com/users/SWPP/following{/other_user}","gists_url":"https://api.github.com/users/SWPP/gists{/gist_id}","starred_url":"https://api.github.com/users/SWPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWPP/subscriptions","organizations_url":"https://api.github.com/users/SWPP/orgs","repos_url":"https://api.github.com/users/SWPP/repos","events_url":"https://api.github.com/users/SWPP/events{/privacy}","received_events_url":"https://api.github.com/users/SWPP/received_events","type":"Organization","site_admin":false},"repo":{"id":130686314,"node_id":"MDEwOlJlcG9zaXRvcnkxMzA2ODYzMTQ=","name":"ttrs-frontend","full_name":"SWPP/ttrs-frontend","owner":{"login":"SWPP","id":38488878,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NDg4ODc4","avatar_url":"https://avatars0.githubusercontent.com/u/38488878?v=4","gravatar_id":"","url":"https://api.github.com/users/SWPP","html_url":"https://github.com/SWPP","followers_url":"https://api.github.com/users/SWPP/followers","following_url":"https://api.github.com/users/SWPP/following{/other_user}","gists_url":"https://api.github.com/users/SWPP/gists{/gist_id}","starred_url":"https://api.github.com/users/SWPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SWPP/subscriptions","organizations_url":"https://api.github.com/users/SWPP/orgs","repos_url":"https://api.github.com/users/SWPP/repos","events_url":"https://api.github.com/users/SWPP/events{/privacy}","received_events_url":"https://api.github.com/users/SWPP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SWPP/ttrs-frontend","description":"ttrs frontend based on Atomic React","fork":false,"url":"https://api.github.com/repos/SWPP/ttrs-frontend","forks_url":"https://api.github.com/repos/SWPP/ttrs-frontend/forks","keys_url":"https://api.github.com/repos/SWPP/ttrs-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SWPP/ttrs-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SWPP/ttrs-frontend/teams","hooks_url":"https://api.github.com/repos/SWPP/ttrs-frontend/hooks","issue_events_url":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/SWPP/ttrs-frontend/events","assignees_url":"https://api.github.com/repos/SWPP/ttrs-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/SWPP/ttrs-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/SWPP/ttrs-frontend/tags","blobs_url":"https://api.github.com/repos/SWPP/ttrs-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SWPP/ttrs-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SWPP/ttrs-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/SWPP/ttrs-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SWPP/ttrs-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/SWPP/ttrs-frontend/languages","stargazers_url":"https://api.github.com/repos/SWPP/ttrs-frontend/stargazers","contributors_url":"https://api.github.com/repos/SWPP/ttrs-frontend/contributors","subscribers_url":"https://api.github.com/repos/SWPP/ttrs-frontend/subscribers","subscription_url":"https://api.github.com/repos/SWPP/ttrs-frontend/subscription","commits_url":"https://api.github.com/repos/SWPP/ttrs-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/SWPP/ttrs-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/SWPP/ttrs-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/SWPP/ttrs-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/SWPP/ttrs-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SWPP/ttrs-frontend/merges","archive_url":"https://api.github.com/repos/SWPP/ttrs-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SWPP/ttrs-frontend/downloads","issues_url":"https://api.github.com/repos/SWPP/ttrs-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/SWPP/ttrs-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/SWPP/ttrs-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SWPP/ttrs-frontend/labels{/name}","releases_url":"https://api.github.com/repos/SWPP/ttrs-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/SWPP/ttrs-frontend/deployments","created_at":"2018-04-23T11:28:26Z","updated_at":"2018-06-16T09:26:48Z","pushed_at":"2018-06-16T09:26:47Z","git_url":"git://github.com/SWPP/ttrs-frontend.git","ssh_url":"git@github.com:SWPP/ttrs-frontend.git","clone_url":"https://github.com/SWPP/ttrs-frontend.git","svn_url":"https://github.com/SWPP/ttrs-frontend","homepage":"","size":1590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":4,"open_issues":1,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50"},"html":{"href":"https://github.com/SWPP/ttrs-frontend/pull/50"},"issue":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/50"},"comments":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/SWPP/ttrs-frontend/statuses/46ed8c42ba42d34dc4c7c6c9d7250396b8b5bafd"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":79,"deletions":15,"changed_files":7}}
{"actor":{"display_login":"holenet"}}