{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/news/issues/817","labels_url":"https://api.github.com/repos/owncloud/news/issues/817/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/news/issues/817/comments","events_url":"https://api.github.com/repos/owncloud/news/issues/817/events","html_url":"https://github.com/owncloud/news/issues/817","id":89544858,"number":817,"title":"API requests should not require DELETE or PUT","user":{"login":"proth","id":806286,"avatar_url":"https://avatars.githubusercontent.com/u/806286?v=3","gravatar_id":"","url":"https://api.github.com/users/proth","html_url":"https://github.com/proth","followers_url":"https://api.github.com/users/proth/followers","following_url":"https://api.github.com/users/proth/following{/other_user}","gists_url":"https://api.github.com/users/proth/gists{/gist_id}","starred_url":"https://api.github.com/users/proth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proth/subscriptions","organizations_url":"https://api.github.com/users/proth/orgs","repos_url":"https://api.github.com/users/proth/repos","events_url":"https://api.github.com/users/proth/events{/privacy}","received_events_url":"https://api.github.com/users/proth/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T11:49:05Z","updated_at":"2015-06-19T12:06:30Z","closed_at":"2015-06-19T12:06:30Z","body":"In a standard apache installation DELETE and PUT are not among the allowed methods.\r\nThose are: OPTIONS, GET, HEAD, POST\r\n\r\nThis means right now I can write a news client that uses the API to fetch and display folders, feeds and items. It is not possible to mark items or entire feeds as read when using a standard apache setup.\r\n\r\nSuggestions:\r\n1) Beside PUT and DELETE also allow GET for API calls that now require PUT or DELETE if they are not among the allowed methods.\r\n2) Warn the administrator/user in the web interface that he won't be able to use some API features when PUT and DELETE are not among the allowed methods"},"comment":{"url":"https://api.github.com/repos/owncloud/news/issues/comments/113491620","html_url":"https://github.com/owncloud/news/issues/817#issuecomment-113491620","issue_url":"https://api.github.com/repos/owncloud/news/issues/817","id":113491620,"user":{"login":"Raydiation","id":195053,"avatar_url":"https://avatars.githubusercontent.com/u/195053?v=3","gravatar_id":"","url":"https://api.github.com/users/Raydiation","html_url":"https://github.com/Raydiation","followers_url":"https://api.github.com/users/Raydiation/followers","following_url":"https://api.github.com/users/Raydiation/following{/other_user}","gists_url":"https://api.github.com/users/Raydiation/gists{/gist_id}","starred_url":"https://api.github.com/users/Raydiation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raydiation/subscriptions","organizations_url":"https://api.github.com/users/Raydiation/orgs","repos_url":"https://api.github.com/users/Raydiation/repos","events_url":"https://api.github.com/users/Raydiation/events{/privacy}","received_events_url":"https://api.github.com/users/Raydiation/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T12:06:30Z","updated_at":"2015-06-19T12:06:30Z","body":"Apache is not an API client, its a web server. "}}