{"action":"created","issue":{"url":"https://api.github.com/repos/rjhdby/motocitizen/issues/368","labels_url":"https://api.github.com/repos/rjhdby/motocitizen/issues/368/labels{/name}","comments_url":"https://api.github.com/repos/rjhdby/motocitizen/issues/368/comments","events_url":"https://api.github.com/repos/rjhdby/motocitizen/issues/368/events","html_url":"https://github.com/rjhdby/motocitizen/pull/368","id":92635813,"number":368,"title":"Сохраняем идентификаторы прочитанных сообщений в файл.","user":{"login":"elagin","id":611744,"avatar_url":"https://avatars.githubusercontent.com/u/611744?v=3","gravatar_id":"","url":"https://api.github.com/users/elagin","html_url":"https://github.com/elagin","followers_url":"https://api.github.com/users/elagin/followers","following_url":"https://api.github.com/users/elagin/following{/other_user}","gists_url":"https://api.github.com/users/elagin/gists{/gist_id}","starred_url":"https://api.github.com/users/elagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elagin/subscriptions","organizations_url":"https://api.github.com/users/elagin/orgs","repos_url":"https://api.github.com/users/elagin/repos","events_url":"https://api.github.com/users/elagin/events{/privacy}","received_events_url":"https://api.github.com/users/elagin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-02T13:21:05Z","updated_at":"2015-07-02T14:25:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rjhdby/motocitizen/pulls/368","html_url":"https://github.com/rjhdby/motocitizen/pull/368","diff_url":"https://github.com/rjhdby/motocitizen/pull/368.diff","patch_url":"https://github.com/rjhdby/motocitizen/pull/368.patch"},"body":"Сохраняются каждый раз при обновлении списка инцидентов. Данные перезаписываются актуальными, поэтому файл расти не будет.\r\nСобственные сообщения также считаются прочитанными после написания.\r\n\r\nКстати, таким же образом можно, например сохранять идентификатор последнего прочитанного инцидента. Но тогда нужно будет переделать формат хранимых данных, чтобы можно было любые объекты именованые хранить."},"comment":{"url":"https://api.github.com/repos/rjhdby/motocitizen/issues/comments/118049549","html_url":"https://github.com/rjhdby/motocitizen/pull/368#issuecomment-118049549","issue_url":"https://api.github.com/repos/rjhdby/motocitizen/issues/368","id":118049549,"user":{"login":"elagin","id":611744,"avatar_url":"https://avatars.githubusercontent.com/u/611744?v=3","gravatar_id":"","url":"https://api.github.com/users/elagin","html_url":"https://github.com/elagin","followers_url":"https://api.github.com/users/elagin/followers","following_url":"https://api.github.com/users/elagin/following{/other_user}","gists_url":"https://api.github.com/users/elagin/gists{/gist_id}","starred_url":"https://api.github.com/users/elagin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elagin/subscriptions","organizations_url":"https://api.github.com/users/elagin/orgs","repos_url":"https://api.github.com/users/elagin/repos","events_url":"https://api.github.com/users/elagin/events{/privacy}","received_events_url":"https://api.github.com/users/elagin/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T14:25:27Z","updated_at":"2015-07-02T14:25:27Z","body":"Переделал."}}