{"action":"closed","issue":{"url":"https://api.github.com/repos/autopilotdev/autopilotdev.github.io/issues/6","repository_url":"https://api.github.com/repos/autopilotdev/autopilotdev.github.io","labels_url":"https://api.github.com/repos/autopilotdev/autopilotdev.github.io/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/autopilotdev/autopilotdev.github.io/issues/6/comments","events_url":"https://api.github.com/repos/autopilotdev/autopilotdev.github.io/issues/6/events","html_url":"https://github.com/autopilotdev/autopilotdev.github.io/issues/6","id":147238372,"number":6,"title":"[apiary] add a contact to a journey mock fails with an email address","user":{"login":"ediblenergy","id":719613,"avatar_url":"https://avatars.githubusercontent.com/u/719613?v=3","gravatar_id":"","url":"https://api.github.com/users/ediblenergy","html_url":"https://github.com/ediblenergy","followers_url":"https://api.github.com/users/ediblenergy/followers","following_url":"https://api.github.com/users/ediblenergy/following{/other_user}","gists_url":"https://api.github.com/users/ediblenergy/gists{/gist_id}","starred_url":"https://api.github.com/users/ediblenergy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ediblenergy/subscriptions","organizations_url":"https://api.github.com/users/ediblenergy/orgs","repos_url":"https://api.github.com/users/ediblenergy/repos","events_url":"https://api.github.com/users/ediblenergy/events{/privacy}","received_events_url":"https://api.github.com/users/ediblenergy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-04-10T16:30:00Z","updated_at":"2016-07-07T00:47:58Z","closed_at":"2016-07-07T00:47:58Z","body":"http://docs.autopilot.apiary.io/#reference/api-methods/trigger-journey/add-a-contact-to-a-journey?console=1\r\n\r\nWhen using email address in the request to the mock server for /v1/trigger/trigger_id/contact/contact_id_or_email\r\nit throws an HTML error.\r\n\r\nExpected: sending 'test@example.com' for contact_id_or_email should work\r\nex: /v1/trigger/004/contact/test@example.com\r\nActual: you get back an HTML error page\r\n\r\nI haven't tested other endpoints much so I can't say if the parameter ':contact_id_or_email' isn't specified correctly or what.\r\nWorks fine in production, and was able to trigger a test journey :)"}}
{"actor":{"display_login":"chrissharkey"}}