{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/tuantran/candidate/pulls/1","id":10289519,"html_url":"https://github.com/tuantran/candidate/pull/1","diff_url":"https://github.com/tuantran/candidate/pull/1.diff","patch_url":"https://github.com/tuantran/candidate/pull/1.patch","issue_url":"https://api.github.com/repos/tuantran/candidate/issues/1","number":1,"state":"closed","locked":false,"title":"Bt 2253 crud fix","user":{"login":"jamlong-abctech","id":5966268,"avatar_url":"https://avatars.githubusercontent.com/u/5966268?v=3","gravatar_id":"","url":"https://api.github.com/users/jamlong-abctech","html_url":"https://github.com/jamlong-abctech","followers_url":"https://api.github.com/users/jamlong-abctech/followers","following_url":"https://api.github.com/users/jamlong-abctech/following{/other_user}","gists_url":"https://api.github.com/users/jamlong-abctech/gists{/gist_id}","starred_url":"https://api.github.com/users/jamlong-abctech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamlong-abctech/subscriptions","organizations_url":"https://api.github.com/users/jamlong-abctech/orgs","repos_url":"https://api.github.com/users/jamlong-abctech/repos","events_url":"https://api.github.com/users/jamlong-abctech/events{/privacy}","received_events_url":"https://api.github.com/users/jamlong-abctech/received_events","type":"User","site_admin":false},"body":"Fix CRUD operation followed by http://doc.api.no/rst/guidelines/rest_guidelines.html including\r\n1. Fix Service Path to format http://[domain][port]/[context]/api/public/[version]/ e.g., http://localhost:10047/candidate/api/public/v1/load/json/{UUID}\r\n2. Remove artificial file extensions (.json) from service path\r\n3. Add partial responses to filter by using request fields e.g., http://localhost:10047/candidate/api/public/v1/query/json/{UUID}?fields=id,name\r\n4. Add media type negotiation (now support JSON and XML) e.g., http://localhost:10047/candidate/api/public/v1/load/xml/{UUID} to all operations\r\n5. Delete candidate by UUID using service URL e.g.,  http://localhost:10047/candidate/api/public/v1/delete/{uuid}\r\n\r\n","created_at":"2013-11-26T07:33:05Z","updated_at":"2015-03-16T03:33:50Z","closed_at":"2015-03-16T03:33:50Z","merged_at":null,"merge_commit_sha":"c6ab75ca7f34af285a8b0637e94ef7ad3c00b120","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tuantran/candidate/pulls/1/commits","review_comments_url":"https://api.github.com/repos/tuantran/candidate/pulls/1/comments","review_comment_url":"https://api.github.com/repos/tuantran/candidate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tuantran/candidate/issues/1/comments","statuses_url":"https://api.github.com/repos/tuantran/candidate/statuses/2d06ffce377b0139a5c17d5f4ac7eac21b0057b8","head":{"label":"tuantran:BT-2253-CRUD-FIX","ref":"BT-2253-CRUD-FIX","sha":"2d06ffce377b0139a5c17d5f4ac7eac21b0057b8","user":{"login":"tuantran","id":551554,"avatar_url":"https://avatars.githubusercontent.com/u/551554?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantran","html_url":"https://github.com/tuantran","followers_url":"https://api.github.com/users/tuantran/followers","following_url":"https://api.github.com/users/tuantran/following{/other_user}","gists_url":"https://api.github.com/users/tuantran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantran/subscriptions","organizations_url":"https://api.github.com/users/tuantran/orgs","repos_url":"https://api.github.com/users/tuantran/repos","events_url":"https://api.github.com/users/tuantran/events{/privacy}","received_events_url":"https://api.github.com/users/tuantran/received_events","type":"User","site_admin":false},"repo":{"id":14482437,"name":"candidate","full_name":"tuantran/candidate","owner":{"login":"tuantran","id":551554,"avatar_url":"https://avatars.githubusercontent.com/u/551554?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantran","html_url":"https://github.com/tuantran","followers_url":"https://api.github.com/users/tuantran/followers","following_url":"https://api.github.com/users/tuantran/following{/other_user}","gists_url":"https://api.github.com/users/tuantran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantran/subscriptions","organizations_url":"https://api.github.com/users/tuantran/orgs","repos_url":"https://api.github.com/users/tuantran/repos","events_url":"https://api.github.com/users/tuantran/events{/privacy}","received_events_url":"https://api.github.com/users/tuantran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuantran/candidate","description":"","fork":false,"url":"https://api.github.com/repos/tuantran/candidate","forks_url":"https://api.github.com/repos/tuantran/candidate/forks","keys_url":"https://api.github.com/repos/tuantran/candidate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuantran/candidate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuantran/candidate/teams","hooks_url":"https://api.github.com/repos/tuantran/candidate/hooks","issue_events_url":"https://api.github.com/repos/tuantran/candidate/issues/events{/number}","events_url":"https://api.github.com/repos/tuantran/candidate/events","assignees_url":"https://api.github.com/repos/tuantran/candidate/assignees{/user}","branches_url":"https://api.github.com/repos/tuantran/candidate/branches{/branch}","tags_url":"https://api.github.com/repos/tuantran/candidate/tags","blobs_url":"https://api.github.com/repos/tuantran/candidate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuantran/candidate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuantran/candidate/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuantran/candidate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuantran/candidate/statuses/{sha}","languages_url":"https://api.github.com/repos/tuantran/candidate/languages","stargazers_url":"https://api.github.com/repos/tuantran/candidate/stargazers","contributors_url":"https://api.github.com/repos/tuantran/candidate/contributors","subscribers_url":"https://api.github.com/repos/tuantran/candidate/subscribers","subscription_url":"https://api.github.com/repos/tuantran/candidate/subscription","commits_url":"https://api.github.com/repos/tuantran/candidate/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuantran/candidate/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuantran/candidate/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuantran/candidate/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuantran/candidate/contents/{+path}","compare_url":"https://api.github.com/repos/tuantran/candidate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuantran/candidate/merges","archive_url":"https://api.github.com/repos/tuantran/candidate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuantran/candidate/downloads","issues_url":"https://api.github.com/repos/tuantran/candidate/issues{/number}","pulls_url":"https://api.github.com/repos/tuantran/candidate/pulls{/number}","milestones_url":"https://api.github.com/repos/tuantran/candidate/milestones{/number}","notifications_url":"https://api.github.com/repos/tuantran/candidate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuantran/candidate/labels{/name}","releases_url":"https://api.github.com/repos/tuantran/candidate/releases{/id}","created_at":"2013-11-18T04:13:39Z","updated_at":"2013-12-02T05:14:38Z","pushed_at":"2013-12-02T05:14:33Z","git_url":"git://github.com/tuantran/candidate.git","ssh_url":"git@github.com:tuantran/candidate.git","clone_url":"https://github.com/tuantran/candidate.git","svn_url":"https://github.com/tuantran/candidate","homepage":null,"size":596,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tuantran:master","ref":"master","sha":"e30e82729cba55ed13c0497430a9df4af01cd456","user":{"login":"tuantran","id":551554,"avatar_url":"https://avatars.githubusercontent.com/u/551554?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantran","html_url":"https://github.com/tuantran","followers_url":"https://api.github.com/users/tuantran/followers","following_url":"https://api.github.com/users/tuantran/following{/other_user}","gists_url":"https://api.github.com/users/tuantran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantran/subscriptions","organizations_url":"https://api.github.com/users/tuantran/orgs","repos_url":"https://api.github.com/users/tuantran/repos","events_url":"https://api.github.com/users/tuantran/events{/privacy}","received_events_url":"https://api.github.com/users/tuantran/received_events","type":"User","site_admin":false},"repo":{"id":14482437,"name":"candidate","full_name":"tuantran/candidate","owner":{"login":"tuantran","id":551554,"avatar_url":"https://avatars.githubusercontent.com/u/551554?v=3","gravatar_id":"","url":"https://api.github.com/users/tuantran","html_url":"https://github.com/tuantran","followers_url":"https://api.github.com/users/tuantran/followers","following_url":"https://api.github.com/users/tuantran/following{/other_user}","gists_url":"https://api.github.com/users/tuantran/gists{/gist_id}","starred_url":"https://api.github.com/users/tuantran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuantran/subscriptions","organizations_url":"https://api.github.com/users/tuantran/orgs","repos_url":"https://api.github.com/users/tuantran/repos","events_url":"https://api.github.com/users/tuantran/events{/privacy}","received_events_url":"https://api.github.com/users/tuantran/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuantran/candidate","description":"","fork":false,"url":"https://api.github.com/repos/tuantran/candidate","forks_url":"https://api.github.com/repos/tuantran/candidate/forks","keys_url":"https://api.github.com/repos/tuantran/candidate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuantran/candidate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuantran/candidate/teams","hooks_url":"https://api.github.com/repos/tuantran/candidate/hooks","issue_events_url":"https://api.github.com/repos/tuantran/candidate/issues/events{/number}","events_url":"https://api.github.com/repos/tuantran/candidate/events","assignees_url":"https://api.github.com/repos/tuantran/candidate/assignees{/user}","branches_url":"https://api.github.com/repos/tuantran/candidate/branches{/branch}","tags_url":"https://api.github.com/repos/tuantran/candidate/tags","blobs_url":"https://api.github.com/repos/tuantran/candidate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuantran/candidate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuantran/candidate/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuantran/candidate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuantran/candidate/statuses/{sha}","languages_url":"https://api.github.com/repos/tuantran/candidate/languages","stargazers_url":"https://api.github.com/repos/tuantran/candidate/stargazers","contributors_url":"https://api.github.com/repos/tuantran/candidate/contributors","subscribers_url":"https://api.github.com/repos/tuantran/candidate/subscribers","subscription_url":"https://api.github.com/repos/tuantran/candidate/subscription","commits_url":"https://api.github.com/repos/tuantran/candidate/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuantran/candidate/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuantran/candidate/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuantran/candidate/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuantran/candidate/contents/{+path}","compare_url":"https://api.github.com/repos/tuantran/candidate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuantran/candidate/merges","archive_url":"https://api.github.com/repos/tuantran/candidate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuantran/candidate/downloads","issues_url":"https://api.github.com/repos/tuantran/candidate/issues{/number}","pulls_url":"https://api.github.com/repos/tuantran/candidate/pulls{/number}","milestones_url":"https://api.github.com/repos/tuantran/candidate/milestones{/number}","notifications_url":"https://api.github.com/repos/tuantran/candidate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuantran/candidate/labels{/name}","releases_url":"https://api.github.com/repos/tuantran/candidate/releases{/id}","created_at":"2013-11-18T04:13:39Z","updated_at":"2013-12-02T05:14:38Z","pushed_at":"2013-12-02T05:14:33Z","git_url":"git://github.com/tuantran/candidate.git","ssh_url":"git@github.com:tuantran/candidate.git","clone_url":"https://github.com/tuantran/candidate.git","svn_url":"https://github.com/tuantran/candidate","homepage":null,"size":596,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tuantran/candidate/pulls/1"},"html":{"href":"https://github.com/tuantran/candidate/pull/1"},"issue":{"href":"https://api.github.com/repos/tuantran/candidate/issues/1"},"comments":{"href":"https://api.github.com/repos/tuantran/candidate/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/tuantran/candidate/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/tuantran/candidate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tuantran/candidate/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/tuantran/candidate/statuses/2d06ffce377b0139a5c17d5f4ac7eac21b0057b8"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":2,"commits":9,"additions":7211,"deletions":102,"changed_files":44}}