{"action":"created","issue":{"url":"https://api.github.com/repos/divinites/github-issues/issues/5","repository_url":"https://api.github.com/repos/divinites/github-issues","labels_url":"https://api.github.com/repos/divinites/github-issues/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/divinites/github-issues/issues/5/comments","events_url":"https://api.github.com/repos/divinites/github-issues/issues/5/events","html_url":"https://github.com/divinites/github-issues/issues/5","id":161806877,"number":5,"title":"problem with github issue updating ","user":{"login":"divinites","id":7761537,"avatar_url":"https://avatars.githubusercontent.com/u/7761537?v=3","gravatar_id":"","url":"https://api.github.com/users/divinites","html_url":"https://github.com/divinites","followers_url":"https://api.github.com/users/divinites/followers","following_url":"https://api.github.com/users/divinites/following{/other_user}","gists_url":"https://api.github.com/users/divinites/gists{/gist_id}","starred_url":"https://api.github.com/users/divinites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divinites/subscriptions","organizations_url":"https://api.github.com/users/divinites/orgs","repos_url":"https://api.github.com/users/divinites/repos","events_url":"https://api.github.com/users/divinites/events{/privacy}","received_events_url":"https://api.github.com/users/divinites/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-22T23:07:19Z","updated_at":"2016-06-23T14:10:26Z","closed_at":null,"body":"\n\nFirst, the easiest case, if only the user just modified the main body of the issue, what we can do is to simply patch the body.\n\nSecond, if the user edited his/her comments, what we should do is to patch the comments.\n\nThird, if the user add a new comment, what we should do is to post the comment.\n\nFourth, user might do some/all of the tasks listed above.\n\n\nThe idea is to save the issue-in-view in a global dictionary issue_dict, indexed by the view.id().\n\nWhen user run the command UpdateGithubIssue, the plugin will grab the content again, and compare it with the original content item by item. If there is a difference in the header or issue body, just replace them;\n\nIf there is a change in the comment section, updating corresponding comment or/and adding a new one.\n"},"comment":{"url":"https://api.github.com/repos/divinites/github-issues/issues/comments/228062002","html_url":"https://github.com/divinites/github-issues/issues/5#issuecomment-228062002","issue_url":"https://api.github.com/repos/divinites/github-issues/issues/5","id":228062002,"user":{"login":"divinites","id":7761537,"avatar_url":"https://avatars.githubusercontent.com/u/7761537?v=3","gravatar_id":"","url":"https://api.github.com/users/divinites","html_url":"https://github.com/divinites","followers_url":"https://api.github.com/users/divinites/followers","following_url":"https://api.github.com/users/divinites/following{/other_user}","gists_url":"https://api.github.com/users/divinites/gists{/gist_id}","starred_url":"https://api.github.com/users/divinites/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/divinites/subscriptions","organizations_url":"https://api.github.com/users/divinites/orgs","repos_url":"https://api.github.com/users/divinites/repos","events_url":"https://api.github.com/users/divinites/events{/privacy}","received_events_url":"https://api.github.com/users/divinites/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T14:10:26Z","updated_at":"2016-06-23T14:10:26Z","body":"test again"}}
{"actor":{"display_login":"divinites"}}