{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/16","id":236486571,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2NDg2NTcx","html_url":"https://github.com/Kenec/git-cheat-sheet/pull/16","diff_url":"https://github.com/Kenec/git-cheat-sheet/pull/16.diff","patch_url":"https://github.com/Kenec/git-cheat-sheet/pull/16.patch","issue_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/16","number":16,"state":"open","locked":false,"title":"Create Add Cheats Endpoint","user":{"login":"Kenec","id":23337808,"node_id":"MDQ6VXNlcjIzMzM3ODA4","avatar_url":"https://avatars3.githubusercontent.com/u/23337808?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenec","html_url":"https://github.com/Kenec","followers_url":"https://api.github.com/users/Kenec/followers","following_url":"https://api.github.com/users/Kenec/following{/other_user}","gists_url":"https://api.github.com/users/Kenec/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenec/subscriptions","organizations_url":"https://api.github.com/users/Kenec/orgs","repos_url":"https://api.github.com/users/Kenec/repos","events_url":"https://api.github.com/users/Kenec/events{/privacy}","received_events_url":"https://api.github.com/users/Kenec/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\n* creates the endpoint to add cheats\r\n\r\n### Description of Task to be completed?\r\n* add cheats to the database\r\n\r\n### How should this be manually tested?\r\n* Clone the repo\r\n* checkout to ft-build-addcheats-endpoint branch\r\n* Run `npm start`\r\n* Use postman to access [POST]`localhost:3000/api/v1/gitcheats\r\n* Sample Data: `{\r\n\t\"owner\": 0,\r\n\t\"title\": \"Clone Git Repo\",\r\n\t\"detail\": [\r\n\t\t{ \"description\": \"Description 1\", \"command\": \"git clone repo-name\" }\r\n\t]\r\n}`\r\n\r\n### Any background context you want to provide?\r\n* None","created_at":"2018-12-06T10:53:58Z","updated_at":"2018-12-06T10:53:58Z","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/Kenec/git-cheat-sheet/pulls/16/commits","review_comments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/16/comments","review_comment_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/16/comments","statuses_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/statuses/a03137463d40b6c4441fab1d6fe063e0d7d3950d","head":{"label":"Kenec:ft-build-addcheats-endpoint","ref":"ft-build-addcheats-endpoint","sha":"a03137463d40b6c4441fab1d6fe063e0d7d3950d","user":{"login":"Kenec","id":23337808,"node_id":"MDQ6VXNlcjIzMzM3ODA4","avatar_url":"https://avatars3.githubusercontent.com/u/23337808?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenec","html_url":"https://github.com/Kenec","followers_url":"https://api.github.com/users/Kenec/followers","following_url":"https://api.github.com/users/Kenec/following{/other_user}","gists_url":"https://api.github.com/users/Kenec/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenec/subscriptions","organizations_url":"https://api.github.com/users/Kenec/orgs","repos_url":"https://api.github.com/users/Kenec/repos","events_url":"https://api.github.com/users/Kenec/events{/privacy}","received_events_url":"https://api.github.com/users/Kenec/received_events","type":"User","site_admin":false},"repo":{"id":158272560,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgyNzI1NjA=","name":"git-cheat-sheet","full_name":"Kenec/git-cheat-sheet","private":false,"owner":{"login":"Kenec","id":23337808,"node_id":"MDQ6VXNlcjIzMzM3ODA4","avatar_url":"https://avatars3.githubusercontent.com/u/23337808?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenec","html_url":"https://github.com/Kenec","followers_url":"https://api.github.com/users/Kenec/followers","following_url":"https://api.github.com/users/Kenec/following{/other_user}","gists_url":"https://api.github.com/users/Kenec/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenec/subscriptions","organizations_url":"https://api.github.com/users/Kenec/orgs","repos_url":"https://api.github.com/users/Kenec/repos","events_url":"https://api.github.com/users/Kenec/events{/privacy}","received_events_url":"https://api.github.com/users/Kenec/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kenec/git-cheat-sheet","description":"Git Cheat Sheet using MongoDB + Express + React + NodeJS","fork":false,"url":"https://api.github.com/repos/Kenec/git-cheat-sheet","forks_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/forks","keys_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/teams","hooks_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/hooks","issue_events_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/events{/number}","events_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/events","assignees_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/assignees{/user}","branches_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/branches{/branch}","tags_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/tags","blobs_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/statuses/{sha}","languages_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/languages","stargazers_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/stargazers","contributors_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/contributors","subscribers_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/subscribers","subscription_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/subscription","commits_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/contents/{+path}","compare_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/merges","archive_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/downloads","issues_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues{/number}","pulls_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls{/number}","milestones_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/milestones{/number}","notifications_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/labels{/name}","releases_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/releases{/id}","deployments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/deployments","created_at":"2018-11-19T18:33:54Z","updated_at":"2018-11-20T22:01:54Z","pushed_at":"2018-12-06T10:50:18Z","git_url":"git://github.com/Kenec/git-cheat-sheet.git","ssh_url":"git@github.com:Kenec/git-cheat-sheet.git","clone_url":"https://github.com/Kenec/git-cheat-sheet.git","svn_url":"https://github.com/Kenec/git-cheat-sheet","homepage":null,"size":494,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Kenec:ft-build-api","ref":"ft-build-api","sha":"4564f049dc94fa3a7cc0b1e5f37920f197553886","user":{"login":"Kenec","id":23337808,"node_id":"MDQ6VXNlcjIzMzM3ODA4","avatar_url":"https://avatars3.githubusercontent.com/u/23337808?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenec","html_url":"https://github.com/Kenec","followers_url":"https://api.github.com/users/Kenec/followers","following_url":"https://api.github.com/users/Kenec/following{/other_user}","gists_url":"https://api.github.com/users/Kenec/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenec/subscriptions","organizations_url":"https://api.github.com/users/Kenec/orgs","repos_url":"https://api.github.com/users/Kenec/repos","events_url":"https://api.github.com/users/Kenec/events{/privacy}","received_events_url":"https://api.github.com/users/Kenec/received_events","type":"User","site_admin":false},"repo":{"id":158272560,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgyNzI1NjA=","name":"git-cheat-sheet","full_name":"Kenec/git-cheat-sheet","private":false,"owner":{"login":"Kenec","id":23337808,"node_id":"MDQ6VXNlcjIzMzM3ODA4","avatar_url":"https://avatars3.githubusercontent.com/u/23337808?v=4","gravatar_id":"","url":"https://api.github.com/users/Kenec","html_url":"https://github.com/Kenec","followers_url":"https://api.github.com/users/Kenec/followers","following_url":"https://api.github.com/users/Kenec/following{/other_user}","gists_url":"https://api.github.com/users/Kenec/gists{/gist_id}","starred_url":"https://api.github.com/users/Kenec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kenec/subscriptions","organizations_url":"https://api.github.com/users/Kenec/orgs","repos_url":"https://api.github.com/users/Kenec/repos","events_url":"https://api.github.com/users/Kenec/events{/privacy}","received_events_url":"https://api.github.com/users/Kenec/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kenec/git-cheat-sheet","description":"Git Cheat Sheet using MongoDB + Express + React + NodeJS","fork":false,"url":"https://api.github.com/repos/Kenec/git-cheat-sheet","forks_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/forks","keys_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/teams","hooks_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/hooks","issue_events_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/events{/number}","events_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/events","assignees_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/assignees{/user}","branches_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/branches{/branch}","tags_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/tags","blobs_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/statuses/{sha}","languages_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/languages","stargazers_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/stargazers","contributors_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/contributors","subscribers_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/subscribers","subscription_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/subscription","commits_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/contents/{+path}","compare_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/merges","archive_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/downloads","issues_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues{/number}","pulls_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls{/number}","milestones_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/milestones{/number}","notifications_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/labels{/name}","releases_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/releases{/id}","deployments_url":"https://api.github.com/repos/Kenec/git-cheat-sheet/deployments","created_at":"2018-11-19T18:33:54Z","updated_at":"2018-11-20T22:01:54Z","pushed_at":"2018-12-06T10:50:18Z","git_url":"git://github.com/Kenec/git-cheat-sheet.git","ssh_url":"git@github.com:Kenec/git-cheat-sheet.git","clone_url":"https://github.com/Kenec/git-cheat-sheet.git","svn_url":"https://github.com/Kenec/git-cheat-sheet","homepage":null,"size":494,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/16"},"html":{"href":"https://github.com/Kenec/git-cheat-sheet/pull/16"},"issue":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/16"},"comments":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/Kenec/git-cheat-sheet/statuses/a03137463d40b6c4441fab1d6fe063e0d7d3950d"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":48,"deletions":2,"changed_files":4}}
{"actor":{"display_login":"Kenec"}}