{"action":"created","comment":{"url":"https://api.github.com/repos/gchq/Gaffer/pulls/comments/189177560","pull_request_review_id":121304999,"id":189177560,"diff_hunk":"@@ -188,6 +188,15 @@ function updateTitle(properties) {\n     });\n }\n \n+function updateFooter(properties) {\n+    updateElementWithId(\"swagger-ui-container\", \"gaffer.version\", properties, function(value, id) {\n+        var footerText = $('#' + id).find(\"div.footer\").text();","path":"rest-api/core-rest/src/main/webapp/lib/gaffer.js","position":24,"original_position":24,"commit_id":"95118e2c5341bd67f1433f21f5cb7e958217062b","original_commit_id":"95118e2c5341bd67f1433f21f5cb7e958217062b","user":{"login":"p013570","id":16834101,"avatar_url":"https://avatars3.githubusercontent.com/u/16834101?v=4","gravatar_id":"","url":"https://api.github.com/users/p013570","html_url":"https://github.com/p013570","followers_url":"https://api.github.com/users/p013570/followers","following_url":"https://api.github.com/users/p013570/following{/other_user}","gists_url":"https://api.github.com/users/p013570/gists{/gist_id}","starred_url":"https://api.github.com/users/p013570/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p013570/subscriptions","organizations_url":"https://api.github.com/users/p013570/orgs","repos_url":"https://api.github.com/users/p013570/repos","events_url":"https://api.github.com/users/p013570/events{/privacy}","received_events_url":"https://api.github.com/users/p013570/received_events","type":"User","site_admin":false},"body":"You could store $('#' + id).find(\"div.footer\") as a variable so you don't have to search for it twice.","created_at":"2018-05-18T06:54:51Z","updated_at":"2018-05-18T06:55:51Z","html_url":"https://github.com/gchq/Gaffer/pull/1799#discussion_r189177560","pull_request_url":"https://api.github.com/repos/gchq/Gaffer/pulls/1799","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/comments/189177560"},"html":{"href":"https://github.com/gchq/Gaffer/pull/1799#discussion_r189177560"},"pull_request":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/1799"}}},"pull_request":{"url":"https://api.github.com/repos/gchq/Gaffer/pulls/1799","id":188726464,"html_url":"https://github.com/gchq/Gaffer/pull/1799","diff_url":"https://github.com/gchq/Gaffer/pull/1799.diff","patch_url":"https://github.com/gchq/Gaffer/pull/1799.patch","issue_url":"https://api.github.com/repos/gchq/Gaffer/issues/1799","number":1799,"state":"open","locked":false,"title":"Gh 1780 add version prop to rest service","user":{"login":"m55624","id":29117199,"avatar_url":"https://avatars3.githubusercontent.com/u/29117199?v=4","gravatar_id":"","url":"https://api.github.com/users/m55624","html_url":"https://github.com/m55624","followers_url":"https://api.github.com/users/m55624/followers","following_url":"https://api.github.com/users/m55624/following{/other_user}","gists_url":"https://api.github.com/users/m55624/gists{/gist_id}","starred_url":"https://api.github.com/users/m55624/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m55624/subscriptions","organizations_url":"https://api.github.com/users/m55624/orgs","repos_url":"https://api.github.com/users/m55624/repos","events_url":"https://api.github.com/users/m55624/events{/privacy}","received_events_url":"https://api.github.com/users/m55624/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-17T12:51:43Z","updated_at":"2018-05-18T06:55:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"698a644e083fc55801b717ab7a5da2605fabece8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gchq/Gaffer/pulls/1799/commits","review_comments_url":"https://api.github.com/repos/gchq/Gaffer/pulls/1799/comments","review_comment_url":"https://api.github.com/repos/gchq/Gaffer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gchq/Gaffer/issues/1799/comments","statuses_url":"https://api.github.com/repos/gchq/Gaffer/statuses/95118e2c5341bd67f1433f21f5cb7e958217062b","head":{"label":"gchq:gh-1780-add-version-prop-to-rest-service","ref":"gh-1780-add-version-prop-to-rest-service","sha":"95118e2c5341bd67f1433f21f5cb7e958217062b","user":{"login":"gchq","id":15800240,"avatar_url":"https://avatars2.githubusercontent.com/u/15800240?v=4","gravatar_id":"","url":"https://api.github.com/users/gchq","html_url":"https://github.com/gchq","followers_url":"https://api.github.com/users/gchq/followers","following_url":"https://api.github.com/users/gchq/following{/other_user}","gists_url":"https://api.github.com/users/gchq/gists{/gist_id}","starred_url":"https://api.github.com/users/gchq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchq/subscriptions","organizations_url":"https://api.github.com/users/gchq/orgs","repos_url":"https://api.github.com/users/gchq/repos","events_url":"https://api.github.com/users/gchq/events{/privacy}","received_events_url":"https://api.github.com/users/gchq/received_events","type":"Organization","site_admin":false},"repo":{"id":47973088,"name":"Gaffer","full_name":"gchq/Gaffer","owner":{"login":"gchq","id":15800240,"avatar_url":"https://avatars2.githubusercontent.com/u/15800240?v=4","gravatar_id":"","url":"https://api.github.com/users/gchq","html_url":"https://github.com/gchq","followers_url":"https://api.github.com/users/gchq/followers","following_url":"https://api.github.com/users/gchq/following{/other_user}","gists_url":"https://api.github.com/users/gchq/gists{/gist_id}","starred_url":"https://api.github.com/users/gchq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchq/subscriptions","organizations_url":"https://api.github.com/users/gchq/orgs","repos_url":"https://api.github.com/users/gchq/repos","events_url":"https://api.github.com/users/gchq/events{/privacy}","received_events_url":"https://api.github.com/users/gchq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gchq/Gaffer","description":"A large-scale entity and relation database supporting aggregation of properties","fork":false,"url":"https://api.github.com/repos/gchq/Gaffer","forks_url":"https://api.github.com/repos/gchq/Gaffer/forks","keys_url":"https://api.github.com/repos/gchq/Gaffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gchq/Gaffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gchq/Gaffer/teams","hooks_url":"https://api.github.com/repos/gchq/Gaffer/hooks","issue_events_url":"https://api.github.com/repos/gchq/Gaffer/issues/events{/number}","events_url":"https://api.github.com/repos/gchq/Gaffer/events","assignees_url":"https://api.github.com/repos/gchq/Gaffer/assignees{/user}","branches_url":"https://api.github.com/repos/gchq/Gaffer/branches{/branch}","tags_url":"https://api.github.com/repos/gchq/Gaffer/tags","blobs_url":"https://api.github.com/repos/gchq/Gaffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gchq/Gaffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gchq/Gaffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/gchq/Gaffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gchq/Gaffer/statuses/{sha}","languages_url":"https://api.github.com/repos/gchq/Gaffer/languages","stargazers_url":"https://api.github.com/repos/gchq/Gaffer/stargazers","contributors_url":"https://api.github.com/repos/gchq/Gaffer/contributors","subscribers_url":"https://api.github.com/repos/gchq/Gaffer/subscribers","subscription_url":"https://api.github.com/repos/gchq/Gaffer/subscription","commits_url":"https://api.github.com/repos/gchq/Gaffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/gchq/Gaffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/gchq/Gaffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/gchq/Gaffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/gchq/Gaffer/contents/{+path}","compare_url":"https://api.github.com/repos/gchq/Gaffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gchq/Gaffer/merges","archive_url":"https://api.github.com/repos/gchq/Gaffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gchq/Gaffer/downloads","issues_url":"https://api.github.com/repos/gchq/Gaffer/issues{/number}","pulls_url":"https://api.github.com/repos/gchq/Gaffer/pulls{/number}","milestones_url":"https://api.github.com/repos/gchq/Gaffer/milestones{/number}","notifications_url":"https://api.github.com/repos/gchq/Gaffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gchq/Gaffer/labels{/name}","releases_url":"https://api.github.com/repos/gchq/Gaffer/releases{/id}","deployments_url":"https://api.github.com/repos/gchq/Gaffer/deployments","created_at":"2015-12-14T12:12:39Z","updated_at":"2018-05-16T11:12:55Z","pushed_at":"2018-05-17T13:49:04Z","git_url":"git://github.com/gchq/Gaffer.git","ssh_url":"git@github.com:gchq/Gaffer.git","clone_url":"https://github.com/gchq/Gaffer.git","svn_url":"https://github.com/gchq/Gaffer","homepage":"","size":96714,"stargazers_count":1413,"watchers_count":1413,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":303,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":303,"open_issues":63,"watchers":1413,"default_branch":"master"}},"base":{"label":"gchq:develop","ref":"develop","sha":"e68f51dc3c74f770d22d22f66a8f2f10e9925c80","user":{"login":"gchq","id":15800240,"avatar_url":"https://avatars2.githubusercontent.com/u/15800240?v=4","gravatar_id":"","url":"https://api.github.com/users/gchq","html_url":"https://github.com/gchq","followers_url":"https://api.github.com/users/gchq/followers","following_url":"https://api.github.com/users/gchq/following{/other_user}","gists_url":"https://api.github.com/users/gchq/gists{/gist_id}","starred_url":"https://api.github.com/users/gchq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchq/subscriptions","organizations_url":"https://api.github.com/users/gchq/orgs","repos_url":"https://api.github.com/users/gchq/repos","events_url":"https://api.github.com/users/gchq/events{/privacy}","received_events_url":"https://api.github.com/users/gchq/received_events","type":"Organization","site_admin":false},"repo":{"id":47973088,"name":"Gaffer","full_name":"gchq/Gaffer","owner":{"login":"gchq","id":15800240,"avatar_url":"https://avatars2.githubusercontent.com/u/15800240?v=4","gravatar_id":"","url":"https://api.github.com/users/gchq","html_url":"https://github.com/gchq","followers_url":"https://api.github.com/users/gchq/followers","following_url":"https://api.github.com/users/gchq/following{/other_user}","gists_url":"https://api.github.com/users/gchq/gists{/gist_id}","starred_url":"https://api.github.com/users/gchq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gchq/subscriptions","organizations_url":"https://api.github.com/users/gchq/orgs","repos_url":"https://api.github.com/users/gchq/repos","events_url":"https://api.github.com/users/gchq/events{/privacy}","received_events_url":"https://api.github.com/users/gchq/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gchq/Gaffer","description":"A large-scale entity and relation database supporting aggregation of properties","fork":false,"url":"https://api.github.com/repos/gchq/Gaffer","forks_url":"https://api.github.com/repos/gchq/Gaffer/forks","keys_url":"https://api.github.com/repos/gchq/Gaffer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gchq/Gaffer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gchq/Gaffer/teams","hooks_url":"https://api.github.com/repos/gchq/Gaffer/hooks","issue_events_url":"https://api.github.com/repos/gchq/Gaffer/issues/events{/number}","events_url":"https://api.github.com/repos/gchq/Gaffer/events","assignees_url":"https://api.github.com/repos/gchq/Gaffer/assignees{/user}","branches_url":"https://api.github.com/repos/gchq/Gaffer/branches{/branch}","tags_url":"https://api.github.com/repos/gchq/Gaffer/tags","blobs_url":"https://api.github.com/repos/gchq/Gaffer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gchq/Gaffer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gchq/Gaffer/git/refs{/sha}","trees_url":"https://api.github.com/repos/gchq/Gaffer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gchq/Gaffer/statuses/{sha}","languages_url":"https://api.github.com/repos/gchq/Gaffer/languages","stargazers_url":"https://api.github.com/repos/gchq/Gaffer/stargazers","contributors_url":"https://api.github.com/repos/gchq/Gaffer/contributors","subscribers_url":"https://api.github.com/repos/gchq/Gaffer/subscribers","subscription_url":"https://api.github.com/repos/gchq/Gaffer/subscription","commits_url":"https://api.github.com/repos/gchq/Gaffer/commits{/sha}","git_commits_url":"https://api.github.com/repos/gchq/Gaffer/git/commits{/sha}","comments_url":"https://api.github.com/repos/gchq/Gaffer/comments{/number}","issue_comment_url":"https://api.github.com/repos/gchq/Gaffer/issues/comments{/number}","contents_url":"https://api.github.com/repos/gchq/Gaffer/contents/{+path}","compare_url":"https://api.github.com/repos/gchq/Gaffer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gchq/Gaffer/merges","archive_url":"https://api.github.com/repos/gchq/Gaffer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gchq/Gaffer/downloads","issues_url":"https://api.github.com/repos/gchq/Gaffer/issues{/number}","pulls_url":"https://api.github.com/repos/gchq/Gaffer/pulls{/number}","milestones_url":"https://api.github.com/repos/gchq/Gaffer/milestones{/number}","notifications_url":"https://api.github.com/repos/gchq/Gaffer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gchq/Gaffer/labels{/name}","releases_url":"https://api.github.com/repos/gchq/Gaffer/releases{/id}","deployments_url":"https://api.github.com/repos/gchq/Gaffer/deployments","created_at":"2015-12-14T12:12:39Z","updated_at":"2018-05-16T11:12:55Z","pushed_at":"2018-05-17T13:49:04Z","git_url":"git://github.com/gchq/Gaffer.git","ssh_url":"git@github.com:gchq/Gaffer.git","clone_url":"https://github.com/gchq/Gaffer.git","svn_url":"https://github.com/gchq/Gaffer","homepage":"","size":96714,"stargazers_count":1413,"watchers_count":1413,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":303,"mirror_url":null,"archived":false,"open_issues_count":63,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":303,"open_issues":63,"watchers":1413,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/1799"},"html":{"href":"https://github.com/gchq/Gaffer/pull/1799"},"issue":{"href":"https://api.github.com/repos/gchq/Gaffer/issues/1799"},"comments":{"href":"https://api.github.com/repos/gchq/Gaffer/issues/1799/comments"},"review_comments":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/1799/comments"},"review_comment":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gchq/Gaffer/pulls/1799/commits"},"statuses":{"href":"https://api.github.com/repos/gchq/Gaffer/statuses/95118e2c5341bd67f1433f21f5cb7e958217062b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"p013570"}}