{"action":"created","issue":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6315","labels_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6315/labels{/name}","comments_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6315/comments","events_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6315/events","html_url":"https://github.com/civicrm/civicrm-core/pull/6315","id":97468102,"number":6315,"title":"CRM 16911, CiviMail: distinct events in API Mailing stats","user":{"login":"scardinius","id":8309610,"avatar_url":"https://avatars.githubusercontent.com/u/8309610?v=3","gravatar_id":"","url":"https://api.github.com/users/scardinius","html_url":"https://github.com/scardinius","followers_url":"https://api.github.com/users/scardinius/followers","following_url":"https://api.github.com/users/scardinius/following{/other_user}","gists_url":"https://api.github.com/users/scardinius/gists{/gist_id}","starred_url":"https://api.github.com/users/scardinius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scardinius/subscriptions","organizations_url":"https://api.github.com/users/scardinius/orgs","repos_url":"https://api.github.com/users/scardinius/repos","events_url":"https://api.github.com/users/scardinius/events{/privacy}","received_events_url":"https://api.github.com/users/scardinius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-27T13:51:57Z","updated_at":"2015-07-27T13:58:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/civicrm/civicrm-core/pulls/6315","html_url":"https://github.com/civicrm/civicrm-core/pull/6315","diff_url":"https://github.com/civicrm/civicrm-core/pull/6315.diff","patch_url":"https://github.com/civicrm/civicrm-core/pull/6315.patch"},"body":"PR linked to CRM 16911 issue: https://issues.civicrm.org/jira/browse/CRM-16911\r\n\r\nAdding `is_distinct` parameter into `civicrm_api3_mailing_stats` method in API Mailing.\r\n\r\n```javascript\r\nis_distinct = 0; // means not distinct, current behavior (default)\r\nis_distinct = 1; // means distinct, unique stats per contact/recipient\r\n```"},"comment":{"url":"https://api.github.com/repos/civicrm/civicrm-core/issues/comments/125216065","html_url":"https://github.com/civicrm/civicrm-core/pull/6315#issuecomment-125216065","issue_url":"https://api.github.com/repos/civicrm/civicrm-core/issues/6315","id":125216065,"user":{"login":"scardinius","id":8309610,"avatar_url":"https://avatars.githubusercontent.com/u/8309610?v=3","gravatar_id":"","url":"https://api.github.com/users/scardinius","html_url":"https://github.com/scardinius","followers_url":"https://api.github.com/users/scardinius/followers","following_url":"https://api.github.com/users/scardinius/following{/other_user}","gists_url":"https://api.github.com/users/scardinius/gists{/gist_id}","starred_url":"https://api.github.com/users/scardinius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scardinius/subscriptions","organizations_url":"https://api.github.com/users/scardinius/orgs","repos_url":"https://api.github.com/users/scardinius/repos","events_url":"https://api.github.com/users/scardinius/events{/privacy}","received_events_url":"https://api.github.com/users/scardinius/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T13:58:34Z","updated_at":"2015-07-27T13:58:34Z","body":"This patch is verified by https://github.com/tttp"}}