{"action":"opened","issue":{"url":"https://api.github.com/repos/loklak/loklak_webclient/issues/382","labels_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/382/labels{/name}","comments_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/382/comments","events_url":"https://api.github.com/repos/loklak/loklak_webclient/issues/382/events","html_url":"https://github.com/loklak/loklak_webclient/issues/382","id":96726807,"number":382,"title":"Create a RESTful API for loklak apps.","user":{"login":"aneeshd16","id":5436027,"avatar_url":"https://avatars.githubusercontent.com/u/5436027?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshd16","html_url":"https://github.com/aneeshd16","followers_url":"https://api.github.com/users/aneeshd16/followers","following_url":"https://api.github.com/users/aneeshd16/following{/other_user}","gists_url":"https://api.github.com/users/aneeshd16/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshd16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshd16/subscriptions","organizations_url":"https://api.github.com/users/aneeshd16/orgs","repos_url":"https://api.github.com/users/aneeshd16/repos","events_url":"https://api.github.com/users/aneeshd16/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshd16/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/loklak/loklak_webclient/labels/Feature","name":"Feature","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"aneeshd16","id":5436027,"avatar_url":"https://avatars.githubusercontent.com/u/5436027?v=3","gravatar_id":"","url":"https://api.github.com/users/aneeshd16","html_url":"https://github.com/aneeshd16","followers_url":"https://api.github.com/users/aneeshd16/followers","following_url":"https://api.github.com/users/aneeshd16/following{/other_user}","gists_url":"https://api.github.com/users/aneeshd16/gists{/gist_id}","starred_url":"https://api.github.com/users/aneeshd16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aneeshd16/subscriptions","organizations_url":"https://api.github.com/users/aneeshd16/orgs","repos_url":"https://api.github.com/users/aneeshd16/repos","events_url":"https://api.github.com/users/aneeshd16/events{/privacy}","received_events_url":"https://api.github.com/users/aneeshd16/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/loklak/loklak_webclient/milestones/3","html_url":"https://github.com/loklak/loklak_webclient/milestones/Milestone%203","labels_url":"https://api.github.com/repos/loklak/loklak_webclient/milestones/3/labels","id":1127365,"number":3,"title":"Milestone 3","description":"","creator":{"login":"mariobehling","id":1583873,"avatar_url":"https://avatars.githubusercontent.com/u/1583873?v=3","gravatar_id":"","url":"https://api.github.com/users/mariobehling","html_url":"https://github.com/mariobehling","followers_url":"https://api.github.com/users/mariobehling/followers","following_url":"https://api.github.com/users/mariobehling/following{/other_user}","gists_url":"https://api.github.com/users/mariobehling/gists{/gist_id}","starred_url":"https://api.github.com/users/mariobehling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mariobehling/subscriptions","organizations_url":"https://api.github.com/users/mariobehling/orgs","repos_url":"https://api.github.com/users/mariobehling/repos","events_url":"https://api.github.com/users/mariobehling/events{/privacy}","received_events_url":"https://api.github.com/users/mariobehling/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":29,"state":"open","created_at":"2015-05-24T11:18:27Z","updated_at":"2015-07-23T04:40:20Z","due_on":"2015-07-24T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-07-23T04:40:20Z","updated_at":"2015-07-23T04:40:20Z","closed_at":null,"body":"This API will be a part of the oauth-proxy code.\r\n\r\nThe required routes are:\r\n\r\n1. GET /:user/:app/ (list)\r\n2. GET /:user/:app/:id (read one)\r\n3. POST /:user/:app/ (create)\r\n4. POST /:user/:app/:id (update)\r\n5. DELETE /:user/:app/:id (delete)\r\n\r\nOnce these routes are added, it will be easy to add authentication as middleware. Also, these routes can be used by any loklak app. Currently, only the \"wall\" app will use this,"}}