{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14","id":196479846,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2NDc5ODQ2","html_url":"https://github.com/Derrickkip/Ride-My-Way/pull/14","diff_url":"https://github.com/Derrickkip/Ride-My-Way/pull/14.diff","patch_url":"https://github.com/Derrickkip/Ride-My-Way/pull/14.patch","issue_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/14","number":14,"state":"closed","locked":false,"title":"#4003211 Build REST Endpoint For Ride Resource  ","user":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nCreate CRUD endpoints for Ride resource\r\n\r\n#### Description of tasks to be completed?\r\nHave the following working endpoints\r\n    `GET /ridemyway/api/v1/rides`\r\n    `GET /ridemyway/api/v1/rides/<int:ride_id>`\r\n    `POST /ridemyway/api/v1/rides`\r\n    `PUT /ridemyway/api/v1/rides/<int:ride_id>`\r\n    `DELETE /ridemyway/api/v1/rides/<int:ride_id>`\r\n    `GET /ridemyway/api/v1/rides/<int:ride_id>/requests`\r\n    `POST /ridemyway/api/v1/rides/<int:ride_id>/requests`\r\n\r\n#### How should this be manually tested?\r\n* clone this repo by running `git clone https://github.com/Derrickkip/Ride-My-Way.git` in the terminal\r\n* create a virtual environment `python3 -m venv venv` and activate it `source venv/bin/activate`\r\n* install the dependancies `pip install -r requirements.txt`\r\n* `git checkout ft-ride-api-endpoint-4003211`\r\n*  Run the server `python run.py runserver`\r\n* Using postman test every endpoint above\r\n\r\n#### What are the relevant pivotal tracker stories\r\n[#158463870](https://www.pivotaltracker.com/story/show/158463870)\r\n[#158463813](https://www.pivotaltracker.com/story/show/158463813)\r\n[#158498778](https://www.pivotaltracker.com/story/show/158498778)\r\n[#158498970](https://www.pivotaltracker.com/story/show/158498970)\r\n[#158499074](https://www.pivotaltracker.com/story/show/158499074)\r\n[#158526170](https://www.pivotaltracker.com/story/show/158526170)\r\n[#158526032](https://www.pivotaltracker.com/story/show/158526032)\r\n\r\n    \r\n","created_at":"2018-06-21T14:52:36Z","updated_at":"2018-06-22T10:46:31Z","closed_at":"2018-06-22T10:46:31Z","merged_at":"2018-06-22T10:46:31Z","merge_commit_sha":"238f14c5956a28ab907e5bc3758762a402b68710","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14/commits","review_comments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14/comments","review_comment_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/14/comments","statuses_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/statuses/4114f655405121c94fc77edea583386ef8a00814","head":{"label":"Derrickkip:ft-ride-api-endpoint-4003211","ref":"ft-ride-api-endpoint-4003211","sha":"4114f655405121c94fc77edea583386ef8a00814","user":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"repo":{"id":136859428,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NTk0Mjg=","name":"Ride-My-Way","full_name":"Derrickkip/Ride-My-Way","owner":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Derrickkip/Ride-My-Way","description":"Ride-My-Way is a carpooling app that allows drivers to create ride offers and passengers to join available ride offers","fork":false,"url":"https://api.github.com/repos/Derrickkip/Ride-My-Way","forks_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/forks","keys_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/teams","hooks_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/hooks","issue_events_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/events{/number}","events_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/events","assignees_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/assignees{/user}","branches_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/branches{/branch}","tags_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/tags","blobs_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/refs{/sha}","trees_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/statuses/{sha}","languages_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/languages","stargazers_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/stargazers","contributors_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/contributors","subscribers_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/subscribers","subscription_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/subscription","commits_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/commits{/sha}","git_commits_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/commits{/sha}","comments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/comments{/number}","issue_comment_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/comments{/number}","contents_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/contents/{+path}","compare_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/merges","archive_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/downloads","issues_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues{/number}","pulls_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls{/number}","milestones_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/milestones{/number}","notifications_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/labels{/name}","releases_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/releases{/id}","deployments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/deployments","created_at":"2018-06-11T01:29:44Z","updated_at":"2018-06-11T01:29:46Z","pushed_at":"2018-06-22T10:46:31Z","git_url":"git://github.com/Derrickkip/Ride-My-Way.git","ssh_url":"git@github.com:Derrickkip/Ride-My-Way.git","clone_url":"https://github.com/Derrickkip/Ride-My-Way.git","svn_url":"https://github.com/Derrickkip/Ride-My-Way","homepage":null,"size":1870,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Derrickkip:develop","ref":"develop","sha":"e4c10cdfaba36c7b842f19e14615f735efa56f64","user":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"repo":{"id":136859428,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NTk0Mjg=","name":"Ride-My-Way","full_name":"Derrickkip/Ride-My-Way","owner":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Derrickkip/Ride-My-Way","description":"Ride-My-Way is a carpooling app that allows drivers to create ride offers and passengers to join available ride offers","fork":false,"url":"https://api.github.com/repos/Derrickkip/Ride-My-Way","forks_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/forks","keys_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/teams","hooks_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/hooks","issue_events_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/events{/number}","events_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/events","assignees_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/assignees{/user}","branches_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/branches{/branch}","tags_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/tags","blobs_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/refs{/sha}","trees_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/statuses/{sha}","languages_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/languages","stargazers_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/stargazers","contributors_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/contributors","subscribers_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/subscribers","subscription_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/subscription","commits_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/commits{/sha}","git_commits_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/git/commits{/sha}","comments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/comments{/number}","issue_comment_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/comments{/number}","contents_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/contents/{+path}","compare_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/merges","archive_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/downloads","issues_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues{/number}","pulls_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls{/number}","milestones_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/milestones{/number}","notifications_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/labels{/name}","releases_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/releases{/id}","deployments_url":"https://api.github.com/repos/Derrickkip/Ride-My-Way/deployments","created_at":"2018-06-11T01:29:44Z","updated_at":"2018-06-11T01:29:46Z","pushed_at":"2018-06-22T10:46:31Z","git_url":"git://github.com/Derrickkip/Ride-My-Way.git","ssh_url":"git@github.com:Derrickkip/Ride-My-Way.git","clone_url":"https://github.com/Derrickkip/Ride-My-Way.git","svn_url":"https://github.com/Derrickkip/Ride-My-Way","homepage":null,"size":1870,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14"},"html":{"href":"https://github.com/Derrickkip/Ride-My-Way/pull/14"},"issue":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/14"},"comments":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/Derrickkip/Ride-My-Way/statuses/4114f655405121c94fc77edea583386ef8a00814"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Derrickkip","id":7246507,"node_id":"MDQ6VXNlcjcyNDY1MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/7246507?v=4","gravatar_id":"","url":"https://api.github.com/users/Derrickkip","html_url":"https://github.com/Derrickkip","followers_url":"https://api.github.com/users/Derrickkip/followers","following_url":"https://api.github.com/users/Derrickkip/following{/other_user}","gists_url":"https://api.github.com/users/Derrickkip/gists{/gist_id}","starred_url":"https://api.github.com/users/Derrickkip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Derrickkip/subscriptions","organizations_url":"https://api.github.com/users/Derrickkip/orgs","repos_url":"https://api.github.com/users/Derrickkip/repos","events_url":"https://api.github.com/users/Derrickkip/events{/privacy}","received_events_url":"https://api.github.com/users/Derrickkip/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":18,"additions":375,"deletions":210,"changed_files":8}}
{"actor":{"display_login":"Derrickkip"}}