{"action":"created","comment":{"url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/comments/58013881","id":58013881,"diff_hunk":"@@ -397,4 +411,42 @@ public AverageRatingApi getUserReputation(DocumentReference username)\n             return null;\n         }\n     }\n+\n+    /**\n+     * Retrieves the lowest level ratings configuration document in the hierarchy and fallback to XWiki.RatingsConfig\n+     * if does not exist.\n+     *\n+     * @param documentRef the document being rated or for which the existing ratings are fetched\n+     * @return the lowest level ratings configuration doc\n+     * @since 8.1M1\n+     */\n+\n+    public Document getConfigDoc(DocumentReference documentRef)","path":"xwiki-platform-core/xwiki-platform-ratings/xwiki-platform-ratings-api/src/main/java/org/xwiki/ratings/script/RatingsScriptService.java","position":53,"original_position":53,"commit_id":"521f853e2224af94764223bc460376a4fb808c6e","original_commit_id":"521f853e2224af94764223bc460376a4fb808c6e","user":{"login":"vmassol","id":628267,"avatar_url":"https://avatars.githubusercontent.com/u/628267?v=3","gravatar_id":"","url":"https://api.github.com/users/vmassol","html_url":"https://github.com/vmassol","followers_url":"https://api.github.com/users/vmassol/followers","following_url":"https://api.github.com/users/vmassol/following{/other_user}","gists_url":"https://api.github.com/users/vmassol/gists{/gist_id}","starred_url":"https://api.github.com/users/vmassol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vmassol/subscriptions","organizations_url":"https://api.github.com/users/vmassol/orgs","repos_url":"https://api.github.com/users/vmassol/repos","events_url":"https://api.github.com/users/vmassol/events{/privacy}","received_events_url":"https://api.github.com/users/vmassol/received_events","type":"User","site_admin":false},"body":"same here, please use full name such as: getConfigurationDocument. \r\n","created_at":"2016-03-31T08:00:46Z","updated_at":"2016-03-31T08:00:46Z","html_url":"https://github.com/xwiki/xwiki-platform/pull/472#discussion_r58013881","pull_request_url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472","_links":{"self":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/comments/58013881"},"html":{"href":"https://github.com/xwiki/xwiki-platform/pull/472#discussion_r58013881"},"pull_request":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472"}}},"pull_request":{"url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472","id":64621145,"html_url":"https://github.com/xwiki/xwiki-platform/pull/472","diff_url":"https://github.com/xwiki/xwiki-platform/pull/472.diff","patch_url":"https://github.com/xwiki/xwiki-platform/pull/472.patch","issue_url":"https://api.github.com/repos/xwiki/xwiki-platform/issues/472","number":472,"state":"open","locked":false,"title":"XWIKI-13274 : Add NS support for Ratings space configuration","user":{"login":"acotiuga","id":8121819,"avatar_url":"https://avatars.githubusercontent.com/u/8121819?v=3","gravatar_id":"","url":"https://api.github.com/users/acotiuga","html_url":"https://github.com/acotiuga","followers_url":"https://api.github.com/users/acotiuga/followers","following_url":"https://api.github.com/users/acotiuga/following{/other_user}","gists_url":"https://api.github.com/users/acotiuga/gists{/gist_id}","starred_url":"https://api.github.com/users/acotiuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acotiuga/subscriptions","organizations_url":"https://api.github.com/users/acotiuga/orgs","repos_url":"https://api.github.com/users/acotiuga/repos","events_url":"https://api.github.com/users/acotiuga/events{/privacy}","received_events_url":"https://api.github.com/users/acotiuga/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-30T12:47:55Z","updated_at":"2016-03-31T08:00:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9da7323260761fc4ce498c87b42f0ca958cb8951","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472/commits","review_comments_url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472/comments","review_comment_url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xwiki/xwiki-platform/issues/472/comments","statuses_url":"https://api.github.com/repos/xwiki/xwiki-platform/statuses/521f853e2224af94764223bc460376a4fb808c6e","head":{"label":"acotiuga:XWIKI-13274","ref":"XWIKI-13274","sha":"521f853e2224af94764223bc460376a4fb808c6e","user":{"login":"acotiuga","id":8121819,"avatar_url":"https://avatars.githubusercontent.com/u/8121819?v=3","gravatar_id":"","url":"https://api.github.com/users/acotiuga","html_url":"https://github.com/acotiuga","followers_url":"https://api.github.com/users/acotiuga/followers","following_url":"https://api.github.com/users/acotiuga/following{/other_user}","gists_url":"https://api.github.com/users/acotiuga/gists{/gist_id}","starred_url":"https://api.github.com/users/acotiuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acotiuga/subscriptions","organizations_url":"https://api.github.com/users/acotiuga/orgs","repos_url":"https://api.github.com/users/acotiuga/repos","events_url":"https://api.github.com/users/acotiuga/events{/privacy}","received_events_url":"https://api.github.com/users/acotiuga/received_events","type":"User","site_admin":false},"repo":{"id":53123929,"name":"xwiki-platform","full_name":"acotiuga/xwiki-platform","owner":{"login":"acotiuga","id":8121819,"avatar_url":"https://avatars.githubusercontent.com/u/8121819?v=3","gravatar_id":"","url":"https://api.github.com/users/acotiuga","html_url":"https://github.com/acotiuga","followers_url":"https://api.github.com/users/acotiuga/followers","following_url":"https://api.github.com/users/acotiuga/following{/other_user}","gists_url":"https://api.github.com/users/acotiuga/gists{/gist_id}","starred_url":"https://api.github.com/users/acotiuga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acotiuga/subscriptions","organizations_url":"https://api.github.com/users/acotiuga/orgs","repos_url":"https://api.github.com/users/acotiuga/repos","events_url":"https://api.github.com/users/acotiuga/events{/privacy}","received_events_url":"https://api.github.com/users/acotiuga/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acotiuga/xwiki-platform","description":"The XWiki platform","fork":true,"url":"https://api.github.com/repos/acotiuga/xwiki-platform","forks_url":"https://api.github.com/repos/acotiuga/xwiki-platform/forks","keys_url":"https://api.github.com/repos/acotiuga/xwiki-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acotiuga/xwiki-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acotiuga/xwiki-platform/teams","hooks_url":"https://api.github.com/repos/acotiuga/xwiki-platform/hooks","issue_events_url":"https://api.github.com/repos/acotiuga/xwiki-platform/issues/events{/number}","events_url":"https://api.github.com/repos/acotiuga/xwiki-platform/events","assignees_url":"https://api.github.com/repos/acotiuga/xwiki-platform/assignees{/user}","branches_url":"https://api.github.com/repos/acotiuga/xwiki-platform/branches{/branch}","tags_url":"https://api.github.com/repos/acotiuga/xwiki-platform/tags","blobs_url":"https://api.github.com/repos/acotiuga/xwiki-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acotiuga/xwiki-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acotiuga/xwiki-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/acotiuga/xwiki-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acotiuga/xwiki-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/acotiuga/xwiki-platform/languages","stargazers_url":"https://api.github.com/repos/acotiuga/xwiki-platform/stargazers","contributors_url":"https://api.github.com/repos/acotiuga/xwiki-platform/contributors","subscribers_url":"https://api.github.com/repos/acotiuga/xwiki-platform/subscribers","subscription_url":"https://api.github.com/repos/acotiuga/xwiki-platform/subscription","commits_url":"https://api.github.com/repos/acotiuga/xwiki-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/acotiuga/xwiki-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/acotiuga/xwiki-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/acotiuga/xwiki-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/acotiuga/xwiki-platform/contents/{+path}","compare_url":"https://api.github.com/repos/acotiuga/xwiki-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acotiuga/xwiki-platform/merges","archive_url":"https://api.github.com/repos/acotiuga/xwiki-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acotiuga/xwiki-platform/downloads","issues_url":"https://api.github.com/repos/acotiuga/xwiki-platform/issues{/number}","pulls_url":"https://api.github.com/repos/acotiuga/xwiki-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/acotiuga/xwiki-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/acotiuga/xwiki-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acotiuga/xwiki-platform/labels{/name}","releases_url":"https://api.github.com/repos/acotiuga/xwiki-platform/releases{/id}","deployments_url":"https://api.github.com/repos/acotiuga/xwiki-platform/deployments","created_at":"2016-03-04T09:29:46Z","updated_at":"2016-03-04T09:30:18Z","pushed_at":"2016-03-30T12:47:28Z","git_url":"git://github.com/acotiuga/xwiki-platform.git","ssh_url":"git@github.com:acotiuga/xwiki-platform.git","clone_url":"https://github.com/acotiuga/xwiki-platform.git","svn_url":"https://github.com/acotiuga/xwiki-platform","homepage":"http://platform.xwiki.org/","size":290862,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"xwiki:master","ref":"master","sha":"038441be298c008db354eb20b0917e85dbac28bf","user":{"login":"xwiki","id":488445,"avatar_url":"https://avatars.githubusercontent.com/u/488445?v=3","gravatar_id":"","url":"https://api.github.com/users/xwiki","html_url":"https://github.com/xwiki","followers_url":"https://api.github.com/users/xwiki/followers","following_url":"https://api.github.com/users/xwiki/following{/other_user}","gists_url":"https://api.github.com/users/xwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/xwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwiki/subscriptions","organizations_url":"https://api.github.com/users/xwiki/orgs","repos_url":"https://api.github.com/users/xwiki/repos","events_url":"https://api.github.com/users/xwiki/events{/privacy}","received_events_url":"https://api.github.com/users/xwiki/received_events","type":"Organization","site_admin":false},"repo":{"id":1463490,"name":"xwiki-platform","full_name":"xwiki/xwiki-platform","owner":{"login":"xwiki","id":488445,"avatar_url":"https://avatars.githubusercontent.com/u/488445?v=3","gravatar_id":"","url":"https://api.github.com/users/xwiki","html_url":"https://github.com/xwiki","followers_url":"https://api.github.com/users/xwiki/followers","following_url":"https://api.github.com/users/xwiki/following{/other_user}","gists_url":"https://api.github.com/users/xwiki/gists{/gist_id}","starred_url":"https://api.github.com/users/xwiki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xwiki/subscriptions","organizations_url":"https://api.github.com/users/xwiki/orgs","repos_url":"https://api.github.com/users/xwiki/repos","events_url":"https://api.github.com/users/xwiki/events{/privacy}","received_events_url":"https://api.github.com/users/xwiki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xwiki/xwiki-platform","description":"The XWiki platform","fork":false,"url":"https://api.github.com/repos/xwiki/xwiki-platform","forks_url":"https://api.github.com/repos/xwiki/xwiki-platform/forks","keys_url":"https://api.github.com/repos/xwiki/xwiki-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xwiki/xwiki-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xwiki/xwiki-platform/teams","hooks_url":"https://api.github.com/repos/xwiki/xwiki-platform/hooks","issue_events_url":"https://api.github.com/repos/xwiki/xwiki-platform/issues/events{/number}","events_url":"https://api.github.com/repos/xwiki/xwiki-platform/events","assignees_url":"https://api.github.com/repos/xwiki/xwiki-platform/assignees{/user}","branches_url":"https://api.github.com/repos/xwiki/xwiki-platform/branches{/branch}","tags_url":"https://api.github.com/repos/xwiki/xwiki-platform/tags","blobs_url":"https://api.github.com/repos/xwiki/xwiki-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xwiki/xwiki-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xwiki/xwiki-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/xwiki/xwiki-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xwiki/xwiki-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/xwiki/xwiki-platform/languages","stargazers_url":"https://api.github.com/repos/xwiki/xwiki-platform/stargazers","contributors_url":"https://api.github.com/repos/xwiki/xwiki-platform/contributors","subscribers_url":"https://api.github.com/repos/xwiki/xwiki-platform/subscribers","subscription_url":"https://api.github.com/repos/xwiki/xwiki-platform/subscription","commits_url":"https://api.github.com/repos/xwiki/xwiki-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/xwiki/xwiki-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/xwiki/xwiki-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/xwiki/xwiki-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/xwiki/xwiki-platform/contents/{+path}","compare_url":"https://api.github.com/repos/xwiki/xwiki-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xwiki/xwiki-platform/merges","archive_url":"https://api.github.com/repos/xwiki/xwiki-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xwiki/xwiki-platform/downloads","issues_url":"https://api.github.com/repos/xwiki/xwiki-platform/issues{/number}","pulls_url":"https://api.github.com/repos/xwiki/xwiki-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/xwiki/xwiki-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/xwiki/xwiki-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xwiki/xwiki-platform/labels{/name}","releases_url":"https://api.github.com/repos/xwiki/xwiki-platform/releases{/id}","deployments_url":"https://api.github.com/repos/xwiki/xwiki-platform/deployments","created_at":"2011-03-10T13:26:41Z","updated_at":"2016-03-24T21:38:58Z","pushed_at":"2016-03-30T12:47:55Z","git_url":"git://github.com/xwiki/xwiki-platform.git","ssh_url":"git@github.com:xwiki/xwiki-platform.git","clone_url":"https://github.com/xwiki/xwiki-platform.git","svn_url":"https://github.com/xwiki/xwiki-platform","homepage":"http://platform.xwiki.org/","size":292353,"stargazers_count":148,"watchers_count":148,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":178,"mirror_url":null,"open_issues_count":32,"forks":178,"open_issues":32,"watchers":148,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472"},"html":{"href":"https://github.com/xwiki/xwiki-platform/pull/472"},"issue":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/issues/472"},"comments":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/issues/472/comments"},"review_comments":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472/comments"},"review_comment":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/pulls/472/commits"},"statuses":{"href":"https://api.github.com/repos/xwiki/xwiki-platform/statuses/521f853e2224af94764223bc460376a4fb808c6e"}}}}