{"action":"created","issue":{"url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/26","repository_url":"https://api.github.com/repos/singer-io/tap-freshdesk","labels_url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/26/comments","events_url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/26/events","html_url":"https://github.com/singer-io/tap-freshdesk/pull/26","id":376744657,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3ODg2MzMy","number":26,"title":"Added \"spam\" and \"deleted\" results to the sync of tickets","user":{"login":"JustEdro","id":999562,"node_id":"MDQ6VXNlcjk5OTU2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/999562?v=4","gravatar_id":"","url":"https://api.github.com/users/JustEdro","html_url":"https://github.com/JustEdro","followers_url":"https://api.github.com/users/JustEdro/followers","following_url":"https://api.github.com/users/JustEdro/following{/other_user}","gists_url":"https://api.github.com/users/JustEdro/gists{/gist_id}","starred_url":"https://api.github.com/users/JustEdro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustEdro/subscriptions","organizations_url":"https://api.github.com/users/JustEdro/orgs","repos_url":"https://api.github.com/users/JustEdro/repos","events_url":"https://api.github.com/users/JustEdro/events{/privacy}","received_events_url":"https://api.github.com/users/JustEdro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-02T10:03:20Z","updated_at":"2018-11-07T19:57:04Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/singer-io/tap-freshdesk/pulls/26","html_url":"https://github.com/singer-io/tap-freshdesk/pull/26","diff_url":"https://github.com/singer-io/tap-freshdesk/pull/26.diff","patch_url":"https://github.com/singer-io/tap-freshdesk/pull/26.patch"},"body":"By default, an endpoint doesn't return the deleted and marked as spam tickets. Needed to specify the predefined filter to retrieve them.\r\nhttps://developers.freshdesk.com/api/#list_all_tickets\r\n\r\nI have created separate streams for them: `tickets_deleted` and `tickets_spam`, the state is being written properly.\r\n\r\n```\r\n{\r\n  \"type\": \"STATE\",\r\n  \"value\": {\r\n    \"tickets\": \"2018-11-02T09:44:37Z\",\r\n    ...\r\n    \"tickets_deleted\": \"2018-11-02T09:26:57Z\",\r\n    \"tickets_spam\": \"2018-11-02T08:51:06Z\"\r\n  }\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/comments/436756766","html_url":"https://github.com/singer-io/tap-freshdesk/pull/26#issuecomment-436756766","issue_url":"https://api.github.com/repos/singer-io/tap-freshdesk/issues/26","id":436756766,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjc1Njc2Ng==","user":{"login":"JustEdro","id":999562,"node_id":"MDQ6VXNlcjk5OTU2Mg==","avatar_url":"https://avatars3.githubusercontent.com/u/999562?v=4","gravatar_id":"","url":"https://api.github.com/users/JustEdro","html_url":"https://github.com/JustEdro","followers_url":"https://api.github.com/users/JustEdro/followers","following_url":"https://api.github.com/users/JustEdro/following{/other_user}","gists_url":"https://api.github.com/users/JustEdro/gists{/gist_id}","starred_url":"https://api.github.com/users/JustEdro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JustEdro/subscriptions","organizations_url":"https://api.github.com/users/JustEdro/orgs","repos_url":"https://api.github.com/users/JustEdro/repos","events_url":"https://api.github.com/users/JustEdro/events{/privacy}","received_events_url":"https://api.github.com/users/JustEdro/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T19:57:04Z","updated_at":"2018-11-07T19:57:04Z","author_association":"NONE","body":"@nick-mccoy, unfortunately, I can't send you the full log so I prepared some examples with non-sensitive info:\r\nSpam: https://gist.github.com/JustEdro/d3d648861788d688c30602c48a9c6b60\r\nDeleted: https://gist.github.com/JustEdro/5a5ab04a947e016a161742c9ecbb97bc"}}
{"actor":{"display_login":"JustEdro"}}