{"action":"created","comment":{"url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/comments/138099055","pull_request_review_id":61850878,"id":138099055,"diff_hunk":"@@ -143,10 +147,22 @@ let message_of_string str =\n   in\n \n   let event json =\n-    let ts x = json |> U.member \"timestamp\" |> U.member x |> U.to_int in\n-    { timestamp = (ts \"seconds\", ts \"microseconds\")\n-    ; event     = json |> U.member \"event\" |> U.to_string\n-    }\n+    let event' json =","path":"lib/qmp.ml","position":null,"original_position":28,"commit_id":"3d551a51c7c0cbbcae3fbf680fda3a903a7b1636","original_commit_id":"4ffbe1f7856d8b93c52c7064fd455b4f4a99d0ea","user":{"login":"fillzero","id":4991147,"avatar_url":"https://avatars0.githubusercontent.com/u/4991147?v=4","gravatar_id":"","url":"https://api.github.com/users/fillzero","html_url":"https://github.com/fillzero","followers_url":"https://api.github.com/users/fillzero/followers","following_url":"https://api.github.com/users/fillzero/following{/other_user}","gists_url":"https://api.github.com/users/fillzero/gists{/gist_id}","starred_url":"https://api.github.com/users/fillzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillzero/subscriptions","organizations_url":"https://api.github.com/users/fillzero/orgs","repos_url":"https://api.github.com/users/fillzero/repos","events_url":"https://api.github.com/users/fillzero/events{/privacy}","received_events_url":"https://api.github.com/users/fillzero/received_events","type":"User","site_admin":false},"body":"Thanks, updated","created_at":"2017-09-11T15:05:02Z","updated_at":"2017-09-11T15:05:02Z","html_url":"https://github.com/xapi-project/ocaml-qmp/pull/23#discussion_r138099055","pull_request_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/comments/138099055"},"html":{"href":"https://github.com/xapi-project/ocaml-qmp/pull/23#discussion_r138099055"},"pull_request":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23"}},"in_reply_to_id":138072410},"pull_request":{"url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23","id":140301507,"html_url":"https://github.com/xapi-project/ocaml-qmp/pull/23","diff_url":"https://github.com/xapi-project/ocaml-qmp/pull/23.diff","patch_url":"https://github.com/xapi-project/ocaml-qmp/pull/23.patch","issue_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/23","number":23,"state":"open","locked":false,"title":"CP-24090: Respond to RTC_CHANGE QMP message","user":{"login":"fillzero","id":4991147,"avatar_url":"https://avatars0.githubusercontent.com/u/4991147?v=4","gravatar_id":"","url":"https://api.github.com/users/fillzero","html_url":"https://github.com/fillzero","followers_url":"https://api.github.com/users/fillzero/followers","following_url":"https://api.github.com/users/fillzero/following{/other_user}","gists_url":"https://api.github.com/users/fillzero/gists{/gist_id}","starred_url":"https://api.github.com/users/fillzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillzero/subscriptions","organizations_url":"https://api.github.com/users/fillzero/orgs","repos_url":"https://api.github.com/users/fillzero/repos","events_url":"https://api.github.com/users/fillzero/events{/privacy}","received_events_url":"https://api.github.com/users/fillzero/received_events","type":"User","site_admin":false},"body":"Add support for the RTC_CHANGE event\r\n\r\nExample:\r\n{ \"event\": \"RTC_CHANGE\",\r\n    \"data\": { \"offset\": 78 },\r\n    \"timestamp\": { \"seconds\": 1267020223, \"microseconds\": 435656 } }\r\n\r\nSigned-off-by: Liang Dai <liang.dai1@citrix.com>","created_at":"2017-09-11T10:36:54Z","updated_at":"2017-09-11T15:05:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"58b5ff56307e75ae2e646d06586eaabb1e3ceae3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23/commits","review_comments_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23/comments","review_comment_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/23/comments","statuses_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/statuses/3d551a51c7c0cbbcae3fbf680fda3a903a7b1636","head":{"label":"fillzero:CP-24090-RTC_CHANGE","ref":"CP-24090-RTC_CHANGE","sha":"3d551a51c7c0cbbcae3fbf680fda3a903a7b1636","user":{"login":"fillzero","id":4991147,"avatar_url":"https://avatars0.githubusercontent.com/u/4991147?v=4","gravatar_id":"","url":"https://api.github.com/users/fillzero","html_url":"https://github.com/fillzero","followers_url":"https://api.github.com/users/fillzero/followers","following_url":"https://api.github.com/users/fillzero/following{/other_user}","gists_url":"https://api.github.com/users/fillzero/gists{/gist_id}","starred_url":"https://api.github.com/users/fillzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillzero/subscriptions","organizations_url":"https://api.github.com/users/fillzero/orgs","repos_url":"https://api.github.com/users/fillzero/repos","events_url":"https://api.github.com/users/fillzero/events{/privacy}","received_events_url":"https://api.github.com/users/fillzero/received_events","type":"User","site_admin":false},"repo":{"id":93480148,"name":"ocaml-qmp","full_name":"fillzero/ocaml-qmp","owner":{"login":"fillzero","id":4991147,"avatar_url":"https://avatars0.githubusercontent.com/u/4991147?v=4","gravatar_id":"","url":"https://api.github.com/users/fillzero","html_url":"https://github.com/fillzero","followers_url":"https://api.github.com/users/fillzero/followers","following_url":"https://api.github.com/users/fillzero/following{/other_user}","gists_url":"https://api.github.com/users/fillzero/gists{/gist_id}","starred_url":"https://api.github.com/users/fillzero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fillzero/subscriptions","organizations_url":"https://api.github.com/users/fillzero/orgs","repos_url":"https://api.github.com/users/fillzero/repos","events_url":"https://api.github.com/users/fillzero/events{/privacy}","received_events_url":"https://api.github.com/users/fillzero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fillzero/ocaml-qmp","description":"A Qemu Message Protocol (QMP) client in OCaml","fork":true,"url":"https://api.github.com/repos/fillzero/ocaml-qmp","forks_url":"https://api.github.com/repos/fillzero/ocaml-qmp/forks","keys_url":"https://api.github.com/repos/fillzero/ocaml-qmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fillzero/ocaml-qmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fillzero/ocaml-qmp/teams","hooks_url":"https://api.github.com/repos/fillzero/ocaml-qmp/hooks","issue_events_url":"https://api.github.com/repos/fillzero/ocaml-qmp/issues/events{/number}","events_url":"https://api.github.com/repos/fillzero/ocaml-qmp/events","assignees_url":"https://api.github.com/repos/fillzero/ocaml-qmp/assignees{/user}","branches_url":"https://api.github.com/repos/fillzero/ocaml-qmp/branches{/branch}","tags_url":"https://api.github.com/repos/fillzero/ocaml-qmp/tags","blobs_url":"https://api.github.com/repos/fillzero/ocaml-qmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fillzero/ocaml-qmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fillzero/ocaml-qmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/fillzero/ocaml-qmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fillzero/ocaml-qmp/statuses/{sha}","languages_url":"https://api.github.com/repos/fillzero/ocaml-qmp/languages","stargazers_url":"https://api.github.com/repos/fillzero/ocaml-qmp/stargazers","contributors_url":"https://api.github.com/repos/fillzero/ocaml-qmp/contributors","subscribers_url":"https://api.github.com/repos/fillzero/ocaml-qmp/subscribers","subscription_url":"https://api.github.com/repos/fillzero/ocaml-qmp/subscription","commits_url":"https://api.github.com/repos/fillzero/ocaml-qmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/fillzero/ocaml-qmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/fillzero/ocaml-qmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/fillzero/ocaml-qmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/fillzero/ocaml-qmp/contents/{+path}","compare_url":"https://api.github.com/repos/fillzero/ocaml-qmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fillzero/ocaml-qmp/merges","archive_url":"https://api.github.com/repos/fillzero/ocaml-qmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fillzero/ocaml-qmp/downloads","issues_url":"https://api.github.com/repos/fillzero/ocaml-qmp/issues{/number}","pulls_url":"https://api.github.com/repos/fillzero/ocaml-qmp/pulls{/number}","milestones_url":"https://api.github.com/repos/fillzero/ocaml-qmp/milestones{/number}","notifications_url":"https://api.github.com/repos/fillzero/ocaml-qmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fillzero/ocaml-qmp/labels{/name}","releases_url":"https://api.github.com/repos/fillzero/ocaml-qmp/releases{/id}","deployments_url":"https://api.github.com/repos/fillzero/ocaml-qmp/deployments","created_at":"2017-06-06T05:37:12Z","updated_at":"2017-06-06T05:37:13Z","pushed_at":"2017-09-11T15:02:56Z","git_url":"git://github.com/fillzero/ocaml-qmp.git","ssh_url":"git@github.com:fillzero/ocaml-qmp.git","clone_url":"https://github.com/fillzero/ocaml-qmp.git","svn_url":"https://github.com/fillzero/ocaml-qmp","homepage":null,"size":78,"stargazers_count":0,"watchers_count":0,"language":"OCaml","has_issues":false,"has_projects":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":"xapi-project:master","ref":"master","sha":"ffaf8bfe521abff9f735f615fb9a8dc967440365","user":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars3.githubusercontent.com/u/317268?v=4","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"repo":{"id":10364673,"name":"ocaml-qmp","full_name":"xapi-project/ocaml-qmp","owner":{"login":"xapi-project","id":317268,"avatar_url":"https://avatars3.githubusercontent.com/u/317268?v=4","gravatar_id":"","url":"https://api.github.com/users/xapi-project","html_url":"https://github.com/xapi-project","followers_url":"https://api.github.com/users/xapi-project/followers","following_url":"https://api.github.com/users/xapi-project/following{/other_user}","gists_url":"https://api.github.com/users/xapi-project/gists{/gist_id}","starred_url":"https://api.github.com/users/xapi-project/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xapi-project/subscriptions","organizations_url":"https://api.github.com/users/xapi-project/orgs","repos_url":"https://api.github.com/users/xapi-project/repos","events_url":"https://api.github.com/users/xapi-project/events{/privacy}","received_events_url":"https://api.github.com/users/xapi-project/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/xapi-project/ocaml-qmp","description":"A Qemu Message Protocol (QMP) client in OCaml","fork":false,"url":"https://api.github.com/repos/xapi-project/ocaml-qmp","forks_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/forks","keys_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/teams","hooks_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/hooks","issue_events_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/events{/number}","events_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/events","assignees_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/assignees{/user}","branches_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/branches{/branch}","tags_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/tags","blobs_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/git/refs{/sha}","trees_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/statuses/{sha}","languages_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/languages","stargazers_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/stargazers","contributors_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/contributors","subscribers_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/subscribers","subscription_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/subscription","commits_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/commits{/sha}","git_commits_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/git/commits{/sha}","comments_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/comments{/number}","issue_comment_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/comments{/number}","contents_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/contents/{+path}","compare_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/merges","archive_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/downloads","issues_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues{/number}","pulls_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls{/number}","milestones_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/milestones{/number}","notifications_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/labels{/name}","releases_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/releases{/id}","deployments_url":"https://api.github.com/repos/xapi-project/ocaml-qmp/deployments","created_at":"2013-05-29T17:01:04Z","updated_at":"2017-06-06T13:24:22Z","pushed_at":"2017-09-11T15:02:58Z","git_url":"git://github.com/xapi-project/ocaml-qmp.git","ssh_url":"git@github.com:xapi-project/ocaml-qmp.git","clone_url":"https://github.com/xapi-project/ocaml-qmp.git","svn_url":"https://github.com/xapi-project/ocaml-qmp","homepage":null,"size":74,"stargazers_count":2,"watchers_count":2,"language":"OCaml","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":1,"forks":8,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23"},"html":{"href":"https://github.com/xapi-project/ocaml-qmp/pull/23"},"issue":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/23"},"comments":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/xapi-project/ocaml-qmp/statuses/3d551a51c7c0cbbcae3fbf680fda3a903a7b1636"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"fillzero"}}