{"action":"created","comment":{"url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/comments/195632836","pull_request_review_id":129041248,"id":195632836,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTYzMjgzNg==","diff_hunk":"@@ -145,6 +145,78 @@ Delete The Post\n ```json\n {\n     \"error\": \"Page not found\",\n-    \"code\": 404\n+    \"code\": 404,\n }\n ```\n+### `POST` Post\n+```\n+/api/posts\n+```\n+Create New Post\n+#### Request Headers\n+| Key | Value |\n+|---|---|\n+|Accept|application\\json\n+|Authorization|{token_type} {access_token}|\n+\n+#### Parameters\n+| Key | Type | Required | Description |\n+|---|---|---|---|\n+| content | String | optional | content post |\n+| rate | Integer | optional | rate post |\n+| product | Integer | required | id product |\n+\n+#### Response - Success\n+```json\n+{\n+    \"meta\": {\n+        \"status\": \"Successfully\",\n+        \"code\": 200,\n+    },\n+    \"data\": {","path":"docs/api-references/post.md","position":null,"original_position":33,"commit_id":"c202ecb12c9517bf63931448f1f24db0b01b7277","original_commit_id":"49469da41f7c12a183f82849022136b3046d2878","user":{"login":"at-sonle","id":37792504,"node_id":"MDQ6VXNlcjM3NzkyNTA0","avatar_url":"https://avatars3.githubusercontent.com/u/37792504?v=4","gravatar_id":"","url":"https://api.github.com/users/at-sonle","html_url":"https://github.com/at-sonle","followers_url":"https://api.github.com/users/at-sonle/followers","following_url":"https://api.github.com/users/at-sonle/following{/other_user}","gists_url":"https://api.github.com/users/at-sonle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-sonle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-sonle/subscriptions","organizations_url":"https://api.github.com/users/at-sonle/orgs","repos_url":"https://api.github.com/users/at-sonle/repos","events_url":"https://api.github.com/users/at-sonle/events{/privacy}","received_events_url":"https://api.github.com/users/at-sonle/received_events","type":"User","site_admin":false},"body":"có cần anh ơi chỉ xóa cái product\r\n","created_at":"2018-06-15T04:52:42Z","updated_at":"2018-06-15T04:52:42Z","html_url":"https://github.com/AT-PHPIntership/food-drink/pull/120#discussion_r195632836","pull_request_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/comments/195632836"},"html":{"href":"https://github.com/AT-PHPIntership/food-drink/pull/120#discussion_r195632836"},"pull_request":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120"}},"in_reply_to_id":195629419},"pull_request":{"url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120","id":194774994,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0Nzc0OTk0","html_url":"https://github.com/AT-PHPIntership/food-drink/pull/120","diff_url":"https://github.com/AT-PHPIntership/food-drink/pull/120.diff","patch_url":"https://github.com/AT-PHPIntership/food-drink/pull/120.patch","issue_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/120","number":120,"state":"open","locked":false,"title":"Docs add post","user":{"login":"at-sonle","id":37792504,"node_id":"MDQ6VXNlcjM3NzkyNTA0","avatar_url":"https://avatars3.githubusercontent.com/u/37792504?v=4","gravatar_id":"","url":"https://api.github.com/users/at-sonle","html_url":"https://github.com/at-sonle","followers_url":"https://api.github.com/users/at-sonle/followers","following_url":"https://api.github.com/users/at-sonle/following{/other_user}","gists_url":"https://api.github.com/users/at-sonle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-sonle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-sonle/subscriptions","organizations_url":"https://api.github.com/users/at-sonle/orgs","repos_url":"https://api.github.com/users/at-sonle/repos","events_url":"https://api.github.com/users/at-sonle/events{/privacy}","received_events_url":"https://api.github.com/users/at-sonle/received_events","type":"User","site_admin":false},"body":"## Description\r\ndocs add post\r\n## Reference Requirements\r\n- Task ID: TI-1\r\n\r\n## Reference Isuees\r\n#{issue_id}\r\n\r\n## Migrations\r\nNO\r\n\r\n## Impacted Areas in Application\r\nList general components of the application that this PR will affect:\r\n\r\n-\r\n\r\n","created_at":"2018-06-14T04:20:09Z","updated_at":"2018-06-15T04:52:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c67040c826c1674953e0e2900a611c0afb990993","assignee":{"login":"at-dungle","id":37789784,"node_id":"MDQ6VXNlcjM3Nzg5Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/37789784?v=4","gravatar_id":"","url":"https://api.github.com/users/at-dungle","html_url":"https://github.com/at-dungle","followers_url":"https://api.github.com/users/at-dungle/followers","following_url":"https://api.github.com/users/at-dungle/following{/other_user}","gists_url":"https://api.github.com/users/at-dungle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-dungle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-dungle/subscriptions","organizations_url":"https://api.github.com/users/at-dungle/orgs","repos_url":"https://api.github.com/users/at-dungle/repos","events_url":"https://api.github.com/users/at-dungle/events{/privacy}","received_events_url":"https://api.github.com/users/at-dungle/received_events","type":"User","site_admin":false},"assignees":[{"login":"at-dungle","id":37789784,"node_id":"MDQ6VXNlcjM3Nzg5Nzg0","avatar_url":"https://avatars2.githubusercontent.com/u/37789784?v=4","gravatar_id":"","url":"https://api.github.com/users/at-dungle","html_url":"https://github.com/at-dungle","followers_url":"https://api.github.com/users/at-dungle/followers","following_url":"https://api.github.com/users/at-dungle/following{/other_user}","gists_url":"https://api.github.com/users/at-dungle/gists{/gist_id}","starred_url":"https://api.github.com/users/at-dungle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/at-dungle/subscriptions","organizations_url":"https://api.github.com/users/at-dungle/orgs","repos_url":"https://api.github.com/users/at-dungle/repos","events_url":"https://api.github.com/users/at-dungle/events{/privacy}","received_events_url":"https://api.github.com/users/at-dungle/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":929671489,"node_id":"MDU6TGFiZWw5Mjk2NzE0ODk=","url":"https://api.github.com/repos/AT-PHPIntership/food-drink/labels/in-review","name":"in-review","color":"c5def5","default":false},{"id":929673870,"node_id":"MDU6TGFiZWw5Mjk2NzM4NzA=","url":"https://api.github.com/repos/AT-PHPIntership/food-drink/labels/task","name":"task","color":"1d76db","default":false},{"id":960919631,"node_id":"MDU6TGFiZWw5NjA5MTk2MzE=","url":"https://api.github.com/repos/AT-PHPIntership/food-drink/labels/week%205","name":"week 5","color":"d65972","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120/commits","review_comments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120/comments","review_comment_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/120/comments","statuses_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/statuses/c202ecb12c9517bf63931448f1f24db0b01b7277","head":{"label":"AT-PHPIntership:docs-add-post","ref":"docs-add-post","sha":"c202ecb12c9517bf63931448f1f24db0b01b7277","user":{"login":"AT-PHPIntership","id":17865237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODY1MjM3","avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"repo":{"id":132847163,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4NDcxNjM=","name":"food-drink","full_name":"AT-PHPIntership/food-drink","owner":{"login":"AT-PHPIntership","id":17865237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODY1MjM3","avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-PHPIntership/food-drink","description":null,"fork":false,"url":"https://api.github.com/repos/AT-PHPIntership/food-drink","forks_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/forks","keys_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/teams","hooks_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/hooks","issue_events_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/events{/number}","events_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/events","assignees_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/assignees{/user}","branches_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/branches{/branch}","tags_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/tags","blobs_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/languages","stargazers_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/stargazers","contributors_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/contributors","subscribers_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/subscribers","subscription_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/subscription","commits_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/contents/{+path}","compare_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/merges","archive_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/downloads","issues_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues{/number}","pulls_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/labels{/name}","releases_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/releases{/id}","deployments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/deployments","created_at":"2018-05-10T04:09:05Z","updated_at":"2018-06-15T04:50:36Z","pushed_at":"2018-06-15T04:50:37Z","git_url":"git://github.com/AT-PHPIntership/food-drink.git","ssh_url":"git@github.com:AT-PHPIntership/food-drink.git","clone_url":"https://github.com/AT-PHPIntership/food-drink.git","svn_url":"https://github.com/AT-PHPIntership/food-drink","homepage":null,"size":2329,"stargazers_count":3,"watchers_count":3,"language":"PHP","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":8,"license":null,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"base":{"label":"AT-PHPIntership:master","ref":"master","sha":"fea4e8318e49c2c1173197cddeb35c8e40901ec8","user":{"login":"AT-PHPIntership","id":17865237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODY1MjM3","avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"repo":{"id":132847163,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI4NDcxNjM=","name":"food-drink","full_name":"AT-PHPIntership/food-drink","owner":{"login":"AT-PHPIntership","id":17865237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3ODY1MjM3","avatar_url":"https://avatars1.githubusercontent.com/u/17865237?v=4","gravatar_id":"","url":"https://api.github.com/users/AT-PHPIntership","html_url":"https://github.com/AT-PHPIntership","followers_url":"https://api.github.com/users/AT-PHPIntership/followers","following_url":"https://api.github.com/users/AT-PHPIntership/following{/other_user}","gists_url":"https://api.github.com/users/AT-PHPIntership/gists{/gist_id}","starred_url":"https://api.github.com/users/AT-PHPIntership/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AT-PHPIntership/subscriptions","organizations_url":"https://api.github.com/users/AT-PHPIntership/orgs","repos_url":"https://api.github.com/users/AT-PHPIntership/repos","events_url":"https://api.github.com/users/AT-PHPIntership/events{/privacy}","received_events_url":"https://api.github.com/users/AT-PHPIntership/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AT-PHPIntership/food-drink","description":null,"fork":false,"url":"https://api.github.com/repos/AT-PHPIntership/food-drink","forks_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/forks","keys_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/teams","hooks_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/hooks","issue_events_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/events{/number}","events_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/events","assignees_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/assignees{/user}","branches_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/branches{/branch}","tags_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/tags","blobs_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/refs{/sha}","trees_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/statuses/{sha}","languages_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/languages","stargazers_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/stargazers","contributors_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/contributors","subscribers_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/subscribers","subscription_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/subscription","commits_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/commits{/sha}","git_commits_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/git/commits{/sha}","comments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/comments{/number}","issue_comment_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/comments{/number}","contents_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/contents/{+path}","compare_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/merges","archive_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/downloads","issues_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues{/number}","pulls_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls{/number}","milestones_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/milestones{/number}","notifications_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/labels{/name}","releases_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/releases{/id}","deployments_url":"https://api.github.com/repos/AT-PHPIntership/food-drink/deployments","created_at":"2018-05-10T04:09:05Z","updated_at":"2018-06-15T04:50:36Z","pushed_at":"2018-06-15T04:50:37Z","git_url":"git://github.com/AT-PHPIntership/food-drink.git","ssh_url":"git@github.com:AT-PHPIntership/food-drink.git","clone_url":"https://github.com/AT-PHPIntership/food-drink.git","svn_url":"https://github.com/AT-PHPIntership/food-drink","homepage":null,"size":2329,"stargazers_count":3,"watchers_count":3,"language":"PHP","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":8,"license":null,"forks":0,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120"},"html":{"href":"https://github.com/AT-PHPIntership/food-drink/pull/120"},"issue":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/120"},"comments":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/issues/120/comments"},"review_comments":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120/comments"},"review_comment":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/pulls/120/commits"},"statuses":{"href":"https://api.github.com/repos/AT-PHPIntership/food-drink/statuses/c202ecb12c9517bf63931448f1f24db0b01b7277"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"at-sonle"}}