{"action":"created","issue":{"url":"https://api.github.com/repos/fossasia/susi_android/issues/397","repository_url":"https://api.github.com/repos/fossasia/susi_android","labels_url":"https://api.github.com/repos/fossasia/susi_android/issues/397/labels{/name}","comments_url":"https://api.github.com/repos/fossasia/susi_android/issues/397/comments","events_url":"https://api.github.com/repos/fossasia/susi_android/issues/397/events","html_url":"https://github.com/fossasia/susi_android/issues/397","id":194055294,"number":397,"title":"Add action type 'anchor' to display a single link as answer line","user":{"login":"Orbiter","id":238730,"avatar_url":"https://avatars.githubusercontent.com/u/238730?v=3","gravatar_id":"","url":"https://api.github.com/users/Orbiter","html_url":"https://github.com/Orbiter","followers_url":"https://api.github.com/users/Orbiter/followers","following_url":"https://api.github.com/users/Orbiter/following{/other_user}","gists_url":"https://api.github.com/users/Orbiter/gists{/gist_id}","starred_url":"https://api.github.com/users/Orbiter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orbiter/subscriptions","organizations_url":"https://api.github.com/users/Orbiter/orgs","repos_url":"https://api.github.com/users/Orbiter/repos","events_url":"https://api.github.com/users/Orbiter/events{/privacy}","received_events_url":"https://api.github.com/users/Orbiter/received_events","type":"User","site_admin":false},"labels":[{"id":446682181,"url":"https://api.github.com/repos/fossasia/susi_android/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-07T13:54:32Z","updated_at":"2016-12-09T06:31:59Z","closed_at":null,"body":"**Actual Behaviour**\r\n\r\nCurrently we cannot have anchor texts for links embedded in answer texts.\r\n\r\n**Expected Behaviour**\r\n\r\nWe want to show links with link texts differently from the link itself. To do this, a new answer action type 'anchor' is introduced. Answer actions are presented as extra object within the set of given actions.\r\n\r\nAn anchor action looks like:\r\n```\r\n\"actions\": [\r\n      {\r\n        \"type\": \"anchor\",\r\n        \"link\": \"https://www.openstreetmap.org/#map=13/52.52436820069531/13.41053001275776\",\r\n        \"text\": \"Link to Openstreetmap: Berlin\"\r\n      }\r\n    ]\r\n```\r\nand can be tested with a query \"where is berlin\", i.e.:\r\nhttp://api.asksusi.com/susi/chat.json?timezoneOffset=-60&q=where+is+berlin\r\n\r\n**Would you like to work on the issue?**\r\n\r\nLet us know if this issue should be assigned to you or tell us who you think could help to solve this issue.\r\n"},"comment":{"url":"https://api.github.com/repos/fossasia/susi_android/issues/comments/265944039","html_url":"https://github.com/fossasia/susi_android/issues/397#issuecomment-265944039","issue_url":"https://api.github.com/repos/fossasia/susi_android/issues/397","id":265944039,"user":{"login":"samsruti","id":6136117,"avatar_url":"https://avatars.githubusercontent.com/u/6136117?v=3","gravatar_id":"","url":"https://api.github.com/users/samsruti","html_url":"https://github.com/samsruti","followers_url":"https://api.github.com/users/samsruti/followers","following_url":"https://api.github.com/users/samsruti/following{/other_user}","gists_url":"https://api.github.com/users/samsruti/gists{/gist_id}","starred_url":"https://api.github.com/users/samsruti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samsruti/subscriptions","organizations_url":"https://api.github.com/users/samsruti/orgs","repos_url":"https://api.github.com/users/samsruti/repos","events_url":"https://api.github.com/users/samsruti/events{/privacy}","received_events_url":"https://api.github.com/users/samsruti/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T06:31:59Z","updated_at":"2016-12-09T06:31:59Z","body":"I would like to work on this issue "}}
{"actor":{"display_login":"samsruti"}}