{"action":"opened","number":10,"pull_request":{"url":"https://api.github.com/repos/danuluma/dannstore/pulls/10","id":223430178,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNDMwMTc4","html_url":"https://github.com/danuluma/dannstore/pull/10","diff_url":"https://github.com/danuluma/dannstore/pull/10.diff","patch_url":"https://github.com/danuluma/dannstore/pull/10.patch","issue_url":"https://api.github.com/repos/danuluma/dannstore/issues/10","number":10,"state":"open","locked":false,"title":"#161214122 add endpoint to retrieve single sale record","user":{"login":"danuluma","id":35179392,"node_id":"MDQ6VXNlcjM1MTc5Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/35179392?v=4","gravatar_id":"","url":"https://api.github.com/users/danuluma","html_url":"https://github.com/danuluma","followers_url":"https://api.github.com/users/danuluma/followers","following_url":"https://api.github.com/users/danuluma/following{/other_user}","gists_url":"https://api.github.com/users/danuluma/gists{/gist_id}","starred_url":"https://api.github.com/users/danuluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danuluma/subscriptions","organizations_url":"https://api.github.com/users/danuluma/orgs","repos_url":"https://api.github.com/users/danuluma/repos","events_url":"https://api.github.com/users/danuluma/events{/privacy}","received_events_url":"https://api.github.com/users/danuluma/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nAdd endpoint to retrieve a sale record by its id\r\n\r\n#### Description of Task to be completed?\r\nAdd the endpoint ```GET /sales/<saleId>```\r\nWrite its tests\r\n\r\n#### How should this be manually tested?\r\n* Set up the app locally as described in the installation documentation\r\n* Use postman to send a GET request to http://localhost:5000/dann/api/v1/sales/1 \r\n* You should get a response containing the details of the sale\r\n\r\n#### What are the relevant pivotal tracker stories?\r\n#### Screenshots (if appropriate)\r\n#### Questions:\r\n","created_at":"2018-10-16T23:53:08Z","updated_at":"2018-10-16T23:53:08Z","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/danuluma/dannstore/pulls/10/commits","review_comments_url":"https://api.github.com/repos/danuluma/dannstore/pulls/10/comments","review_comment_url":"https://api.github.com/repos/danuluma/dannstore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/danuluma/dannstore/issues/10/comments","statuses_url":"https://api.github.com/repos/danuluma/dannstore/statuses/df3af442bfc084fe760f0dbe73c95dc9630ac8c0","head":{"label":"danuluma:ft-get-single-record-161214122","ref":"ft-get-single-record-161214122","sha":"df3af442bfc084fe760f0dbe73c95dc9630ac8c0","user":{"login":"danuluma","id":35179392,"node_id":"MDQ6VXNlcjM1MTc5Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/35179392?v=4","gravatar_id":"","url":"https://api.github.com/users/danuluma","html_url":"https://github.com/danuluma","followers_url":"https://api.github.com/users/danuluma/followers","following_url":"https://api.github.com/users/danuluma/following{/other_user}","gists_url":"https://api.github.com/users/danuluma/gists{/gist_id}","starred_url":"https://api.github.com/users/danuluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danuluma/subscriptions","organizations_url":"https://api.github.com/users/danuluma/orgs","repos_url":"https://api.github.com/users/danuluma/repos","events_url":"https://api.github.com/users/danuluma/events{/privacy}","received_events_url":"https://api.github.com/users/danuluma/received_events","type":"User","site_admin":false},"repo":{"id":153089356,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMwODkzNTY=","name":"dannstore","full_name":"danuluma/dannstore","private":false,"owner":{"login":"danuluma","id":35179392,"node_id":"MDQ6VXNlcjM1MTc5Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/35179392?v=4","gravatar_id":"","url":"https://api.github.com/users/danuluma","html_url":"https://github.com/danuluma","followers_url":"https://api.github.com/users/danuluma/followers","following_url":"https://api.github.com/users/danuluma/following{/other_user}","gists_url":"https://api.github.com/users/danuluma/gists{/gist_id}","starred_url":"https://api.github.com/users/danuluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danuluma/subscriptions","organizations_url":"https://api.github.com/users/danuluma/orgs","repos_url":"https://api.github.com/users/danuluma/repos","events_url":"https://api.github.com/users/danuluma/events{/privacy}","received_events_url":"https://api.github.com/users/danuluma/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danuluma/dannstore","description":"An API backend for a store management app","fork":false,"url":"https://api.github.com/repos/danuluma/dannstore","forks_url":"https://api.github.com/repos/danuluma/dannstore/forks","keys_url":"https://api.github.com/repos/danuluma/dannstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danuluma/dannstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danuluma/dannstore/teams","hooks_url":"https://api.github.com/repos/danuluma/dannstore/hooks","issue_events_url":"https://api.github.com/repos/danuluma/dannstore/issues/events{/number}","events_url":"https://api.github.com/repos/danuluma/dannstore/events","assignees_url":"https://api.github.com/repos/danuluma/dannstore/assignees{/user}","branches_url":"https://api.github.com/repos/danuluma/dannstore/branches{/branch}","tags_url":"https://api.github.com/repos/danuluma/dannstore/tags","blobs_url":"https://api.github.com/repos/danuluma/dannstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danuluma/dannstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danuluma/dannstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/danuluma/dannstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danuluma/dannstore/statuses/{sha}","languages_url":"https://api.github.com/repos/danuluma/dannstore/languages","stargazers_url":"https://api.github.com/repos/danuluma/dannstore/stargazers","contributors_url":"https://api.github.com/repos/danuluma/dannstore/contributors","subscribers_url":"https://api.github.com/repos/danuluma/dannstore/subscribers","subscription_url":"https://api.github.com/repos/danuluma/dannstore/subscription","commits_url":"https://api.github.com/repos/danuluma/dannstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/danuluma/dannstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/danuluma/dannstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/danuluma/dannstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/danuluma/dannstore/contents/{+path}","compare_url":"https://api.github.com/repos/danuluma/dannstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danuluma/dannstore/merges","archive_url":"https://api.github.com/repos/danuluma/dannstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danuluma/dannstore/downloads","issues_url":"https://api.github.com/repos/danuluma/dannstore/issues{/number}","pulls_url":"https://api.github.com/repos/danuluma/dannstore/pulls{/number}","milestones_url":"https://api.github.com/repos/danuluma/dannstore/milestones{/number}","notifications_url":"https://api.github.com/repos/danuluma/dannstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danuluma/dannstore/labels{/name}","releases_url":"https://api.github.com/repos/danuluma/dannstore/releases{/id}","deployments_url":"https://api.github.com/repos/danuluma/dannstore/deployments","created_at":"2018-10-15T09:45:44Z","updated_at":"2018-10-16T13:32:59Z","pushed_at":"2018-10-16T23:49:05Z","git_url":"git://github.com/danuluma/dannstore.git","ssh_url":"git@github.com:danuluma/dannstore.git","clone_url":"https://github.com/danuluma/dannstore.git","svn_url":"https://github.com/danuluma/dannstore","homepage":"https://dannstore.herokuapp.com/dann/api/v1/home","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","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":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"base":{"label":"danuluma:develop","ref":"develop","sha":"bb1a87cde448176570459219d6cf4b2067eef7b5","user":{"login":"danuluma","id":35179392,"node_id":"MDQ6VXNlcjM1MTc5Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/35179392?v=4","gravatar_id":"","url":"https://api.github.com/users/danuluma","html_url":"https://github.com/danuluma","followers_url":"https://api.github.com/users/danuluma/followers","following_url":"https://api.github.com/users/danuluma/following{/other_user}","gists_url":"https://api.github.com/users/danuluma/gists{/gist_id}","starred_url":"https://api.github.com/users/danuluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danuluma/subscriptions","organizations_url":"https://api.github.com/users/danuluma/orgs","repos_url":"https://api.github.com/users/danuluma/repos","events_url":"https://api.github.com/users/danuluma/events{/privacy}","received_events_url":"https://api.github.com/users/danuluma/received_events","type":"User","site_admin":false},"repo":{"id":153089356,"node_id":"MDEwOlJlcG9zaXRvcnkxNTMwODkzNTY=","name":"dannstore","full_name":"danuluma/dannstore","private":false,"owner":{"login":"danuluma","id":35179392,"node_id":"MDQ6VXNlcjM1MTc5Mzky","avatar_url":"https://avatars3.githubusercontent.com/u/35179392?v=4","gravatar_id":"","url":"https://api.github.com/users/danuluma","html_url":"https://github.com/danuluma","followers_url":"https://api.github.com/users/danuluma/followers","following_url":"https://api.github.com/users/danuluma/following{/other_user}","gists_url":"https://api.github.com/users/danuluma/gists{/gist_id}","starred_url":"https://api.github.com/users/danuluma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danuluma/subscriptions","organizations_url":"https://api.github.com/users/danuluma/orgs","repos_url":"https://api.github.com/users/danuluma/repos","events_url":"https://api.github.com/users/danuluma/events{/privacy}","received_events_url":"https://api.github.com/users/danuluma/received_events","type":"User","site_admin":false},"html_url":"https://github.com/danuluma/dannstore","description":"An API backend for a store management app","fork":false,"url":"https://api.github.com/repos/danuluma/dannstore","forks_url":"https://api.github.com/repos/danuluma/dannstore/forks","keys_url":"https://api.github.com/repos/danuluma/dannstore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danuluma/dannstore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danuluma/dannstore/teams","hooks_url":"https://api.github.com/repos/danuluma/dannstore/hooks","issue_events_url":"https://api.github.com/repos/danuluma/dannstore/issues/events{/number}","events_url":"https://api.github.com/repos/danuluma/dannstore/events","assignees_url":"https://api.github.com/repos/danuluma/dannstore/assignees{/user}","branches_url":"https://api.github.com/repos/danuluma/dannstore/branches{/branch}","tags_url":"https://api.github.com/repos/danuluma/dannstore/tags","blobs_url":"https://api.github.com/repos/danuluma/dannstore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danuluma/dannstore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danuluma/dannstore/git/refs{/sha}","trees_url":"https://api.github.com/repos/danuluma/dannstore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danuluma/dannstore/statuses/{sha}","languages_url":"https://api.github.com/repos/danuluma/dannstore/languages","stargazers_url":"https://api.github.com/repos/danuluma/dannstore/stargazers","contributors_url":"https://api.github.com/repos/danuluma/dannstore/contributors","subscribers_url":"https://api.github.com/repos/danuluma/dannstore/subscribers","subscription_url":"https://api.github.com/repos/danuluma/dannstore/subscription","commits_url":"https://api.github.com/repos/danuluma/dannstore/commits{/sha}","git_commits_url":"https://api.github.com/repos/danuluma/dannstore/git/commits{/sha}","comments_url":"https://api.github.com/repos/danuluma/dannstore/comments{/number}","issue_comment_url":"https://api.github.com/repos/danuluma/dannstore/issues/comments{/number}","contents_url":"https://api.github.com/repos/danuluma/dannstore/contents/{+path}","compare_url":"https://api.github.com/repos/danuluma/dannstore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danuluma/dannstore/merges","archive_url":"https://api.github.com/repos/danuluma/dannstore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danuluma/dannstore/downloads","issues_url":"https://api.github.com/repos/danuluma/dannstore/issues{/number}","pulls_url":"https://api.github.com/repos/danuluma/dannstore/pulls{/number}","milestones_url":"https://api.github.com/repos/danuluma/dannstore/milestones{/number}","notifications_url":"https://api.github.com/repos/danuluma/dannstore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danuluma/dannstore/labels{/name}","releases_url":"https://api.github.com/repos/danuluma/dannstore/releases{/id}","deployments_url":"https://api.github.com/repos/danuluma/dannstore/deployments","created_at":"2018-10-15T09:45:44Z","updated_at":"2018-10-16T13:32:59Z","pushed_at":"2018-10-16T23:49:05Z","git_url":"git://github.com/danuluma/dannstore.git","ssh_url":"git@github.com:danuluma/dannstore.git","clone_url":"https://github.com/danuluma/dannstore.git","svn_url":"https://github.com/danuluma/dannstore","homepage":"https://dannstore.herokuapp.com/dann/api/v1/home","size":26,"stargazers_count":0,"watchers_count":0,"language":"Python","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":7,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":7,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/danuluma/dannstore/pulls/10"},"html":{"href":"https://github.com/danuluma/dannstore/pull/10"},"issue":{"href":"https://api.github.com/repos/danuluma/dannstore/issues/10"},"comments":{"href":"https://api.github.com/repos/danuluma/dannstore/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/danuluma/dannstore/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/danuluma/dannstore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/danuluma/dannstore/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/danuluma/dannstore/statuses/df3af442bfc084fe760f0dbe73c95dc9630ac8c0"}},"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":50,"deletions":70,"changed_files":5}}
{"actor":{"display_login":"danuluma"}}