{"action":"opened","issue":{"url":"https://api.github.com/repos/ontohub/ontohub/issues/1235","labels_url":"https://api.github.com/repos/ontohub/ontohub/issues/1235/labels{/name}","comments_url":"https://api.github.com/repos/ontohub/ontohub/issues/1235/comments","events_url":"https://api.github.com/repos/ontohub/ontohub/issues/1235/events","html_url":"https://github.com/ontohub/ontohub/issues/1235","id":59401785,"number":1235,"title":"Implement JSON-structures for errors in model-resources/ontology-subsites","user":{"login":"0robustus1","id":697338,"avatar_url":"https://avatars.githubusercontent.com/u/697338?v=3","gravatar_id":"","url":"https://api.github.com/users/0robustus1","html_url":"https://github.com/0robustus1","followers_url":"https://api.github.com/users/0robustus1/followers","following_url":"https://api.github.com/users/0robustus1/following{/other_user}","gists_url":"https://api.github.com/users/0robustus1/gists{/gist_id}","starred_url":"https://api.github.com/users/0robustus1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0robustus1/subscriptions","organizations_url":"https://api.github.com/users/0robustus1/orgs","repos_url":"https://api.github.com/users/0robustus1/repos","events_url":"https://api.github.com/users/0robustus1/events{/privacy}","received_events_url":"https://api.github.com/users/0robustus1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"0robustus1","id":697338,"avatar_url":"https://avatars.githubusercontent.com/u/697338?v=3","gravatar_id":"","url":"https://api.github.com/users/0robustus1","html_url":"https://github.com/0robustus1","followers_url":"https://api.github.com/users/0robustus1/followers","following_url":"https://api.github.com/users/0robustus1/following{/other_user}","gists_url":"https://api.github.com/users/0robustus1/gists{/gist_id}","starred_url":"https://api.github.com/users/0robustus1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0robustus1/subscriptions","organizations_url":"https://api.github.com/users/0robustus1/orgs","repos_url":"https://api.github.com/users/0robustus1/repos","events_url":"https://api.github.com/users/0robustus1/events{/privacy}","received_events_url":"https://api.github.com/users/0robustus1/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/ontohub/ontohub/milestones/16","html_url":"https://github.com/ontohub/ontohub/milestones/API","labels_url":"https://api.github.com/repos/ontohub/ontohub/milestones/16/labels","id":613907,"number":16,"title":"API","description":"refactor ontohub such that communication with external tools as well as with other instances of onothub is done via APIs","creator":{"login":"tillmo","id":642775,"avatar_url":"https://avatars.githubusercontent.com/u/642775?v=3","gravatar_id":"","url":"https://api.github.com/users/tillmo","html_url":"https://github.com/tillmo","followers_url":"https://api.github.com/users/tillmo/followers","following_url":"https://api.github.com/users/tillmo/following{/other_user}","gists_url":"https://api.github.com/users/tillmo/gists{/gist_id}","starred_url":"https://api.github.com/users/tillmo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tillmo/subscriptions","organizations_url":"https://api.github.com/users/tillmo/orgs","repos_url":"https://api.github.com/users/tillmo/repos","events_url":"https://api.github.com/users/tillmo/events{/privacy}","received_events_url":"https://api.github.com/users/tillmo/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":8,"state":"open","created_at":"2014-03-29T11:48:43Z","updated_at":"2015-03-01T15:57:48Z","due_on":"2015-04-12T22:00:00Z","closed_at":null},"comments":0,"created_at":"2015-03-01T15:57:48Z","updated_at":"2015-03-01T15:57:48Z","closed_at":null,"body":"Implement JSON-structures for error status codes in model-resources/ontology-subsites:\r\n\r\nThe following errors should be currently supported:\r\n- [ ] 302 (Found), but try to use 303 (See other) wherever possible\r\n- [ ] 401 (Unauthorized)\r\n- [ ] 404 (Not Found)\r\n- [ ] 405 (Method not allowed), e.g. POST on `///children`\r\n- [ ] 400 (Bad Request)\r\n- [ ] *422 (Unprocessable Entity), possibly useful for invalid tactic-script in `///proof`.*\r\n- [ ] 500 (Internal Server Error)\r\n- [ ] 501 (Not Implemented) as there will be features which our current API implementation will not support, yet."}}