{"action":"created","comment":{"url":"https://api.github.com/repos/seecloud/notify/pulls/comments/91068671","pull_request_review_id":11577628,"id":91068671,"diff_hunk":"@@ -0,0 +1,52 @@\n+# RAML 0.0\n+title:\n+version: v1\n+baseUrl: http://example.com/api\n+/alert:\n+  post:\n+    description: Create or update Case in SFDC\n+    responses:\n+      200:\n+    body:\n+      application/json:\n+        schema |\n+          {\"$schema\": “http://json-schema.org/schema”,\n+            \"type\":\"object\"\n+            \"description\": \"Alert Data\"\n+            \"properties\": {\n+              \"description\":   {\"type\": \"json\"},\n+              \"alertId\":       {\"type\": \"string\"},\n+              \"subject\":       {\"type\": \"string\"},\n+              \"environment\":   {\"type\": \"string\"},\n+              \"alertPriority\": {\"type\": \"string\"},\n+              \"alertHost\":     {\"type\": \"string\"},\n+              \"alertService\":  {\"type\": \"string\"}\n+          example: |\n+            alert: {\n+            {\n+              \"description\":   {\n+                \"affected_hosts\": [\n+                  \"host=ic3-ctl01-scc1\", \n+                  \"host=ic3-ctl01-scc2\", \n+                  \"host=ic3-ctl01-scc\"\n+                ], \n+                \"description\": \" Test \\n\n+                    The CPU usage is too high (controller node). \\n\n+                    (CRITICAL, rule=avg(cpu_idle)=5, current=1.65, host=ic3-ctl01-scc) \\n\n+                    No datapoint have been received over the last 60 seconds \\n\n+                    (UNKNOWN, rule=min(fs_space_percent_free[fs=/var/log])2, \\n\n+                    current=-1.00, host=ic3-ctl01-scc1), \\n\n+                \"long_date_time\": \"Fri Dec 2 14:14:53 UTC 2016\",\n+                \"service\": \"glance1\"\n+              },\n+              \"alertId\":       \"a2X4C000000Cf0V--glance1--00-global-clusters-SIT12\",","path":"raml/sfdc_api.raml","position":42,"original_position":42,"commit_id":"2710df2f88ef6ec48b14b9a6c46ec29359475fd8","original_commit_id":"2710df2f88ef6ec48b14b9a6c46ec29359475fd8","user":{"login":"boris-42","id":1546725,"avatar_url":"https://avatars.githubusercontent.com/u/1546725?v=3","gravatar_id":"","url":"https://api.github.com/users/boris-42","html_url":"https://github.com/boris-42","followers_url":"https://api.github.com/users/boris-42/followers","following_url":"https://api.github.com/users/boris-42/following{/other_user}","gists_url":"https://api.github.com/users/boris-42/gists{/gist_id}","starred_url":"https://api.github.com/users/boris-42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boris-42/subscriptions","organizations_url":"https://api.github.com/users/boris-42/orgs","repos_url":"https://api.github.com/users/boris-42/repos","events_url":"https://api.github.com/users/boris-42/events{/privacy}","received_events_url":"https://api.github.com/users/boris-42/received_events","type":"User","site_admin":false},"body":"alertId as far as I understand is SF artificat? ","created_at":"2016-12-06T12:34:46Z","updated_at":"2016-12-06T12:35:45Z","html_url":"https://github.com/seecloud/notify/pull/4#discussion_r91068671","pull_request_url":"https://api.github.com/repos/seecloud/notify/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/seecloud/notify/pulls/comments/91068671"},"html":{"href":"https://github.com/seecloud/notify/pull/4#discussion_r91068671"},"pull_request":{"href":"https://api.github.com/repos/seecloud/notify/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/seecloud/notify/pulls/4","id":96714264,"html_url":"https://github.com/seecloud/notify/pull/4","diff_url":"https://github.com/seecloud/notify/pull/4.diff","patch_url":"https://github.com/seecloud/notify/pull/4.patch","issue_url":"https://api.github.com/repos/seecloud/notify/issues/4","number":4,"state":"open","locked":false,"title":"add raml","user":{"login":"sirmax123","id":5121566,"avatar_url":"https://avatars.githubusercontent.com/u/5121566?v=3","gravatar_id":"","url":"https://api.github.com/users/sirmax123","html_url":"https://github.com/sirmax123","followers_url":"https://api.github.com/users/sirmax123/followers","following_url":"https://api.github.com/users/sirmax123/following{/other_user}","gists_url":"https://api.github.com/users/sirmax123/gists{/gist_id}","starred_url":"https://api.github.com/users/sirmax123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirmax123/subscriptions","organizations_url":"https://api.github.com/users/sirmax123/orgs","repos_url":"https://api.github.com/users/sirmax123/repos","events_url":"https://api.github.com/users/sirmax123/events{/privacy}","received_events_url":"https://api.github.com/users/sirmax123/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-06T12:23:24Z","updated_at":"2016-12-06T12:35:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"38fb6afca5ec65978533725d91092062b683661c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/seecloud/notify/pulls/4/commits","review_comments_url":"https://api.github.com/repos/seecloud/notify/pulls/4/comments","review_comment_url":"https://api.github.com/repos/seecloud/notify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seecloud/notify/issues/4/comments","statuses_url":"https://api.github.com/repos/seecloud/notify/statuses/2710df2f88ef6ec48b14b9a6c46ec29359475fd8","head":{"label":"sirmax123:sfdc_skeleton","ref":"sfdc_skeleton","sha":"2710df2f88ef6ec48b14b9a6c46ec29359475fd8","user":{"login":"sirmax123","id":5121566,"avatar_url":"https://avatars.githubusercontent.com/u/5121566?v=3","gravatar_id":"","url":"https://api.github.com/users/sirmax123","html_url":"https://github.com/sirmax123","followers_url":"https://api.github.com/users/sirmax123/followers","following_url":"https://api.github.com/users/sirmax123/following{/other_user}","gists_url":"https://api.github.com/users/sirmax123/gists{/gist_id}","starred_url":"https://api.github.com/users/sirmax123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirmax123/subscriptions","organizations_url":"https://api.github.com/users/sirmax123/orgs","repos_url":"https://api.github.com/users/sirmax123/repos","events_url":"https://api.github.com/users/sirmax123/events{/privacy}","received_events_url":"https://api.github.com/users/sirmax123/received_events","type":"User","site_admin":false},"repo":{"id":75608392,"name":"notify","full_name":"sirmax123/notify","owner":{"login":"sirmax123","id":5121566,"avatar_url":"https://avatars.githubusercontent.com/u/5121566?v=3","gravatar_id":"","url":"https://api.github.com/users/sirmax123","html_url":"https://github.com/sirmax123","followers_url":"https://api.github.com/users/sirmax123/followers","following_url":"https://api.github.com/users/sirmax123/following{/other_user}","gists_url":"https://api.github.com/users/sirmax123/gists{/gist_id}","starred_url":"https://api.github.com/users/sirmax123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirmax123/subscriptions","organizations_url":"https://api.github.com/users/sirmax123/orgs","repos_url":"https://api.github.com/users/sirmax123/repos","events_url":"https://api.github.com/users/sirmax123/events{/privacy}","received_events_url":"https://api.github.com/users/sirmax123/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sirmax123/notify","description":"Notification as a Service ","fork":true,"url":"https://api.github.com/repos/sirmax123/notify","forks_url":"https://api.github.com/repos/sirmax123/notify/forks","keys_url":"https://api.github.com/repos/sirmax123/notify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirmax123/notify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirmax123/notify/teams","hooks_url":"https://api.github.com/repos/sirmax123/notify/hooks","issue_events_url":"https://api.github.com/repos/sirmax123/notify/issues/events{/number}","events_url":"https://api.github.com/repos/sirmax123/notify/events","assignees_url":"https://api.github.com/repos/sirmax123/notify/assignees{/user}","branches_url":"https://api.github.com/repos/sirmax123/notify/branches{/branch}","tags_url":"https://api.github.com/repos/sirmax123/notify/tags","blobs_url":"https://api.github.com/repos/sirmax123/notify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirmax123/notify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirmax123/notify/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirmax123/notify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirmax123/notify/statuses/{sha}","languages_url":"https://api.github.com/repos/sirmax123/notify/languages","stargazers_url":"https://api.github.com/repos/sirmax123/notify/stargazers","contributors_url":"https://api.github.com/repos/sirmax123/notify/contributors","subscribers_url":"https://api.github.com/repos/sirmax123/notify/subscribers","subscription_url":"https://api.github.com/repos/sirmax123/notify/subscription","commits_url":"https://api.github.com/repos/sirmax123/notify/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirmax123/notify/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirmax123/notify/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirmax123/notify/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirmax123/notify/contents/{+path}","compare_url":"https://api.github.com/repos/sirmax123/notify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirmax123/notify/merges","archive_url":"https://api.github.com/repos/sirmax123/notify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirmax123/notify/downloads","issues_url":"https://api.github.com/repos/sirmax123/notify/issues{/number}","pulls_url":"https://api.github.com/repos/sirmax123/notify/pulls{/number}","milestones_url":"https://api.github.com/repos/sirmax123/notify/milestones{/number}","notifications_url":"https://api.github.com/repos/sirmax123/notify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirmax123/notify/labels{/name}","releases_url":"https://api.github.com/repos/sirmax123/notify/releases{/id}","deployments_url":"https://api.github.com/repos/sirmax123/notify/deployments","created_at":"2016-12-05T09:17:16Z","updated_at":"2016-12-05T13:15:27Z","pushed_at":"2016-12-06T12:22:40Z","git_url":"git://github.com/sirmax123/notify.git","ssh_url":"git@github.com:sirmax123/notify.git","clone_url":"https://github.com/sirmax123/notify.git","svn_url":"https://github.com/sirmax123/notify","homepage":null,"size":13,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"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":"seecloud:master","ref":"master","sha":"6a769705516c8886fd995cd224e38169f20b7665","user":{"login":"seecloud","id":21331534,"avatar_url":"https://avatars.githubusercontent.com/u/21331534?v=3","gravatar_id":"","url":"https://api.github.com/users/seecloud","html_url":"https://github.com/seecloud","followers_url":"https://api.github.com/users/seecloud/followers","following_url":"https://api.github.com/users/seecloud/following{/other_user}","gists_url":"https://api.github.com/users/seecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/seecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seecloud/subscriptions","organizations_url":"https://api.github.com/users/seecloud/orgs","repos_url":"https://api.github.com/users/seecloud/repos","events_url":"https://api.github.com/users/seecloud/events{/privacy}","received_events_url":"https://api.github.com/users/seecloud/received_events","type":"Organization","site_admin":false},"repo":{"id":75214547,"name":"notify","full_name":"seecloud/notify","owner":{"login":"seecloud","id":21331534,"avatar_url":"https://avatars.githubusercontent.com/u/21331534?v=3","gravatar_id":"","url":"https://api.github.com/users/seecloud","html_url":"https://github.com/seecloud","followers_url":"https://api.github.com/users/seecloud/followers","following_url":"https://api.github.com/users/seecloud/following{/other_user}","gists_url":"https://api.github.com/users/seecloud/gists{/gist_id}","starred_url":"https://api.github.com/users/seecloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seecloud/subscriptions","organizations_url":"https://api.github.com/users/seecloud/orgs","repos_url":"https://api.github.com/users/seecloud/repos","events_url":"https://api.github.com/users/seecloud/events{/privacy}","received_events_url":"https://api.github.com/users/seecloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/seecloud/notify","description":"Notification as a Service ","fork":false,"url":"https://api.github.com/repos/seecloud/notify","forks_url":"https://api.github.com/repos/seecloud/notify/forks","keys_url":"https://api.github.com/repos/seecloud/notify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seecloud/notify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seecloud/notify/teams","hooks_url":"https://api.github.com/repos/seecloud/notify/hooks","issue_events_url":"https://api.github.com/repos/seecloud/notify/issues/events{/number}","events_url":"https://api.github.com/repos/seecloud/notify/events","assignees_url":"https://api.github.com/repos/seecloud/notify/assignees{/user}","branches_url":"https://api.github.com/repos/seecloud/notify/branches{/branch}","tags_url":"https://api.github.com/repos/seecloud/notify/tags","blobs_url":"https://api.github.com/repos/seecloud/notify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seecloud/notify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seecloud/notify/git/refs{/sha}","trees_url":"https://api.github.com/repos/seecloud/notify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seecloud/notify/statuses/{sha}","languages_url":"https://api.github.com/repos/seecloud/notify/languages","stargazers_url":"https://api.github.com/repos/seecloud/notify/stargazers","contributors_url":"https://api.github.com/repos/seecloud/notify/contributors","subscribers_url":"https://api.github.com/repos/seecloud/notify/subscribers","subscription_url":"https://api.github.com/repos/seecloud/notify/subscription","commits_url":"https://api.github.com/repos/seecloud/notify/commits{/sha}","git_commits_url":"https://api.github.com/repos/seecloud/notify/git/commits{/sha}","comments_url":"https://api.github.com/repos/seecloud/notify/comments{/number}","issue_comment_url":"https://api.github.com/repos/seecloud/notify/issues/comments{/number}","contents_url":"https://api.github.com/repos/seecloud/notify/contents/{+path}","compare_url":"https://api.github.com/repos/seecloud/notify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seecloud/notify/merges","archive_url":"https://api.github.com/repos/seecloud/notify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seecloud/notify/downloads","issues_url":"https://api.github.com/repos/seecloud/notify/issues{/number}","pulls_url":"https://api.github.com/repos/seecloud/notify/pulls{/number}","milestones_url":"https://api.github.com/repos/seecloud/notify/milestones{/number}","notifications_url":"https://api.github.com/repos/seecloud/notify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seecloud/notify/labels{/name}","releases_url":"https://api.github.com/repos/seecloud/notify/releases{/id}","deployments_url":"https://api.github.com/repos/seecloud/notify/deployments","created_at":"2016-11-30T18:21:45Z","updated_at":"2016-12-06T08:24:58Z","pushed_at":"2016-12-06T12:23:24Z","git_url":"git://github.com/seecloud/notify.git","ssh_url":"git@github.com:seecloud/notify.git","clone_url":"https://github.com/seecloud/notify.git","svn_url":"https://github.com/seecloud/notify","homepage":null,"size":20,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seecloud/notify/pulls/4"},"html":{"href":"https://github.com/seecloud/notify/pull/4"},"issue":{"href":"https://api.github.com/repos/seecloud/notify/issues/4"},"comments":{"href":"https://api.github.com/repos/seecloud/notify/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/seecloud/notify/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/seecloud/notify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seecloud/notify/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/seecloud/notify/statuses/2710df2f88ef6ec48b14b9a6c46ec29359475fd8"}}}}
{"actor":{"display_login":"boris-42"}}