{"action":"created","issue":{"url":"https://api.github.com/repos/nyaruka/rapidpro/issues/616","repository_url":"https://api.github.com/repos/nyaruka/rapidpro","labels_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/616/labels{/name}","comments_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/616/comments","events_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/616/events","html_url":"https://github.com/nyaruka/rapidpro/pull/616","id":144774357,"number":616,"title":"Support for media actions","user":{"login":"ericnewcomer","id":211652,"avatar_url":"https://avatars.githubusercontent.com/u/211652?v=3","gravatar_id":"","url":"https://api.github.com/users/ericnewcomer","html_url":"https://github.com/ericnewcomer","followers_url":"https://api.github.com/users/ericnewcomer/followers","following_url":"https://api.github.com/users/ericnewcomer/following{/other_user}","gists_url":"https://api.github.com/users/ericnewcomer/gists{/gist_id}","starred_url":"https://api.github.com/users/ericnewcomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericnewcomer/subscriptions","organizations_url":"https://api.github.com/users/ericnewcomer/orgs","repos_url":"https://api.github.com/users/ericnewcomer/repos","events_url":"https://api.github.com/users/ericnewcomer/events{/privacy}","received_events_url":"https://api.github.com/users/ericnewcomer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-31T02:55:16Z","updated_at":"2016-04-04T19:00:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nyaruka/rapidpro/pulls/616","html_url":"https://github.com/nyaruka/rapidpro/pull/616","diff_url":"https://github.com/nyaruka/rapidpro/pull/616.diff","patch_url":"https://github.com/nyaruka/rapidpro/pull/616.patch"},"body":"Changes to support multimedia surveys.\r\n\r\n* Adds hooks for simulating media actions (like submitting a photo, video, etc) when simulating survey flows in the flow editor.\r\n* Renames `Value.recording_value` to `Value.media_value`\r\n* Renames `Msg.recording_url` to `Msg.media`\r\n* Adds MediaEndpoint to API to submit media collected externally\r\n* Adds viewers on contact history for video (videojs), images (featherlight), and geo points (osm links)\r\n\r\nAdopts a new scheme for media to include it's type: `media_type:media_path`\r\n**For example:**\r\n_geo:lat,lng\r\naudio:http..\r\nvideo:http..\r\nimage:http.._\r\n\r\nOn exports the \"text\" shows both type and path while the \"value\" shows only the path."},"comment":{"url":"https://api.github.com/repos/nyaruka/rapidpro/issues/comments/205448580","html_url":"https://github.com/nyaruka/rapidpro/pull/616#issuecomment-205448580","issue_url":"https://api.github.com/repos/nyaruka/rapidpro/issues/616","id":205448580,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-04-04T19:00:02Z","updated_at":"2016-04-04T19:00:02Z","body":"\n[![Coverage Status](https://coveralls.io/builds/5657368/badge)](https://coveralls.io/builds/5657368)\n\nCoverage increased (+0.02%) to 93.152% when pulling **dda2b9d44e86ec448ce56474e9a87fcf956a4faf on media_actions** into **b99ab2135fc7b58f667f0131eecb66bdbbed0046 on master**.\n"}}