{"action":"created","issue":{"url":"https://api.github.com/repos/iwko/notifball-api/issues/9","repository_url":"https://api.github.com/repos/iwko/notifball-api","labels_url":"https://api.github.com/repos/iwko/notifball-api/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/iwko/notifball-api/issues/9/comments","events_url":"https://api.github.com/repos/iwko/notifball-api/issues/9/events","html_url":"https://github.com/iwko/notifball-api/issues/9","id":295262898,"number":9,"title":"/fixtures endpoint should return more frontend development friendly response","user":{"login":"emosGambler","id":20873814,"avatar_url":"https://avatars3.githubusercontent.com/u/20873814?v=4","gravatar_id":"","url":"https://api.github.com/users/emosGambler","html_url":"https://github.com/emosGambler","followers_url":"https://api.github.com/users/emosGambler/followers","following_url":"https://api.github.com/users/emosGambler/following{/other_user}","gists_url":"https://api.github.com/users/emosGambler/gists{/gist_id}","starred_url":"https://api.github.com/users/emosGambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emosGambler/subscriptions","organizations_url":"https://api.github.com/users/emosGambler/orgs","repos_url":"https://api.github.com/users/emosGambler/repos","events_url":"https://api.github.com/users/emosGambler/events{/privacy}","received_events_url":"https://api.github.com/users/emosGambler/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"iwko","id":10291060,"avatar_url":"https://avatars2.githubusercontent.com/u/10291060?v=4","gravatar_id":"","url":"https://api.github.com/users/iwko","html_url":"https://github.com/iwko","followers_url":"https://api.github.com/users/iwko/followers","following_url":"https://api.github.com/users/iwko/following{/other_user}","gists_url":"https://api.github.com/users/iwko/gists{/gist_id}","starred_url":"https://api.github.com/users/iwko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwko/subscriptions","organizations_url":"https://api.github.com/users/iwko/orgs","repos_url":"https://api.github.com/users/iwko/repos","events_url":"https://api.github.com/users/iwko/events{/privacy}","received_events_url":"https://api.github.com/users/iwko/received_events","type":"User","site_admin":false},"assignees":[{"login":"iwko","id":10291060,"avatar_url":"https://avatars2.githubusercontent.com/u/10291060?v=4","gravatar_id":"","url":"https://api.github.com/users/iwko","html_url":"https://github.com/iwko","followers_url":"https://api.github.com/users/iwko/followers","following_url":"https://api.github.com/users/iwko/following{/other_user}","gists_url":"https://api.github.com/users/iwko/gists{/gist_id}","starred_url":"https://api.github.com/users/iwko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwko/subscriptions","organizations_url":"https://api.github.com/users/iwko/orgs","repos_url":"https://api.github.com/users/iwko/repos","events_url":"https://api.github.com/users/iwko/events{/privacy}","received_events_url":"https://api.github.com/users/iwko/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-02-07T19:27:50Z","updated_at":"2018-02-10T13:07:46Z","closed_at":null,"author_association":"NONE","body":"So currently example response looks like this:\r\n```\r\n{\r\n        \"fixture_id\": \"43003\",\r\n        \"date\": \"2018-05-12T13:30:00.000Z\",\r\n        \"matchday\": \"34\",\r\n        \"competition_id\": \"452\",\r\n        \"home_team_id\": \"19671\",\r\n        \"away_team_id\": \"19678\",\r\n        \"status\": \"SCHEDULED\",\r\n        \"topic_arn\": \"arn:aws:sns:us-east-1:231466182417:WOB-EFFZEH\",\r\n        \"subscription_arn\": null\r\n    }\r\n```\r\n\r\nBut if we want to have all the important logic to be on backend, we need /fixtures to respond with something like this:\r\n\r\n```\r\n{\r\n        \"fixture_id\": \"1\",\r\n        \"start_date\": \"2018-05-12T13:30:00.000Z\",\r\n        \"league\": \"Premier League\",\r\n        \"home_team_name\": \"Barcelona\",\r\n        \"away_team_name\": \"Espanyol\",\r\n        \"cards\": [\r\n                {\r\n                        \"team_name\": \"Barcelona\",\r\n                         \"card_type\": \"yellow\",\r\n                         \"player_name\": \"Some Guy\",\r\n                          \"time\": \"2018-05-12T13:34:44.000Z\"\r\n                }\r\n        ],\r\n        \"status\": \"started\",\r\n        \"goals\": [\r\n                {\r\n                         \"time\": \"2018-05-12T14:00:10.000Z\"\r\n                         \"team_name\": \"Barcelona\",\r\n                         \"player_name\": \"Some Guy\"\r\n                },\r\n                {\r\n                         \"time\": \"2018-05-12T14:01:10.000Z\"\r\n                         \"team_name\": \"Espanyol\",\r\n                         \"player_name\": \"Some Guy2\"\r\n                }\r\n        ],\r\n        \"subscribed\": true\r\n    }\r\n```"},"comment":{"url":"https://api.github.com/repos/iwko/notifball-api/issues/comments/364651441","html_url":"https://github.com/iwko/notifball-api/issues/9#issuecomment-364651441","issue_url":"https://api.github.com/repos/iwko/notifball-api/issues/9","id":364651441,"user":{"login":"emosGambler","id":20873814,"avatar_url":"https://avatars3.githubusercontent.com/u/20873814?v=4","gravatar_id":"","url":"https://api.github.com/users/emosGambler","html_url":"https://github.com/emosGambler","followers_url":"https://api.github.com/users/emosGambler/followers","following_url":"https://api.github.com/users/emosGambler/following{/other_user}","gists_url":"https://api.github.com/users/emosGambler/gists{/gist_id}","starred_url":"https://api.github.com/users/emosGambler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emosGambler/subscriptions","organizations_url":"https://api.github.com/users/emosGambler/orgs","repos_url":"https://api.github.com/users/emosGambler/repos","events_url":"https://api.github.com/users/emosGambler/events{/privacy}","received_events_url":"https://api.github.com/users/emosGambler/received_events","type":"User","site_admin":false},"created_at":"2018-02-10T13:07:46Z","updated_at":"2018-02-10T13:07:46Z","author_association":"NONE","body":"Fine for me!"}}
{"actor":{"display_login":"emosGambler"}}