{"action":"created","comment":{"url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/comments/183791364","pull_request_review_id":114857185,"id":183791364,"diff_hunk":"@@ -0,0 +1,214 @@\n+FORMAT: 1A\n+\n+# XClarity compliancePolicies\n+\n+# get details of all policies\n+\n+## GET /compliancePolicies\n++ Response 200\n+{\n+   \"policies\":[{\n+      \"description\":\"DEV ONLY\",\n+      \"id\":\"1427930734934\",\n+      \"inUse\":\"true\",\n+      \"filterType\":\"all\",\n+      \"lastModified\":\"2015-04-01 16:25:34\",\n+      \"name\":\"DEFAULT-2015-04-01\",\n+      \"updateRule\":\"\",\n+      \"userDefined\":\"no\"\n+   },\n+   {\"updateRule\":\"\",\n+      \"description\":\"ddddd\",\n+      \"id\":\"1428397839104\",\n+      \"inUse\":\"false\",\n+      \"filterType\":\"managed\",\n+      \"lastModified\":\"This policy was created by USERID on 2015-04-07 05:10:39\",\n+      \"name\":\"aaaa\",\n+      \"updateRule\":\"\",\n+      \"userDefined\":\"yes\"\n+   }]\n+}\n++ Response 400\n++ Response 401\n++ Response 404\n++ Response 409\n++ Response 500\n+\n+# retrieve the persisted compare result for servers to which a compliance policy is assigned.\n+\n+## GET /compliancePolicies/persistedResult\n++ Response 200\n+{\n+   \"all\": [{\n+      \"chassis\": \"FBEF740B178F4EFAA846E7225EE256DC\",\n+      \"cmms\": [{\n+         \"deviceCompliant\": \"no\",\n+         \"message\": [],\n+         \"policyName\": \"\",\n+         \"supported\": \"true\",\n+         \"targetFirmware\": [],\n+         \"uuid\": \"387E51D69EC311E0A4C8E87E4D6C0479\"\n+      }]","path":"docs/apib/compliancePolicies.apib","position":51,"original_position":51,"commit_id":"2942499e601edb7678020c3224e73560da255fa1","original_commit_id":"2942499e601edb7678020c3224e73560da255fa1","user":{"login":"umrikar","id":18037127,"avatar_url":"https://avatars1.githubusercontent.com/u/18037127?v=4","gravatar_id":"","url":"https://api.github.com/users/umrikar","html_url":"https://github.com/umrikar","followers_url":"https://api.github.com/users/umrikar/followers","following_url":"https://api.github.com/users/umrikar/following{/other_user}","gists_url":"https://api.github.com/users/umrikar/gists{/gist_id}","starred_url":"https://api.github.com/users/umrikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umrikar/subscriptions","organizations_url":"https://api.github.com/users/umrikar/orgs","repos_url":"https://api.github.com/users/umrikar/repos","events_url":"https://api.github.com/users/umrikar/events{/privacy}","received_events_url":"https://api.github.com/users/umrikar/received_events","type":"User","site_admin":false},"body":"its not required..its last member","created_at":"2018-04-24T16:07:00Z","updated_at":"2018-04-24T16:07:00Z","html_url":"https://github.com/lenovo/xclarity_client/pull/102#discussion_r183791364","pull_request_url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/comments/183791364"},"html":{"href":"https://github.com/lenovo/xclarity_client/pull/102#discussion_r183791364"},"pull_request":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102"}},"in_reply_to_id":183753597},"pull_request":{"url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102","id":180225412,"html_url":"https://github.com/lenovo/xclarity_client/pull/102","diff_url":"https://github.com/lenovo/xclarity_client/pull/102.diff","patch_url":"https://github.com/lenovo/xclarity_client/pull/102.patch","issue_url":"https://api.github.com/repos/lenovo/xclarity_client/issues/102","number":102,"state":"open","locked":false,"title":"Add update policy...rebased manasas changes to master branch","user":{"login":"umrikar","id":18037127,"avatar_url":"https://avatars1.githubusercontent.com/u/18037127?v=4","gravatar_id":"","url":"https://api.github.com/users/umrikar","html_url":"https://github.com/umrikar","followers_url":"https://api.github.com/users/umrikar/followers","following_url":"https://api.github.com/users/umrikar/following{/other_user}","gists_url":"https://api.github.com/users/umrikar/gists{/gist_id}","starred_url":"https://api.github.com/users/umrikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umrikar/subscriptions","organizations_url":"https://api.github.com/users/umrikar/orgs","repos_url":"https://api.github.com/users/umrikar/repos","events_url":"https://api.github.com/users/umrikar/events{/privacy}","received_events_url":"https://api.github.com/users/umrikar/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-09T06:57:05Z","updated_at":"2018-04-24T16:07:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3e24d1d4d8211be7720cd4cf6f992da7c36925c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102/commits","review_comments_url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102/comments","review_comment_url":"https://api.github.com/repos/lenovo/xclarity_client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lenovo/xclarity_client/issues/102/comments","statuses_url":"https://api.github.com/repos/lenovo/xclarity_client/statuses/2942499e601edb7678020c3224e73560da255fa1","head":{"label":"umrikar:master","ref":"master","sha":"2942499e601edb7678020c3224e73560da255fa1","user":{"login":"umrikar","id":18037127,"avatar_url":"https://avatars1.githubusercontent.com/u/18037127?v=4","gravatar_id":"","url":"https://api.github.com/users/umrikar","html_url":"https://github.com/umrikar","followers_url":"https://api.github.com/users/umrikar/followers","following_url":"https://api.github.com/users/umrikar/following{/other_user}","gists_url":"https://api.github.com/users/umrikar/gists{/gist_id}","starred_url":"https://api.github.com/users/umrikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umrikar/subscriptions","organizations_url":"https://api.github.com/users/umrikar/orgs","repos_url":"https://api.github.com/users/umrikar/repos","events_url":"https://api.github.com/users/umrikar/events{/privacy}","received_events_url":"https://api.github.com/users/umrikar/received_events","type":"User","site_admin":false},"repo":{"id":119942284,"name":"xclarity_client","full_name":"umrikar/xclarity_client","owner":{"login":"umrikar","id":18037127,"avatar_url":"https://avatars1.githubusercontent.com/u/18037127?v=4","gravatar_id":"","url":"https://api.github.com/users/umrikar","html_url":"https://github.com/umrikar","followers_url":"https://api.github.com/users/umrikar/followers","following_url":"https://api.github.com/users/umrikar/following{/other_user}","gists_url":"https://api.github.com/users/umrikar/gists{/gist_id}","starred_url":"https://api.github.com/users/umrikar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umrikar/subscriptions","organizations_url":"https://api.github.com/users/umrikar/orgs","repos_url":"https://api.github.com/users/umrikar/repos","events_url":"https://api.github.com/users/umrikar/events{/privacy}","received_events_url":"https://api.github.com/users/umrikar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umrikar/xclarity_client","description":"A Ruby client for XClarity REST API","fork":true,"url":"https://api.github.com/repos/umrikar/xclarity_client","forks_url":"https://api.github.com/repos/umrikar/xclarity_client/forks","keys_url":"https://api.github.com/repos/umrikar/xclarity_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umrikar/xclarity_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umrikar/xclarity_client/teams","hooks_url":"https://api.github.com/repos/umrikar/xclarity_client/hooks","issue_events_url":"https://api.github.com/repos/umrikar/xclarity_client/issues/events{/number}","events_url":"https://api.github.com/repos/umrikar/xclarity_client/events","assignees_url":"https://api.github.com/repos/umrikar/xclarity_client/assignees{/user}","branches_url":"https://api.github.com/repos/umrikar/xclarity_client/branches{/branch}","tags_url":"https://api.github.com/repos/umrikar/xclarity_client/tags","blobs_url":"https://api.github.com/repos/umrikar/xclarity_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umrikar/xclarity_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umrikar/xclarity_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/umrikar/xclarity_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umrikar/xclarity_client/statuses/{sha}","languages_url":"https://api.github.com/repos/umrikar/xclarity_client/languages","stargazers_url":"https://api.github.com/repos/umrikar/xclarity_client/stargazers","contributors_url":"https://api.github.com/repos/umrikar/xclarity_client/contributors","subscribers_url":"https://api.github.com/repos/umrikar/xclarity_client/subscribers","subscription_url":"https://api.github.com/repos/umrikar/xclarity_client/subscription","commits_url":"https://api.github.com/repos/umrikar/xclarity_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/umrikar/xclarity_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/umrikar/xclarity_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/umrikar/xclarity_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/umrikar/xclarity_client/contents/{+path}","compare_url":"https://api.github.com/repos/umrikar/xclarity_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umrikar/xclarity_client/merges","archive_url":"https://api.github.com/repos/umrikar/xclarity_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umrikar/xclarity_client/downloads","issues_url":"https://api.github.com/repos/umrikar/xclarity_client/issues{/number}","pulls_url":"https://api.github.com/repos/umrikar/xclarity_client/pulls{/number}","milestones_url":"https://api.github.com/repos/umrikar/xclarity_client/milestones{/number}","notifications_url":"https://api.github.com/repos/umrikar/xclarity_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umrikar/xclarity_client/labels{/name}","releases_url":"https://api.github.com/repos/umrikar/xclarity_client/releases{/id}","deployments_url":"https://api.github.com/repos/umrikar/xclarity_client/deployments","created_at":"2018-02-02T06:30:10Z","updated_at":"2018-04-24T14:22:00Z","pushed_at":"2018-04-24T14:21:58Z","git_url":"git://github.com/umrikar/xclarity_client.git","ssh_url":"git@github.com:umrikar/xclarity_client.git","clone_url":"https://github.com/umrikar/xclarity_client.git","svn_url":"https://github.com/umrikar/xclarity_client","homepage":null,"size":1361,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lenovo:master","ref":"master","sha":"5eb1de0654f8310405e77a99c2d8efa23d21f62f","user":{"login":"lenovo","id":13356730,"avatar_url":"https://avatars1.githubusercontent.com/u/13356730?v=4","gravatar_id":"","url":"https://api.github.com/users/lenovo","html_url":"https://github.com/lenovo","followers_url":"https://api.github.com/users/lenovo/followers","following_url":"https://api.github.com/users/lenovo/following{/other_user}","gists_url":"https://api.github.com/users/lenovo/gists{/gist_id}","starred_url":"https://api.github.com/users/lenovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenovo/subscriptions","organizations_url":"https://api.github.com/users/lenovo/orgs","repos_url":"https://api.github.com/users/lenovo/repos","events_url":"https://api.github.com/users/lenovo/events{/privacy}","received_events_url":"https://api.github.com/users/lenovo/received_events","type":"Organization","site_admin":false},"repo":{"id":65030272,"name":"xclarity_client","full_name":"lenovo/xclarity_client","owner":{"login":"lenovo","id":13356730,"avatar_url":"https://avatars1.githubusercontent.com/u/13356730?v=4","gravatar_id":"","url":"https://api.github.com/users/lenovo","html_url":"https://github.com/lenovo","followers_url":"https://api.github.com/users/lenovo/followers","following_url":"https://api.github.com/users/lenovo/following{/other_user}","gists_url":"https://api.github.com/users/lenovo/gists{/gist_id}","starred_url":"https://api.github.com/users/lenovo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lenovo/subscriptions","organizations_url":"https://api.github.com/users/lenovo/orgs","repos_url":"https://api.github.com/users/lenovo/repos","events_url":"https://api.github.com/users/lenovo/events{/privacy}","received_events_url":"https://api.github.com/users/lenovo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lenovo/xclarity_client","description":"A Ruby client for XClarity REST API","fork":false,"url":"https://api.github.com/repos/lenovo/xclarity_client","forks_url":"https://api.github.com/repos/lenovo/xclarity_client/forks","keys_url":"https://api.github.com/repos/lenovo/xclarity_client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lenovo/xclarity_client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lenovo/xclarity_client/teams","hooks_url":"https://api.github.com/repos/lenovo/xclarity_client/hooks","issue_events_url":"https://api.github.com/repos/lenovo/xclarity_client/issues/events{/number}","events_url":"https://api.github.com/repos/lenovo/xclarity_client/events","assignees_url":"https://api.github.com/repos/lenovo/xclarity_client/assignees{/user}","branches_url":"https://api.github.com/repos/lenovo/xclarity_client/branches{/branch}","tags_url":"https://api.github.com/repos/lenovo/xclarity_client/tags","blobs_url":"https://api.github.com/repos/lenovo/xclarity_client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lenovo/xclarity_client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lenovo/xclarity_client/git/refs{/sha}","trees_url":"https://api.github.com/repos/lenovo/xclarity_client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lenovo/xclarity_client/statuses/{sha}","languages_url":"https://api.github.com/repos/lenovo/xclarity_client/languages","stargazers_url":"https://api.github.com/repos/lenovo/xclarity_client/stargazers","contributors_url":"https://api.github.com/repos/lenovo/xclarity_client/contributors","subscribers_url":"https://api.github.com/repos/lenovo/xclarity_client/subscribers","subscription_url":"https://api.github.com/repos/lenovo/xclarity_client/subscription","commits_url":"https://api.github.com/repos/lenovo/xclarity_client/commits{/sha}","git_commits_url":"https://api.github.com/repos/lenovo/xclarity_client/git/commits{/sha}","comments_url":"https://api.github.com/repos/lenovo/xclarity_client/comments{/number}","issue_comment_url":"https://api.github.com/repos/lenovo/xclarity_client/issues/comments{/number}","contents_url":"https://api.github.com/repos/lenovo/xclarity_client/contents/{+path}","compare_url":"https://api.github.com/repos/lenovo/xclarity_client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lenovo/xclarity_client/merges","archive_url":"https://api.github.com/repos/lenovo/xclarity_client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lenovo/xclarity_client/downloads","issues_url":"https://api.github.com/repos/lenovo/xclarity_client/issues{/number}","pulls_url":"https://api.github.com/repos/lenovo/xclarity_client/pulls{/number}","milestones_url":"https://api.github.com/repos/lenovo/xclarity_client/milestones{/number}","notifications_url":"https://api.github.com/repos/lenovo/xclarity_client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lenovo/xclarity_client/labels{/name}","releases_url":"https://api.github.com/repos/lenovo/xclarity_client/releases{/id}","deployments_url":"https://api.github.com/repos/lenovo/xclarity_client/deployments","created_at":"2016-08-05T15:43:40Z","updated_at":"2018-04-08T09:09:55Z","pushed_at":"2018-04-24T14:22:00Z","git_url":"git://github.com/lenovo/xclarity_client.git","ssh_url":"git@github.com:lenovo/xclarity_client.git","clone_url":"https://github.com/lenovo/xclarity_client.git","svn_url":"https://github.com/lenovo/xclarity_client","homepage":null,"size":1358,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":21,"mirror_url":null,"archived":false,"open_issues_count":8,"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":21,"open_issues":8,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102"},"html":{"href":"https://github.com/lenovo/xclarity_client/pull/102"},"issue":{"href":"https://api.github.com/repos/lenovo/xclarity_client/issues/102"},"comments":{"href":"https://api.github.com/repos/lenovo/xclarity_client/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lenovo/xclarity_client/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/lenovo/xclarity_client/statuses/2942499e601edb7678020c3224e73560da255fa1"}},"author_association":"NONE"}}
{"actor":{"display_login":"umrikar"}}