{"action":"created","comment":{"url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/comments/93845925","pull_request_review_id":14379734,"id":93845925,"diff_hunk":"@@ -249,7 +249,31 @@ public class MainActivity extends Activity {\n }\n ```\n \n-## 3. 기타 API Implementation\n+## 3. Push Postback\n+포인트 적립시 어플리케이션의 푸시 노티피케이션을 이용해 사용자에게 푸시 알림 전달이 필요할 경우 사용하는 API. 매체사에서 postback api을 받는 로직을 구현하고 해당 url을 버즈스토어에 등록해야 한다. BuzzStore에서 등록한 postback url로 요청이 오면 전달받은 파라미터를 이용해 직접 사용자에게 푸시를 전송해야한다.\n+\n+![buzzstore postback api](https://github.com/Buzzvil/buzzstore-sdk-publisher/blob/master/postback.png)\n+\n+### 1. 요청 방향\n+* BuzzStore -> 매체사\n+ \n+### 2. HTTP Request method\n+\n+* **POST**\n+ \n+### 3. HTTP Request URL\n+\n+* 매체사에서 정의\n+\n+### 4. HTTP Request Parameters\n+\n+| 필드 | 타입 | 설명 |\n+|-----|----|-----|\n+| user_id | String | 매체사에서 정의한 user_id |\n+| campaign_name | String | 포인트가 지급된 캠페인 이름 |\n+| point | Integer | 유저에게 지급할 포인트 |","path":"README.md","position":26,"original_position":27,"commit_id":"0613aa7ce4a7e8a99cb350faaad50f84fa321b3d","original_commit_id":"0613aa7ce4a7e8a99cb350faaad50f84fa321b3d","user":{"login":"SeoJueun","id":377437,"avatar_url":"https://avatars.githubusercontent.com/u/377437?v=3","gravatar_id":"","url":"https://api.github.com/users/SeoJueun","html_url":"https://github.com/SeoJueun","followers_url":"https://api.github.com/users/SeoJueun/followers","following_url":"https://api.github.com/users/SeoJueun/following{/other_user}","gists_url":"https://api.github.com/users/SeoJueun/gists{/gist_id}","starred_url":"https://api.github.com/users/SeoJueun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeoJueun/subscriptions","organizations_url":"https://api.github.com/users/SeoJueun/orgs","repos_url":"https://api.github.com/users/SeoJueun/repos","events_url":"https://api.github.com/users/SeoJueun/events{/privacy}","received_events_url":"https://api.github.com/users/SeoJueun/received_events","type":"User","site_admin":false},"body":"@bongster 우선 이대로 가고 나중에 추가 요청이 오면 추가하도록 할게요","created_at":"2016-12-26T06:49:11Z","updated_at":"2016-12-26T06:49:11Z","html_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5#discussion_r93845925","pull_request_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/comments/93845925"},"html":{"href":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5#discussion_r93845925"},"pull_request":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5","id":86326364,"html_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5","diff_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5.diff","patch_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5.patch","issue_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/5","number":5,"state":"open","locked":false,"title":"Update README.md","user":{"login":"SeoJueun","id":377437,"avatar_url":"https://avatars.githubusercontent.com/u/377437?v=3","gravatar_id":"","url":"https://api.github.com/users/SeoJueun","html_url":"https://github.com/SeoJueun","followers_url":"https://api.github.com/users/SeoJueun/followers","following_url":"https://api.github.com/users/SeoJueun/following{/other_user}","gists_url":"https://api.github.com/users/SeoJueun/gists{/gist_id}","starred_url":"https://api.github.com/users/SeoJueun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SeoJueun/subscriptions","organizations_url":"https://api.github.com/users/SeoJueun/orgs","repos_url":"https://api.github.com/users/SeoJueun/repos","events_url":"https://api.github.com/users/SeoJueun/events{/privacy}","received_events_url":"https://api.github.com/users/SeoJueun/received_events","type":"User","site_admin":false},"body":"postback api 명세 추가\n","created_at":"2016-09-22T12:18:21Z","updated_at":"2016-12-26T06:49:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b38aa2c2c505658e773cd189a6b2441125f1c0f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/5/comments","statuses_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/statuses/0613aa7ce4a7e8a99cb350faaad50f84fa321b3d","head":{"label":"Buzzvil:postback","ref":"postback","sha":"0613aa7ce4a7e8a99cb350faaad50f84fa321b3d","user":{"login":"Buzzvil","id":6980982,"avatar_url":"https://avatars.githubusercontent.com/u/6980982?v=3","gravatar_id":"","url":"https://api.github.com/users/Buzzvil","html_url":"https://github.com/Buzzvil","followers_url":"https://api.github.com/users/Buzzvil/followers","following_url":"https://api.github.com/users/Buzzvil/following{/other_user}","gists_url":"https://api.github.com/users/Buzzvil/gists{/gist_id}","starred_url":"https://api.github.com/users/Buzzvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buzzvil/subscriptions","organizations_url":"https://api.github.com/users/Buzzvil/orgs","repos_url":"https://api.github.com/users/Buzzvil/repos","events_url":"https://api.github.com/users/Buzzvil/events{/privacy}","received_events_url":"https://api.github.com/users/Buzzvil/received_events","type":"Organization","site_admin":false},"repo":{"id":55581990,"name":"buzzstore-sdk-publisher","full_name":"Buzzvil/buzzstore-sdk-publisher","owner":{"login":"Buzzvil","id":6980982,"avatar_url":"https://avatars.githubusercontent.com/u/6980982?v=3","gravatar_id":"","url":"https://api.github.com/users/Buzzvil","html_url":"https://github.com/Buzzvil","followers_url":"https://api.github.com/users/Buzzvil/followers","following_url":"https://api.github.com/users/Buzzvil/following{/other_user}","gists_url":"https://api.github.com/users/Buzzvil/gists{/gist_id}","starred_url":"https://api.github.com/users/Buzzvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buzzvil/subscriptions","organizations_url":"https://api.github.com/users/Buzzvil/orgs","repos_url":"https://api.github.com/users/Buzzvil/repos","events_url":"https://api.github.com/users/Buzzvil/events{/privacy}","received_events_url":"https://api.github.com/users/Buzzvil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher","description":"Integration guide for buzzstore","fork":false,"url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher","forks_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/forks","keys_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/teams","hooks_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/hooks","issue_events_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/events","assignees_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/tags","blobs_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/languages","stargazers_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/stargazers","contributors_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/contributors","subscribers_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/subscribers","subscription_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/subscription","commits_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/merges","archive_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/downloads","issues_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/labels{/name}","releases_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/deployments","created_at":"2016-04-06T06:41:37Z","updated_at":"2016-04-06T08:21:25Z","pushed_at":"2016-10-28T02:53:29Z","git_url":"git://github.com/Buzzvil/buzzstore-sdk-publisher.git","ssh_url":"git@github.com:Buzzvil/buzzstore-sdk-publisher.git","clone_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher.git","svn_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher","homepage":null,"size":595,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Buzzvil:master","ref":"master","sha":"182334273d89d20da0c079ecd3d8f9a555a77165","user":{"login":"Buzzvil","id":6980982,"avatar_url":"https://avatars.githubusercontent.com/u/6980982?v=3","gravatar_id":"","url":"https://api.github.com/users/Buzzvil","html_url":"https://github.com/Buzzvil","followers_url":"https://api.github.com/users/Buzzvil/followers","following_url":"https://api.github.com/users/Buzzvil/following{/other_user}","gists_url":"https://api.github.com/users/Buzzvil/gists{/gist_id}","starred_url":"https://api.github.com/users/Buzzvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buzzvil/subscriptions","organizations_url":"https://api.github.com/users/Buzzvil/orgs","repos_url":"https://api.github.com/users/Buzzvil/repos","events_url":"https://api.github.com/users/Buzzvil/events{/privacy}","received_events_url":"https://api.github.com/users/Buzzvil/received_events","type":"Organization","site_admin":false},"repo":{"id":55581990,"name":"buzzstore-sdk-publisher","full_name":"Buzzvil/buzzstore-sdk-publisher","owner":{"login":"Buzzvil","id":6980982,"avatar_url":"https://avatars.githubusercontent.com/u/6980982?v=3","gravatar_id":"","url":"https://api.github.com/users/Buzzvil","html_url":"https://github.com/Buzzvil","followers_url":"https://api.github.com/users/Buzzvil/followers","following_url":"https://api.github.com/users/Buzzvil/following{/other_user}","gists_url":"https://api.github.com/users/Buzzvil/gists{/gist_id}","starred_url":"https://api.github.com/users/Buzzvil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Buzzvil/subscriptions","organizations_url":"https://api.github.com/users/Buzzvil/orgs","repos_url":"https://api.github.com/users/Buzzvil/repos","events_url":"https://api.github.com/users/Buzzvil/events{/privacy}","received_events_url":"https://api.github.com/users/Buzzvil/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher","description":"Integration guide for buzzstore","fork":false,"url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher","forks_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/forks","keys_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/teams","hooks_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/hooks","issue_events_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/events{/number}","events_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/events","assignees_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/assignees{/user}","branches_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/branches{/branch}","tags_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/tags","blobs_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/languages","stargazers_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/stargazers","contributors_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/contributors","subscribers_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/subscribers","subscription_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/subscription","commits_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/comments{/number}","contents_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/contents/{+path}","compare_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/merges","archive_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/downloads","issues_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues{/number}","pulls_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/labels{/name}","releases_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/releases{/id}","deployments_url":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/deployments","created_at":"2016-04-06T06:41:37Z","updated_at":"2016-04-06T08:21:25Z","pushed_at":"2016-10-28T02:53:29Z","git_url":"git://github.com/Buzzvil/buzzstore-sdk-publisher.git","ssh_url":"git@github.com:Buzzvil/buzzstore-sdk-publisher.git","clone_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher.git","svn_url":"https://github.com/Buzzvil/buzzstore-sdk-publisher","homepage":null,"size":595,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5"},"html":{"href":"https://github.com/Buzzvil/buzzstore-sdk-publisher/pull/5"},"issue":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/5"},"comments":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Buzzvil/buzzstore-sdk-publisher/statuses/0613aa7ce4a7e8a99cb350faaad50f84fa321b3d"}}}}
{"actor":{"display_login":"SeoJueun"}}