{"action":"created","issue":{"url":"https://api.github.com/repos/fcturner/passwords/issues/202","repository_url":"https://api.github.com/repos/fcturner/passwords","labels_url":"https://api.github.com/repos/fcturner/passwords/issues/202/labels{/name}","comments_url":"https://api.github.com/repos/fcturner/passwords/issues/202/comments","events_url":"https://api.github.com/repos/fcturner/passwords/issues/202/events","html_url":"https://github.com/fcturner/passwords/issues/202","id":154910655,"number":202,"title":"Can't create category via REST","user":{"login":"marcelschmidt1337","id":10891885,"avatar_url":"https://avatars.githubusercontent.com/u/10891885?v=3","gravatar_id":"","url":"https://api.github.com/users/marcelschmidt1337","html_url":"https://github.com/marcelschmidt1337","followers_url":"https://api.github.com/users/marcelschmidt1337/followers","following_url":"https://api.github.com/users/marcelschmidt1337/following{/other_user}","gists_url":"https://api.github.com/users/marcelschmidt1337/gists{/gist_id}","starred_url":"https://api.github.com/users/marcelschmidt1337/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcelschmidt1337/subscriptions","organizations_url":"https://api.github.com/users/marcelschmidt1337/orgs","repos_url":"https://api.github.com/users/marcelschmidt1337/repos","events_url":"https://api.github.com/users/marcelschmidt1337/events{/privacy}","received_events_url":"https://api.github.com/users/marcelschmidt1337/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fcturner/passwords/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-05-15T14:12:30Z","updated_at":"2016-09-15T10:59:05Z","closed_at":"2016-09-15T10:59:05Z","body":"I can't create a new category via REST: I've tried your example from the wiki page and POST this Json to the API (https://[owncloud]/index.php/apps/passwords/api/0.1/categories):\r\n\r\n{\r\n    \"category_name\": \"My category\",\r\n    \"category_colour\": \"aa0000\"\r\n}\r\n\r\nI'm always getting a \"false\" as a response and the category isn't created."},"comment":{"url":"https://api.github.com/repos/fcturner/passwords/issues/comments/247297939","html_url":"https://github.com/fcturner/passwords/issues/202#issuecomment-247297939","issue_url":"https://api.github.com/repos/fcturner/passwords/issues/202","id":247297939,"user":{"login":"fcturner","id":7526559,"avatar_url":"https://avatars.githubusercontent.com/u/7526559?v=3","gravatar_id":"","url":"https://api.github.com/users/fcturner","html_url":"https://github.com/fcturner","followers_url":"https://api.github.com/users/fcturner/followers","following_url":"https://api.github.com/users/fcturner/following{/other_user}","gists_url":"https://api.github.com/users/fcturner/gists{/gist_id}","starred_url":"https://api.github.com/users/fcturner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fcturner/subscriptions","organizations_url":"https://api.github.com/users/fcturner/orgs","repos_url":"https://api.github.com/users/fcturner/repos","events_url":"https://api.github.com/users/fcturner/events{/privacy}","received_events_url":"https://api.github.com/users/fcturner/received_events","type":"User","site_admin":false},"created_at":"2016-09-15T10:59:05Z","updated_at":"2016-09-15T10:59:05Z","body":"Please download the latest master ([:package:zip](../archive/master.zip) or [:package:tarball](../archive/master.tar.gz)). It should be fixed now."}}
{"actor":{"display_login":"fcturner"}}