{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/1088","repository_url":"https://api.github.com/repos/mozilla/pontoon","labels_url":"https://api.github.com/repos/mozilla/pontoon/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/pontoon/issues/1088/comments","events_url":"https://api.github.com/repos/mozilla/pontoon/issues/1088/events","html_url":"https://github.com/mozilla/pontoon/pull/1088","id":362905892,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NDg4MDM1","number":1088,"title":"implement Microsoft translator API v3 support","user":{"login":"ernado","id":866677,"node_id":"MDQ6VXNlcjg2NjY3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/866677?v=4","gravatar_id":"","url":"https://api.github.com/users/ernado","html_url":"https://github.com/ernado","followers_url":"https://api.github.com/users/ernado/followers","following_url":"https://api.github.com/users/ernado/following{/other_user}","gists_url":"https://api.github.com/users/ernado/gists{/gist_id}","starred_url":"https://api.github.com/users/ernado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernado/subscriptions","organizations_url":"https://api.github.com/users/ernado/orgs","repos_url":"https://api.github.com/users/ernado/repos","events_url":"https://api.github.com/users/ernado/events{/privacy}","received_events_url":"https://api.github.com/users/ernado/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-23T01:58:16Z","updated_at":"2018-10-01T16:11:43Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/mozilla/pontoon/pulls/1088","html_url":"https://github.com/mozilla/pontoon/pull/1088","diff_url":"https://github.com/mozilla/pontoon/pull/1088.diff","patch_url":"https://github.com/mozilla/pontoon/pull/1088.patch"},"body":"Seems like v2 is deprecated.\r\nThis PR implements the basic support for v3 version of Microsoft translator.\r\n\r\nI've just made a copy of `machine_translation` handler and adjusted it to\r\nuse the new v3 API, so now `machine_translation` is calling the `machine_translation_v3` if `MICROSOFT_TRANSLATOR_API_VERSION` equals to `3.0`."},"comment":{"url":"https://api.github.com/repos/mozilla/pontoon/issues/comments/425966445","html_url":"https://github.com/mozilla/pontoon/pull/1088#issuecomment-425966445","issue_url":"https://api.github.com/repos/mozilla/pontoon/issues/1088","id":425966445,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTk2NjQ0NQ==","user":{"login":"ernado","id":866677,"node_id":"MDQ6VXNlcjg2NjY3Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/866677?v=4","gravatar_id":"","url":"https://api.github.com/users/ernado","html_url":"https://github.com/ernado","followers_url":"https://api.github.com/users/ernado/followers","following_url":"https://api.github.com/users/ernado/following{/other_user}","gists_url":"https://api.github.com/users/ernado/gists{/gist_id}","starred_url":"https://api.github.com/users/ernado/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ernado/subscriptions","organizations_url":"https://api.github.com/users/ernado/orgs","repos_url":"https://api.github.com/users/ernado/repos","events_url":"https://api.github.com/users/ernado/events{/privacy}","received_events_url":"https://api.github.com/users/ernado/received_events","type":"User","site_admin":false},"created_at":"2018-10-01T16:11:43Z","updated_at":"2018-10-01T16:11:43Z","author_association":"NONE","body":"Hey @mathjazz, I've added some unit tests and completely replaced v2 with v3.\r\nPlease take a look.\r\nNote that `MICROSOFT_TRANSLATOR_API_VERSION` is removed as unneeded."}}
{"actor":{"display_login":"ernado"}}