{"action":"created","issue":{"url":"https://api.github.com/repos/clemsos/rhizi/issues/1","labels_url":"https://api.github.com/repos/clemsos/rhizi/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/clemsos/rhizi/issues/1/comments","events_url":"https://api.github.com/repos/clemsos/rhizi/issues/1/events","html_url":"https://github.com/clemsos/rhizi/pull/1","id":116587709,"number":1,"title":"Better web REST API with extended Flask integration ","user":{"login":"clemsos","id":743246,"avatar_url":"https://avatars.githubusercontent.com/u/743246?v=3","gravatar_id":"","url":"https://api.github.com/users/clemsos","html_url":"https://github.com/clemsos","followers_url":"https://api.github.com/users/clemsos/followers","following_url":"https://api.github.com/users/clemsos/following{/other_user}","gists_url":"https://api.github.com/users/clemsos/gists{/gist_id}","starred_url":"https://api.github.com/users/clemsos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemsos/subscriptions","organizations_url":"https://api.github.com/users/clemsos/orgs","repos_url":"https://api.github.com/users/clemsos/repos","events_url":"https://api.github.com/users/clemsos/events{/privacy}","received_events_url":"https://api.github.com/users/clemsos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-12T16:37:27Z","updated_at":"2015-11-13T12:24:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/clemsos/rhizi/pulls/1","html_url":"https://github.com/clemsos/rhizi/pull/1","diff_url":"https://github.com/clemsos/rhizi/pull/1.diff","patch_url":"https://github.com/clemsos/rhizi/pull/1.patch"},"body":"**// WORK IN PROGRESS CAN NOT BE MERGED NOW**\r\n\r\nThe main ideas are to 1) test & document the web API and 2) rely more heavily on Flask (vs having hand-made functions). \r\n\r\nThe rationale to rely on Flask is to improve support and avoid maintaining code that is non-critical to Rhizi features (like web server, request handlers, etc.). Flask is a trusted and well-documented framework - read [this](https://www.quora.com/What-is-the-largest-site-created-using-Flask),  easier to test and handle for newcomers than actual rhizi codebase.  \r\n \r\nSteps to achieve to complete this PR: \r\n* complete API testing using current requirements\r\n* separate logic for web server and rhizi app launcher  (```bin/rz-server``` > ```bin/rz-start```) \r\n* integrate logic for rest API functions and endpoint routing (```rhizi/rz_server``` & ```rhizi/rz_api_rest```)\r\n* replace functions from ```rz_req_handling.py``` by native Flask\r\n"},"comment":{"url":"https://api.github.com/repos/clemsos/rhizi/issues/comments/156418292","html_url":"https://github.com/clemsos/rhizi/pull/1#issuecomment-156418292","issue_url":"https://api.github.com/repos/clemsos/rhizi/issues/1","id":156418292,"user":{"login":"clemsos","id":743246,"avatar_url":"https://avatars.githubusercontent.com/u/743246?v=3","gravatar_id":"","url":"https://api.github.com/users/clemsos","html_url":"https://github.com/clemsos","followers_url":"https://api.github.com/users/clemsos/followers","following_url":"https://api.github.com/users/clemsos/following{/other_user}","gists_url":"https://api.github.com/users/clemsos/gists{/gist_id}","starred_url":"https://api.github.com/users/clemsos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clemsos/subscriptions","organizations_url":"https://api.github.com/users/clemsos/orgs","repos_url":"https://api.github.com/users/clemsos/repos","events_url":"https://api.github.com/users/clemsos/events{/privacy}","received_events_url":"https://api.github.com/users/clemsos/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T12:24:38Z","updated_at":"2015-11-13T12:24:38Z","body":"Let's downscope things a bit and focus on testing existing code :) \r\nsee #2 "}}