{"action":"created","issue":{"url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/18","repository_url":"https://api.github.com/repos/konfetti-app/konfetti-backend","labels_url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/18/comments","events_url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/18/events","html_url":"https://github.com/konfetti-app/konfetti-backend/issues/18","id":298251758,"number":18,"title":"Endpoint to request all Konfetti Ideas","user":{"login":"rootzoll","id":2472225,"avatar_url":"https://avatars2.githubusercontent.com/u/2472225?v=4","gravatar_id":"","url":"https://api.github.com/users/rootzoll","html_url":"https://github.com/rootzoll","followers_url":"https://api.github.com/users/rootzoll/followers","following_url":"https://api.github.com/users/rootzoll/following{/other_user}","gists_url":"https://api.github.com/users/rootzoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rootzoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootzoll/subscriptions","organizations_url":"https://api.github.com/users/rootzoll/orgs","repos_url":"https://api.github.com/users/rootzoll/repos","events_url":"https://api.github.com/users/rootzoll/events{/privacy}","received_events_url":"https://api.github.com/users/rootzoll/received_events","type":"User","site_admin":false},"labels":[{"id":834427409,"url":"https://api.github.com/repos/konfetti-app/konfetti-backend/labels/demorelease","name":"demorelease","color":"084ba3","default":false}],"state":"open","locked":false,"assignee":{"login":"piezzo","id":7838487,"avatar_url":"https://avatars2.githubusercontent.com/u/7838487?v=4","gravatar_id":"","url":"https://api.github.com/users/piezzo","html_url":"https://github.com/piezzo","followers_url":"https://api.github.com/users/piezzo/followers","following_url":"https://api.github.com/users/piezzo/following{/other_user}","gists_url":"https://api.github.com/users/piezzo/gists{/gist_id}","starred_url":"https://api.github.com/users/piezzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piezzo/subscriptions","organizations_url":"https://api.github.com/users/piezzo/orgs","repos_url":"https://api.github.com/users/piezzo/repos","events_url":"https://api.github.com/users/piezzo/events{/privacy}","received_events_url":"https://api.github.com/users/piezzo/received_events","type":"User","site_admin":false},"assignees":[{"login":"piezzo","id":7838487,"avatar_url":"https://avatars2.githubusercontent.com/u/7838487?v=4","gravatar_id":"","url":"https://api.github.com/users/piezzo","html_url":"https://github.com/piezzo","followers_url":"https://api.github.com/users/piezzo/followers","following_url":"https://api.github.com/users/piezzo/following{/other_user}","gists_url":"https://api.github.com/users/piezzo/gists{/gist_id}","starred_url":"https://api.github.com/users/piezzo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piezzo/subscriptions","organizations_url":"https://api.github.com/users/piezzo/orgs","repos_url":"https://api.github.com/users/piezzo/repos","events_url":"https://api.github.com/users/piezzo/events{/privacy}","received_events_url":"https://api.github.com/users/piezzo/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-02-19T12:03:28Z","updated_at":"2018-02-19T15:29:18Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"We need a way to get all Konfetti ideas from the server that belong to one neighborhood.\r\n\r\nThis needs to contain all public ideas that are up for voting and all ideas that belong to the user and tnat may be still in review or got rejected.\r\n\r\nOptional: Also \"old\" ideas was past events should be part of this - like for archive, when they are within a limit of a certain time (e.g. last month).\r\n\r\nThe sample/mock ideas data objects I work with on the client side look like this:\r\n\r\n```\r\n{\r\n            \"title\":\"Vogelhaus bauen\",\r\n            \"description\":\"Am Spielplatz am Beispielplatz wollen wir ein oder mehrere Vogelhäuser bauen. Wer ist dabei?\",\r\n            \"address\":\"Beipsielplatz 3\",\r\n            \"gps\":null,\r\n            \"date\":1521559800000,\r\n            \"wantsHelper\":true,\r\n            \"helpDescription\":\"Jeder der einen Hammer Schwingen will. Wer eine kleine Motorstichsäge hat - das wäre super.\",\r\n            \"wantsGuest\":false,\r\n            \"reviewStatus\":\"OK\",\r\n            \"konfettiTotal\": 11,\r\n            \"konfettiUser\": 0,\r\n            \"userIsHelping\": false,\r\n            \"userIsAttending\": false,\r\n            \"created\": { \r\n              \"byUser\" : {\r\n                \"nickname\" : \"Christian\",\r\n                \"avatar\" : {\r\n                  \"filename\" : \"avatar-416c2727ae4fce156081d24b31fb3ada.jpg\"\r\n                }\r\n              },\r\n              \"ts\" : 1516981457\r\n            }\r\n          }\r\n```\r\n... or like this ...\r\n```\r\n\r\n{\r\n              \"title\":\"Kinderfussball\",\r\n              \"description\":\"Kinder. Fussball. 90 Minuten.\",\r\n              \"address\":\"Beipsielplatz 3\",\r\n              \"gps\": { \"lat\": 52.519839, \"lon\": 13.408893 },\r\n              \"date\":1521561800000,\r\n              \"wantsHelper\":false,\r\n              \"helpDescription\":\"\",\r\n              \"wantsGuest\":true,\r\n              \"reviewStatus\":\"OK\",\r\n              \"konfettiTotal\": 8,\r\n              \"konfettiUser\": 0,\r\n              \"userIsHelping\": false,\r\n              \"userIsAttending\": false,\r\n              \"created\": { \r\n                \"byUser\" : {\r\n                  \"nickname\" : \"Christian\",\r\n                  \"avatar\" : {\r\n                    \"filename\" : \"avatar-416c2727ae4fce156081d24b31fb3ada.jpg\"\r\n                  }\r\n                },\r\n                \"ts\" : 1517081457\r\n              }\r\n            }\r\n```\r\n\r\nSome comments on the data fields:\r\n\r\n\"konfettiTotal\" --> The amount of total konfetti on this idea\r\n\"konfettiUser\" --> The amount of konfetti that the user already put on that idea ... if not possible the UI at least needs to know if the user alread voted once on this idea.\r\n\r\n\"reviewStatus\" --> possible values: \r\n'WAIT' : waiting for review\r\n'OK' : review OK\r\n'REJECTED' : review failed\r\n\r\n\"userIsHelping\" --> has user commited to be part of the helping team\r\n\"userIsAttending\" --> has user confirmed to visit the event\r\n\r\n\"created\" --> same way as on a chat\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/comments/366726170","html_url":"https://github.com/konfetti-app/konfetti-backend/issues/18#issuecomment-366726170","issue_url":"https://api.github.com/repos/konfetti-app/konfetti-backend/issues/18","id":366726170,"user":{"login":"rootzoll","id":2472225,"avatar_url":"https://avatars2.githubusercontent.com/u/2472225?v=4","gravatar_id":"","url":"https://api.github.com/users/rootzoll","html_url":"https://github.com/rootzoll","followers_url":"https://api.github.com/users/rootzoll/followers","following_url":"https://api.github.com/users/rootzoll/following{/other_user}","gists_url":"https://api.github.com/users/rootzoll/gists{/gist_id}","starred_url":"https://api.github.com/users/rootzoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rootzoll/subscriptions","organizations_url":"https://api.github.com/users/rootzoll/orgs","repos_url":"https://api.github.com/users/rootzoll/repos","events_url":"https://api.github.com/users/rootzoll/events{/privacy}","received_events_url":"https://api.github.com/users/rootzoll/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T15:29:18Z","updated_at":"2018-02-19T15:29:18Z","author_association":"CONTRIBUTOR","body":"Nachtrag. Was da noch fehlt, dass ja zu jeder Idee ein Orgachat gehört ... auf diesen müsste da auch noch eine Referenz rein --> orgaChatID:string\r\n"}}
{"actor":{"display_login":"rootzoll"}}