{"action":"opened","issue":{"url":"https://api.github.com/repos/basho/riak_kv/issues/1171","labels_url":"https://api.github.com/repos/basho/riak_kv/issues/1171/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_kv/issues/1171/comments","events_url":"https://api.github.com/repos/basho/riak_kv/issues/1171/events","html_url":"https://github.com/basho/riak_kv/issues/1171","id":101732562,"number":1171,"title":"Return /props for inactive bucket types","user":{"login":"dmitrizagidulin","id":947005,"avatar_url":"https://avatars.githubusercontent.com/u/947005?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitrizagidulin","html_url":"https://github.com/dmitrizagidulin","followers_url":"https://api.github.com/users/dmitrizagidulin/followers","following_url":"https://api.github.com/users/dmitrizagidulin/following{/other_user}","gists_url":"https://api.github.com/users/dmitrizagidulin/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitrizagidulin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitrizagidulin/subscriptions","organizations_url":"https://api.github.com/users/dmitrizagidulin/orgs","repos_url":"https://api.github.com/users/dmitrizagidulin/repos","events_url":"https://api.github.com/users/dmitrizagidulin/events{/privacy}","received_events_url":"https://api.github.com/users/dmitrizagidulin/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/basho/riak_kv/labels/Bug","name":"Bug","color":"FF0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-18T19:35:33Z","updated_at":"2015-08-18T19:35:33Z","closed_at":null,"body":"Currently, you can only fetch the Bucket Type properties for inactive bucket types on the command line, via `riak-admin bucket-type status <inactive bucket type name>`.\r\nDoing an HTTP GET to `/types/<name>/props` only works for active bucket types, and returns a 404 Not Found for inactive ones.\r\n\r\nThis happens because the bucket type props [jsonify code](https://github.com/basho/riak_kv/blob/develop/src/riak_kv_wm_utils.erl#L299-L359) uses the same code for bucket props as for bucket type props. Except that buckets don't have the 'active' attribute.\r\n\r\nSo, need to add a function to jsonify that attribute."}}