{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/23","id":192618321,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyNjE4MzIx","html_url":"https://github.com/asamisellah/Maintenance-Tracker/pull/23","diff_url":"https://github.com/asamisellah/Maintenance-Tracker/pull/23.diff","patch_url":"https://github.com/asamisellah/Maintenance-Tracker/pull/23.patch","issue_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/23","number":23,"state":"open","locked":false,"title":"Merging api-develop branch to develop branch","user":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nCreates working endpoints for the app. It includes tests that ensure the endpoints are working as expected.\r\n\r\n#### Description of tasks to be completed?\r\nMETHOD | ENDPOINT | FUNCTIONALITY \r\n------------ | -------------|--------------\r\nGET | /api/v1/users/requests/ | Fetch all the requests resources\r\nGET | /api/v1/users/requests/requestId | Fetch a single request resource\r\nPUT | /api/v1/users/requests/requestId | Modify a request\r\nPOST | /api/v1/users/requests | Create a new request\r\nDELETE | /api/v1/users/requests/requestId | Delete a specific request\r\nGET | /api/v1/users/signup/ | Handle user registration\r\nPOST | /api/v1/users/signin/ | Handle user login\r\n\r\n#### How should this be manually tested?\r\n1. clone the [repo](https://github.com/asamisellah/Maintenance-Tracker)\r\n2. open the folder in your text editor or IDE\r\n3. `git checkout -b new-branch`\r\n4. `git fetch ch-env-setup-157930685`\r\n\r\n*Setup*\r\nMake sure virtual environment is installed. Open terminal and run the following commands\r\n1. `cd maintenance-tracker`\r\n2.  `virtualenv venv` to create virtual environment\r\n3.  `source venv/bin/activate` to run environment\r\n4. `pip install -r requirements.txt`\r\n\r\n*Testing*\r\nrun ` pytest`\r\n\r\n#### Any background context you want to provide?\r\nThis is the API for Maintenance Tracker App\r\n\r\n#### What are the relevant pivotal tracker stories?\r\nCreate Tests: [#157930395](https://www.pivotaltracker.com/story/show/157930395/comments/190214147)\r\nCreate Endpoints: [#157965217](https://www.pivotaltracker.com/story/show/157965217/comments/190150878)","created_at":"2018-06-05T07:51:44Z","updated_at":"2018-06-05T07:51:44Z","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/asamisellah/Maintenance-Tracker/pulls/23/commits","review_comments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/23/comments","review_comment_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/23/comments","statuses_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/statuses/3524f69e7862f21c2711839a4c496d15accedf38","head":{"label":"asamisellah:api-develop","ref":"api-develop","sha":"3524f69e7862f21c2711839a4c496d15accedf38","user":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"repo":{"id":134284186,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyODQxODY=","name":"Maintenance-Tracker","full_name":"asamisellah/Maintenance-Tracker","owner":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asamisellah/Maintenance-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker","forks_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/deployments","created_at":"2018-05-21T14:58:45Z","updated_at":"2018-06-02T07:33:54Z","pushed_at":"2018-06-04T10:47:48Z","git_url":"git://github.com/asamisellah/Maintenance-Tracker.git","ssh_url":"git@github.com:asamisellah/Maintenance-Tracker.git","clone_url":"https://github.com/asamisellah/Maintenance-Tracker.git","svn_url":"https://github.com/asamisellah/Maintenance-Tracker","homepage":null,"size":3539,"stargazers_count":1,"watchers_count":1,"language":"HTML","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"base":{"label":"asamisellah:develop","ref":"develop","sha":"5b225174126ea266694c66104160d4e6bb6391e4","user":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"repo":{"id":134284186,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQyODQxODY=","name":"Maintenance-Tracker","full_name":"asamisellah/Maintenance-Tracker","owner":{"login":"asamisellah","id":13402544,"node_id":"MDQ6VXNlcjEzNDAyNTQ0","avatar_url":"https://avatars0.githubusercontent.com/u/13402544?v=4","gravatar_id":"","url":"https://api.github.com/users/asamisellah","html_url":"https://github.com/asamisellah","followers_url":"https://api.github.com/users/asamisellah/followers","following_url":"https://api.github.com/users/asamisellah/following{/other_user}","gists_url":"https://api.github.com/users/asamisellah/gists{/gist_id}","starred_url":"https://api.github.com/users/asamisellah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asamisellah/subscriptions","organizations_url":"https://api.github.com/users/asamisellah/orgs","repos_url":"https://api.github.com/users/asamisellah/repos","events_url":"https://api.github.com/users/asamisellah/events{/privacy}","received_events_url":"https://api.github.com/users/asamisellah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/asamisellah/Maintenance-Tracker","description":null,"fork":false,"url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker","forks_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/forks","keys_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/teams","hooks_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/hooks","issue_events_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/events{/number}","events_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/events","assignees_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/assignees{/user}","branches_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/branches{/branch}","tags_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/tags","blobs_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/refs{/sha}","trees_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/statuses/{sha}","languages_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/languages","stargazers_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/stargazers","contributors_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/contributors","subscribers_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/subscribers","subscription_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/subscription","commits_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/commits{/sha}","git_commits_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/git/commits{/sha}","comments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/comments{/number}","issue_comment_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/comments{/number}","contents_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/contents/{+path}","compare_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/merges","archive_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/downloads","issues_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues{/number}","pulls_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls{/number}","milestones_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/milestones{/number}","notifications_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/labels{/name}","releases_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/releases{/id}","deployments_url":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/deployments","created_at":"2018-05-21T14:58:45Z","updated_at":"2018-06-02T07:33:54Z","pushed_at":"2018-06-04T10:47:48Z","git_url":"git://github.com/asamisellah/Maintenance-Tracker.git","ssh_url":"git@github.com:asamisellah/Maintenance-Tracker.git","clone_url":"https://github.com/asamisellah/Maintenance-Tracker.git","svn_url":"https://github.com/asamisellah/Maintenance-Tracker","homepage":null,"size":3539,"stargazers_count":1,"watchers_count":1,"language":"HTML","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":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":2,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/23"},"html":{"href":"https://github.com/asamisellah/Maintenance-Tracker/pull/23"},"issue":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/23"},"comments":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/asamisellah/Maintenance-Tracker/statuses/3524f69e7862f21c2711839a4c496d15accedf38"}},"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":46,"additions":470,"deletions":16,"changed_files":10}}
{"actor":{"display_login":"asamisellah"}}