{"action":"created","issue":{"url":"https://api.github.com/repos/optimizely/php-sdk/issues/94","repository_url":"https://api.github.com/repos/optimizely/php-sdk","labels_url":"https://api.github.com/repos/optimizely/php-sdk/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/optimizely/php-sdk/issues/94/comments","events_url":"https://api.github.com/repos/optimizely/php-sdk/issues/94/events","html_url":"https://github.com/optimizely/php-sdk/pull/94","id":299673320,"number":94,"title":"Make event payload log readable","user":{"login":"oakbani","id":14175871,"avatar_url":"https://avatars1.githubusercontent.com/u/14175871?v=4","gravatar_id":"","url":"https://api.github.com/users/oakbani","html_url":"https://github.com/oakbani","followers_url":"https://api.github.com/users/oakbani/followers","following_url":"https://api.github.com/users/oakbani/following{/other_user}","gists_url":"https://api.github.com/users/oakbani/gists{/gist_id}","starred_url":"https://api.github.com/users/oakbani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oakbani/subscriptions","organizations_url":"https://api.github.com/users/oakbani/orgs","repos_url":"https://api.github.com/users/oakbani/repos","events_url":"https://api.github.com/users/oakbani/events{/privacy}","received_events_url":"https://api.github.com/users/oakbani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T10:56:42Z","updated_at":"2018-02-23T10:56:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/optimizely/php-sdk/pulls/94","html_url":"https://github.com/optimizely/php-sdk/pull/94","diff_url":"https://github.com/optimizely/php-sdk/pull/94.diff","patch_url":"https://github.com/optimizely/php-sdk/pull/94.patch"},"body":"📝 Convert http_build_query to json_encode\r\n**Current:** \r\n\r\n> URL https://logx.optimizely.com/v1/events with params account_id=7947771809&project_id=8168934166&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bdecisions%5D%5B0%5D%5Bcampaign_id%5D=10165816054&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bdecisions%5D%5B0%5D%5Bexperiment_id%5D=10160995869&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bdecisions%5D%5B0%5D%5Bvariation_id%5D=10177144923&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Bentity_id%5D=8237670087&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Btimestamp%5D=1519383011000&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Buuid%5D=4e466784-8b2c-4d33-8ff2-9e3e198e2e0e&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Bkey%5D=order&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Brevenue%5D=3730&visitors%5B0%5D%5Bsnapshots%5D%5B0%5D%5Bevents%5D%5B0%5D%5Btags%5D%5Brevenue%5D=3730&visitors%5B0%5D%5Bvisitor_id%5D=mage_5a6bb6df4afdagQqT8M6l&revision=125&client_name=php-sdk&client_version=1.5.0&anonymize_ip=0.\r\n\r\n\r\n**After json encode:**\r\n\r\n> URL https://logx.optimizely.com/v1/events with params {\"account_id\":\"7947771809\",\"project_id\":\"8168934166\",\"visitors\":[{\"snapshots\":[{\"decisions\":[{\"campaign_id\":\"10165816054\",\"experiment_id\":10160995869,\"variation_id\":\"10177144923\"}],\"events\":[{\"entity_id\":\"8237670087\",\"timestamp\":1519382976000,\"uuid\":\"2502765e-8cbc-45eb-a068-9f3989bce0ea\",\"key\":\"order\",\"revenue\":3730,\"tags\":{\"revenue\":3730}}]}],\"visitor_id\":\"mage_5a6bb6df4afdagQqT8M6l\",\"attributes\":[]}],\"revision\":\"125\",\"client_name\":\"php-sdk\",\"client_version\":\"1.5.0\",\"anonymize_ip\":false}."},"comment":{"url":"https://api.github.com/repos/optimizely/php-sdk/issues/comments/367977631","html_url":"https://github.com/optimizely/php-sdk/pull/94#issuecomment-367977631","issue_url":"https://api.github.com/repos/optimizely/php-sdk/issues/94","id":367977631,"user":{"login":"optibot","id":1276102,"avatar_url":"https://avatars0.githubusercontent.com/u/1276102?v=4","gravatar_id":"","url":"https://api.github.com/users/optibot","html_url":"https://github.com/optibot","followers_url":"https://api.github.com/users/optibot/followers","following_url":"https://api.github.com/users/optibot/following{/other_user}","gists_url":"https://api.github.com/users/optibot/gists{/gist_id}","starred_url":"https://api.github.com/users/optibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/optibot/subscriptions","organizations_url":"https://api.github.com/users/optibot/orgs","repos_url":"https://api.github.com/users/optibot/repos","events_url":"https://api.github.com/users/optibot/events{/privacy}","received_events_url":"https://api.github.com/users/optibot/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T10:56:43Z","updated_at":"2018-02-23T10:56:43Z","author_association":"NONE","body":"Can one of the admins verify this patch?"}}
{"actor":{"display_login":"optibot"}}