{"action":"opened","number":214,"pull_request":{"url":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214","id":238827304,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4ODI3MzA0","html_url":"https://github.com/malkhafaji/pure_api/pull/214","diff_url":"https://github.com/malkhafaji/pure_api/pull/214.diff","patch_url":"https://github.com/malkhafaji/pure_api/pull/214.patch","issue_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/214","number":214,"state":"open","locked":false,"title":"AK adding product category api with controller and serializer issue #212","user":{"login":"aqattan","id":22134745,"node_id":"MDQ6VXNlcjIyMTM0NzQ1","avatar_url":"https://avatars3.githubusercontent.com/u/22134745?v=4","gravatar_id":"","url":"https://api.github.com/users/aqattan","html_url":"https://github.com/aqattan","followers_url":"https://api.github.com/users/aqattan/followers","following_url":"https://api.github.com/users/aqattan/following{/other_user}","gists_url":"https://api.github.com/users/aqattan/gists{/gist_id}","starred_url":"https://api.github.com/users/aqattan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aqattan/subscriptions","organizations_url":"https://api.github.com/users/aqattan/orgs","repos_url":"https://api.github.com/users/aqattan/repos","events_url":"https://api.github.com/users/aqattan/events{/privacy}","received_events_url":"https://api.github.com/users/aqattan/received_events","type":"User","site_admin":false},"body":"Product category API:\r\nurl: http://localhost:3007/api/v1/product_categories/\r\nresponse: \r\n{\r\n    \"product_categories\": [\r\n        {\r\n            \"id\": 1,\r\n            \"name\": \"Clothes\"\r\n        },\r\n        {\r\n            \"id\": 2,\r\n            \"name\": \"Cars\"\r\n        },\r\n    ],\r\n    \"main_info\": {\r\n        \"points_balance\": 200,\r\n        \"kidus_balance\": 100,\r\n        \"Access_token\": \"zoSK8nE8K2aEWzGRAxeA\",\r\n        \"unseen_ads\": 10,\r\n        \"unanswered_surveys\": 0,\r\n        \"cart_count\": 0,\r\n        \"kidus_value_since_yesterday\": 10,\r\n        \"kidus_value_since_beginning\": 10,\r\n        \"request_language\": \"en\"\r\n    }\r\n}","created_at":"2018-12-14T20:02:07Z","updated_at":"2018-12-14T20:02:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214/commits","review_comments_url":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214/comments","review_comment_url":"https://api.github.com/repos/malkhafaji/pure_api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/214/comments","statuses_url":"https://api.github.com/repos/malkhafaji/pure_api/statuses/2512df3b3e38c94bb20604b9fc0c50f8a70232ea","head":{"label":"malkhafaji:ak_adding_product_category_api","ref":"ak_adding_product_category_api","sha":"2512df3b3e38c94bb20604b9fc0c50f8a70232ea","user":{"login":"malkhafaji","id":6835512,"node_id":"MDQ6VXNlcjY4MzU1MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6835512?v=4","gravatar_id":"","url":"https://api.github.com/users/malkhafaji","html_url":"https://github.com/malkhafaji","followers_url":"https://api.github.com/users/malkhafaji/followers","following_url":"https://api.github.com/users/malkhafaji/following{/other_user}","gists_url":"https://api.github.com/users/malkhafaji/gists{/gist_id}","starred_url":"https://api.github.com/users/malkhafaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkhafaji/subscriptions","organizations_url":"https://api.github.com/users/malkhafaji/orgs","repos_url":"https://api.github.com/users/malkhafaji/repos","events_url":"https://api.github.com/users/malkhafaji/events{/privacy}","received_events_url":"https://api.github.com/users/malkhafaji/received_events","type":"User","site_admin":false},"repo":{"id":153382399,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzODIzOTk=","name":"pure_api","full_name":"malkhafaji/pure_api","private":false,"owner":{"login":"malkhafaji","id":6835512,"node_id":"MDQ6VXNlcjY4MzU1MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6835512?v=4","gravatar_id":"","url":"https://api.github.com/users/malkhafaji","html_url":"https://github.com/malkhafaji","followers_url":"https://api.github.com/users/malkhafaji/followers","following_url":"https://api.github.com/users/malkhafaji/following{/other_user}","gists_url":"https://api.github.com/users/malkhafaji/gists{/gist_id}","starred_url":"https://api.github.com/users/malkhafaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkhafaji/subscriptions","organizations_url":"https://api.github.com/users/malkhafaji/orgs","repos_url":"https://api.github.com/users/malkhafaji/repos","events_url":"https://api.github.com/users/malkhafaji/events{/privacy}","received_events_url":"https://api.github.com/users/malkhafaji/received_events","type":"User","site_admin":false},"html_url":"https://github.com/malkhafaji/pure_api","description":null,"fork":false,"url":"https://api.github.com/repos/malkhafaji/pure_api","forks_url":"https://api.github.com/repos/malkhafaji/pure_api/forks","keys_url":"https://api.github.com/repos/malkhafaji/pure_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malkhafaji/pure_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malkhafaji/pure_api/teams","hooks_url":"https://api.github.com/repos/malkhafaji/pure_api/hooks","issue_events_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/events{/number}","events_url":"https://api.github.com/repos/malkhafaji/pure_api/events","assignees_url":"https://api.github.com/repos/malkhafaji/pure_api/assignees{/user}","branches_url":"https://api.github.com/repos/malkhafaji/pure_api/branches{/branch}","tags_url":"https://api.github.com/repos/malkhafaji/pure_api/tags","blobs_url":"https://api.github.com/repos/malkhafaji/pure_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malkhafaji/pure_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malkhafaji/pure_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/malkhafaji/pure_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malkhafaji/pure_api/statuses/{sha}","languages_url":"https://api.github.com/repos/malkhafaji/pure_api/languages","stargazers_url":"https://api.github.com/repos/malkhafaji/pure_api/stargazers","contributors_url":"https://api.github.com/repos/malkhafaji/pure_api/contributors","subscribers_url":"https://api.github.com/repos/malkhafaji/pure_api/subscribers","subscription_url":"https://api.github.com/repos/malkhafaji/pure_api/subscription","commits_url":"https://api.github.com/repos/malkhafaji/pure_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/malkhafaji/pure_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/malkhafaji/pure_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/malkhafaji/pure_api/contents/{+path}","compare_url":"https://api.github.com/repos/malkhafaji/pure_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malkhafaji/pure_api/merges","archive_url":"https://api.github.com/repos/malkhafaji/pure_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malkhafaji/pure_api/downloads","issues_url":"https://api.github.com/repos/malkhafaji/pure_api/issues{/number}","pulls_url":"https://api.github.com/repos/malkhafaji/pure_api/pulls{/number}","milestones_url":"https://api.github.com/repos/malkhafaji/pure_api/milestones{/number}","notifications_url":"https://api.github.com/repos/malkhafaji/pure_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malkhafaji/pure_api/labels{/name}","releases_url":"https://api.github.com/repos/malkhafaji/pure_api/releases{/id}","deployments_url":"https://api.github.com/repos/malkhafaji/pure_api/deployments","created_at":"2018-10-17T02:16:11Z","updated_at":"2018-12-14T18:06:04Z","pushed_at":"2018-12-14T19:59:39Z","git_url":"git://github.com/malkhafaji/pure_api.git","ssh_url":"git@github.com:malkhafaji/pure_api.git","clone_url":"https://github.com/malkhafaji/pure_api.git","svn_url":"https://github.com/malkhafaji/pure_api","homepage":null,"size":601,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"malkhafaji:dev","ref":"dev","sha":"a0ebf6a4090c7656d4f4c82a782e317c121efc7b","user":{"login":"malkhafaji","id":6835512,"node_id":"MDQ6VXNlcjY4MzU1MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6835512?v=4","gravatar_id":"","url":"https://api.github.com/users/malkhafaji","html_url":"https://github.com/malkhafaji","followers_url":"https://api.github.com/users/malkhafaji/followers","following_url":"https://api.github.com/users/malkhafaji/following{/other_user}","gists_url":"https://api.github.com/users/malkhafaji/gists{/gist_id}","starred_url":"https://api.github.com/users/malkhafaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkhafaji/subscriptions","organizations_url":"https://api.github.com/users/malkhafaji/orgs","repos_url":"https://api.github.com/users/malkhafaji/repos","events_url":"https://api.github.com/users/malkhafaji/events{/privacy}","received_events_url":"https://api.github.com/users/malkhafaji/received_events","type":"User","site_admin":false},"repo":{"id":153382399,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMzODIzOTk=","name":"pure_api","full_name":"malkhafaji/pure_api","private":false,"owner":{"login":"malkhafaji","id":6835512,"node_id":"MDQ6VXNlcjY4MzU1MTI=","avatar_url":"https://avatars3.githubusercontent.com/u/6835512?v=4","gravatar_id":"","url":"https://api.github.com/users/malkhafaji","html_url":"https://github.com/malkhafaji","followers_url":"https://api.github.com/users/malkhafaji/followers","following_url":"https://api.github.com/users/malkhafaji/following{/other_user}","gists_url":"https://api.github.com/users/malkhafaji/gists{/gist_id}","starred_url":"https://api.github.com/users/malkhafaji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malkhafaji/subscriptions","organizations_url":"https://api.github.com/users/malkhafaji/orgs","repos_url":"https://api.github.com/users/malkhafaji/repos","events_url":"https://api.github.com/users/malkhafaji/events{/privacy}","received_events_url":"https://api.github.com/users/malkhafaji/received_events","type":"User","site_admin":false},"html_url":"https://github.com/malkhafaji/pure_api","description":null,"fork":false,"url":"https://api.github.com/repos/malkhafaji/pure_api","forks_url":"https://api.github.com/repos/malkhafaji/pure_api/forks","keys_url":"https://api.github.com/repos/malkhafaji/pure_api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malkhafaji/pure_api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malkhafaji/pure_api/teams","hooks_url":"https://api.github.com/repos/malkhafaji/pure_api/hooks","issue_events_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/events{/number}","events_url":"https://api.github.com/repos/malkhafaji/pure_api/events","assignees_url":"https://api.github.com/repos/malkhafaji/pure_api/assignees{/user}","branches_url":"https://api.github.com/repos/malkhafaji/pure_api/branches{/branch}","tags_url":"https://api.github.com/repos/malkhafaji/pure_api/tags","blobs_url":"https://api.github.com/repos/malkhafaji/pure_api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malkhafaji/pure_api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malkhafaji/pure_api/git/refs{/sha}","trees_url":"https://api.github.com/repos/malkhafaji/pure_api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malkhafaji/pure_api/statuses/{sha}","languages_url":"https://api.github.com/repos/malkhafaji/pure_api/languages","stargazers_url":"https://api.github.com/repos/malkhafaji/pure_api/stargazers","contributors_url":"https://api.github.com/repos/malkhafaji/pure_api/contributors","subscribers_url":"https://api.github.com/repos/malkhafaji/pure_api/subscribers","subscription_url":"https://api.github.com/repos/malkhafaji/pure_api/subscription","commits_url":"https://api.github.com/repos/malkhafaji/pure_api/commits{/sha}","git_commits_url":"https://api.github.com/repos/malkhafaji/pure_api/git/commits{/sha}","comments_url":"https://api.github.com/repos/malkhafaji/pure_api/comments{/number}","issue_comment_url":"https://api.github.com/repos/malkhafaji/pure_api/issues/comments{/number}","contents_url":"https://api.github.com/repos/malkhafaji/pure_api/contents/{+path}","compare_url":"https://api.github.com/repos/malkhafaji/pure_api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malkhafaji/pure_api/merges","archive_url":"https://api.github.com/repos/malkhafaji/pure_api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malkhafaji/pure_api/downloads","issues_url":"https://api.github.com/repos/malkhafaji/pure_api/issues{/number}","pulls_url":"https://api.github.com/repos/malkhafaji/pure_api/pulls{/number}","milestones_url":"https://api.github.com/repos/malkhafaji/pure_api/milestones{/number}","notifications_url":"https://api.github.com/repos/malkhafaji/pure_api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malkhafaji/pure_api/labels{/name}","releases_url":"https://api.github.com/repos/malkhafaji/pure_api/releases{/id}","deployments_url":"https://api.github.com/repos/malkhafaji/pure_api/deployments","created_at":"2018-10-17T02:16:11Z","updated_at":"2018-12-14T18:06:04Z","pushed_at":"2018-12-14T19:59:39Z","git_url":"git://github.com/malkhafaji/pure_api.git","ssh_url":"git@github.com:malkhafaji/pure_api.git","clone_url":"https://github.com/malkhafaji/pure_api.git","svn_url":"https://github.com/malkhafaji/pure_api","homepage":null,"size":601,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214"},"html":{"href":"https://github.com/malkhafaji/pure_api/pull/214"},"issue":{"href":"https://api.github.com/repos/malkhafaji/pure_api/issues/214"},"comments":{"href":"https://api.github.com/repos/malkhafaji/pure_api/issues/214/comments"},"review_comments":{"href":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214/comments"},"review_comment":{"href":"https://api.github.com/repos/malkhafaji/pure_api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/malkhafaji/pure_api/pulls/214/commits"},"statuses":{"href":"https://api.github.com/repos/malkhafaji/pure_api/statuses/2512df3b3e38c94bb20604b9fc0c50f8a70232ea"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":13,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"aqattan"}}