{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11","id":227541149,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NTQxMTQ5","html_url":"https://github.com/BarnaTB/Store-Manager/pull/11","diff_url":"https://github.com/BarnaTB/Store-Manager/pull/11.diff","patch_url":"https://github.com/BarnaTB/Store-Manager/pull/11.patch","issue_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/11","number":11,"state":"closed","locked":false,"title":"feat(database): User can view one product","user":{"login":"BarnaTB","id":38134382,"node_id":"MDQ6VXNlcjM4MTM0Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/38134382?v=4","gravatar_id":"","url":"https://api.github.com/users/BarnaTB","html_url":"https://github.com/BarnaTB","followers_url":"https://api.github.com/users/BarnaTB/followers","following_url":"https://api.github.com/users/BarnaTB/following{/other_user}","gists_url":"https://api.github.com/users/BarnaTB/gists{/gist_id}","starred_url":"https://api.github.com/users/BarnaTB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarnaTB/subscriptions","organizations_url":"https://api.github.com/users/BarnaTB/orgs","repos_url":"https://api.github.com/users/BarnaTB/repos","events_url":"https://api.github.com/users/BarnaTB/events{/privacy}","received_events_url":"https://api.github.com/users/BarnaTB/received_events","type":"User","site_admin":false},"body":"### What does this PR do?\r\nIt adds the API endpoint that enables a user to one product from the database.\r\n\r\n### Description of the Task to be completed\r\nThe endpoint enables to view details of a single product, identifying it by its product id.\r\n\r\n@tibetegya , @Karuhanga","created_at":"2018-11-01T08:00:33Z","updated_at":"2018-11-04T18:07:15Z","closed_at":"2018-11-04T18:07:15Z","merged_at":null,"merge_commit_sha":"c18cfa6cb507cc46f1b6c94a118c99fec80e0ebc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11/commits","review_comments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11/comments","review_comment_url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/11/comments","statuses_url":"https://api.github.com/repos/BarnaTB/Store-Manager/statuses/fdf975896221b916eafcb02ede770b4bd7412635","head":{"label":"BarnaTB:ft-user-get-one-product-161245139","ref":"ft-user-get-one-product-161245139","sha":"fdf975896221b916eafcb02ede770b4bd7412635","user":{"login":"BarnaTB","id":38134382,"node_id":"MDQ6VXNlcjM4MTM0Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/38134382?v=4","gravatar_id":"","url":"https://api.github.com/users/BarnaTB","html_url":"https://github.com/BarnaTB","followers_url":"https://api.github.com/users/BarnaTB/followers","following_url":"https://api.github.com/users/BarnaTB/following{/other_user}","gists_url":"https://api.github.com/users/BarnaTB/gists{/gist_id}","starred_url":"https://api.github.com/users/BarnaTB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarnaTB/subscriptions","organizations_url":"https://api.github.com/users/BarnaTB/orgs","repos_url":"https://api.github.com/users/BarnaTB/repos","events_url":"https://api.github.com/users/BarnaTB/events{/privacy}","received_events_url":"https://api.github.com/users/BarnaTB/received_events","type":"User","site_admin":false},"repo":{"id":152237118,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyMzcxMTg=","name":"Store-Manager","full_name":"BarnaTB/Store-Manager","private":false,"owner":{"login":"BarnaTB","id":38134382,"node_id":"MDQ6VXNlcjM4MTM0Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/38134382?v=4","gravatar_id":"","url":"https://api.github.com/users/BarnaTB","html_url":"https://github.com/BarnaTB","followers_url":"https://api.github.com/users/BarnaTB/followers","following_url":"https://api.github.com/users/BarnaTB/following{/other_user}","gists_url":"https://api.github.com/users/BarnaTB/gists{/gist_id}","starred_url":"https://api.github.com/users/BarnaTB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarnaTB/subscriptions","organizations_url":"https://api.github.com/users/BarnaTB/orgs","repos_url":"https://api.github.com/users/BarnaTB/repos","events_url":"https://api.github.com/users/BarnaTB/events{/privacy}","received_events_url":"https://api.github.com/users/BarnaTB/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BarnaTB/Store-Manager","description":"This is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.","fork":false,"url":"https://api.github.com/repos/BarnaTB/Store-Manager","forks_url":"https://api.github.com/repos/BarnaTB/Store-Manager/forks","keys_url":"https://api.github.com/repos/BarnaTB/Store-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BarnaTB/Store-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BarnaTB/Store-Manager/teams","hooks_url":"https://api.github.com/repos/BarnaTB/Store-Manager/hooks","issue_events_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/BarnaTB/Store-Manager/events","assignees_url":"https://api.github.com/repos/BarnaTB/Store-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/BarnaTB/Store-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/BarnaTB/Store-Manager/tags","blobs_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BarnaTB/Store-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/BarnaTB/Store-Manager/languages","stargazers_url":"https://api.github.com/repos/BarnaTB/Store-Manager/stargazers","contributors_url":"https://api.github.com/repos/BarnaTB/Store-Manager/contributors","subscribers_url":"https://api.github.com/repos/BarnaTB/Store-Manager/subscribers","subscription_url":"https://api.github.com/repos/BarnaTB/Store-Manager/subscription","commits_url":"https://api.github.com/repos/BarnaTB/Store-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/BarnaTB/Store-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/BarnaTB/Store-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BarnaTB/Store-Manager/merges","archive_url":"https://api.github.com/repos/BarnaTB/Store-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BarnaTB/Store-Manager/downloads","issues_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/BarnaTB/Store-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/BarnaTB/Store-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BarnaTB/Store-Manager/labels{/name}","releases_url":"https://api.github.com/repos/BarnaTB/Store-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/deployments","created_at":"2018-10-09T11:09:10Z","updated_at":"2018-10-13T09:12:45Z","pushed_at":"2018-11-04T18:06:51Z","git_url":"git://github.com/BarnaTB/Store-Manager.git","ssh_url":"git@github.com:BarnaTB/Store-Manager.git","clone_url":"https://github.com/BarnaTB/Store-Manager.git","svn_url":"https://github.com/BarnaTB/Store-Manager","homepage":null,"size":655,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"BarnaTB:develop","ref":"develop","sha":"3f02b30446b30aff6847f523795d39fb39927958","user":{"login":"BarnaTB","id":38134382,"node_id":"MDQ6VXNlcjM4MTM0Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/38134382?v=4","gravatar_id":"","url":"https://api.github.com/users/BarnaTB","html_url":"https://github.com/BarnaTB","followers_url":"https://api.github.com/users/BarnaTB/followers","following_url":"https://api.github.com/users/BarnaTB/following{/other_user}","gists_url":"https://api.github.com/users/BarnaTB/gists{/gist_id}","starred_url":"https://api.github.com/users/BarnaTB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarnaTB/subscriptions","organizations_url":"https://api.github.com/users/BarnaTB/orgs","repos_url":"https://api.github.com/users/BarnaTB/repos","events_url":"https://api.github.com/users/BarnaTB/events{/privacy}","received_events_url":"https://api.github.com/users/BarnaTB/received_events","type":"User","site_admin":false},"repo":{"id":152237118,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIyMzcxMTg=","name":"Store-Manager","full_name":"BarnaTB/Store-Manager","private":false,"owner":{"login":"BarnaTB","id":38134382,"node_id":"MDQ6VXNlcjM4MTM0Mzgy","avatar_url":"https://avatars0.githubusercontent.com/u/38134382?v=4","gravatar_id":"","url":"https://api.github.com/users/BarnaTB","html_url":"https://github.com/BarnaTB","followers_url":"https://api.github.com/users/BarnaTB/followers","following_url":"https://api.github.com/users/BarnaTB/following{/other_user}","gists_url":"https://api.github.com/users/BarnaTB/gists{/gist_id}","starred_url":"https://api.github.com/users/BarnaTB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BarnaTB/subscriptions","organizations_url":"https://api.github.com/users/BarnaTB/orgs","repos_url":"https://api.github.com/users/BarnaTB/repos","events_url":"https://api.github.com/users/BarnaTB/events{/privacy}","received_events_url":"https://api.github.com/users/BarnaTB/received_events","type":"User","site_admin":false},"html_url":"https://github.com/BarnaTB/Store-Manager","description":"This is a web application that helps store owners manage sales and product inventory records. This application is meant for use in a single store.","fork":false,"url":"https://api.github.com/repos/BarnaTB/Store-Manager","forks_url":"https://api.github.com/repos/BarnaTB/Store-Manager/forks","keys_url":"https://api.github.com/repos/BarnaTB/Store-Manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BarnaTB/Store-Manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BarnaTB/Store-Manager/teams","hooks_url":"https://api.github.com/repos/BarnaTB/Store-Manager/hooks","issue_events_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/events{/number}","events_url":"https://api.github.com/repos/BarnaTB/Store-Manager/events","assignees_url":"https://api.github.com/repos/BarnaTB/Store-Manager/assignees{/user}","branches_url":"https://api.github.com/repos/BarnaTB/Store-Manager/branches{/branch}","tags_url":"https://api.github.com/repos/BarnaTB/Store-Manager/tags","blobs_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BarnaTB/Store-Manager/statuses/{sha}","languages_url":"https://api.github.com/repos/BarnaTB/Store-Manager/languages","stargazers_url":"https://api.github.com/repos/BarnaTB/Store-Manager/stargazers","contributors_url":"https://api.github.com/repos/BarnaTB/Store-Manager/contributors","subscribers_url":"https://api.github.com/repos/BarnaTB/Store-Manager/subscribers","subscription_url":"https://api.github.com/repos/BarnaTB/Store-Manager/subscription","commits_url":"https://api.github.com/repos/BarnaTB/Store-Manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/BarnaTB/Store-Manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/comments{/number}","contents_url":"https://api.github.com/repos/BarnaTB/Store-Manager/contents/{+path}","compare_url":"https://api.github.com/repos/BarnaTB/Store-Manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BarnaTB/Store-Manager/merges","archive_url":"https://api.github.com/repos/BarnaTB/Store-Manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BarnaTB/Store-Manager/downloads","issues_url":"https://api.github.com/repos/BarnaTB/Store-Manager/issues{/number}","pulls_url":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls{/number}","milestones_url":"https://api.github.com/repos/BarnaTB/Store-Manager/milestones{/number}","notifications_url":"https://api.github.com/repos/BarnaTB/Store-Manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BarnaTB/Store-Manager/labels{/name}","releases_url":"https://api.github.com/repos/BarnaTB/Store-Manager/releases{/id}","deployments_url":"https://api.github.com/repos/BarnaTB/Store-Manager/deployments","created_at":"2018-10-09T11:09:10Z","updated_at":"2018-10-13T09:12:45Z","pushed_at":"2018-11-04T18:06:51Z","git_url":"git://github.com/BarnaTB/Store-Manager.git","ssh_url":"git@github.com:BarnaTB/Store-Manager.git","clone_url":"https://github.com/BarnaTB/Store-Manager.git","svn_url":"https://github.com/BarnaTB/Store-Manager","homepage":null,"size":655,"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":7,"license":null,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11"},"html":{"href":"https://github.com/BarnaTB/Store-Manager/pull/11"},"issue":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/11"},"comments":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/BarnaTB/Store-Manager/statuses/fdf975896221b916eafcb02ede770b4bd7412635"}},"author_association":"OWNER","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":10,"additions":1180,"deletions":375,"changed_files":10}}
{"actor":{"display_login":"BarnaTB"}}