{"action":"created","issue":{"url":"https://api.github.com/repos/teamed/nerodesk/issues/14","labels_url":"https://api.github.com/repos/teamed/nerodesk/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/teamed/nerodesk/issues/14/comments","events_url":"https://api.github.com/repos/teamed/nerodesk/issues/14/events","html_url":"https://github.com/teamed/nerodesk/issues/14","id":58554747,"number":14,"title":"Let's create file REST resource","user":{"login":"ggajos","id":988790,"avatar_url":"https://avatars.githubusercontent.com/u/988790?v=3","gravatar_id":"","url":"https://api.github.com/users/ggajos","html_url":"https://github.com/ggajos","followers_url":"https://api.github.com/users/ggajos/followers","following_url":"https://api.github.com/users/ggajos/following{/other_user}","gists_url":"https://api.github.com/users/ggajos/gists{/gist_id}","starred_url":"https://api.github.com/users/ggajos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggajos/subscriptions","organizations_url":"https://api.github.com/users/ggajos/orgs","repos_url":"https://api.github.com/users/ggajos/repos","events_url":"https://api.github.com/users/ggajos/events{/privacy}","received_events_url":"https://api.github.com/users/ggajos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/teamed/nerodesk/labels/bug","name":"bug","color":"c0c0c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-23T08:02:34Z","updated_at":"2015-02-23T13:34:53Z","closed_at":null,"body":"User should be able to upload/download and delete file. Because frontend is not yet specified we can introduce REST interface that could be reused later on. \r\n\r\nWhen #12 will be introduced and #13 available let's create `file` REST resource:\r\n\r\n* PUT `/api/file?name=examplefilename.jpg` - uploads file and store it under specific name\r\n* GET `/api/file?name=examplefilename.jpg` - gets specific file or return 404 if res. not available\r\n* DELETE `/api/file?name=examplefilename.jpg` - deletes specific file or return 404 if res. not available\r\n\r\nWe should document this in readme file also.\r\n"},"comment":{"url":"https://api.github.com/repos/teamed/nerodesk/issues/comments/75541182","html_url":"https://github.com/teamed/nerodesk/issues/14#issuecomment-75541182","issue_url":"https://api.github.com/repos/teamed/nerodesk/issues/14","id":75541182,"user":{"login":"karato","id":6312765,"avatar_url":"https://avatars.githubusercontent.com/u/6312765?v=3","gravatar_id":"","url":"https://api.github.com/users/karato","html_url":"https://github.com/karato","followers_url":"https://api.github.com/users/karato/followers","following_url":"https://api.github.com/users/karato/following{/other_user}","gists_url":"https://api.github.com/users/karato/gists{/gist_id}","starred_url":"https://api.github.com/users/karato/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karato/subscriptions","organizations_url":"https://api.github.com/users/karato/orgs","repos_url":"https://api.github.com/users/karato/repos","events_url":"https://api.github.com/users/karato/events{/privacy}","received_events_url":"https://api.github.com/users/karato/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T13:34:53Z","updated_at":"2015-02-23T13:34:53Z","body":"> @karato it's a valid bug\n\n@ggajos thanks, I added the \"bug\" tag"}}