{"action":"closed","issue":{"url":"https://api.github.com/repos/juju/python-libjuju/issues/54","repository_url":"https://api.github.com/repos/juju/python-libjuju","labels_url":"https://api.github.com/repos/juju/python-libjuju/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/juju/python-libjuju/issues/54/comments","events_url":"https://api.github.com/repos/juju/python-libjuju/issues/54/events","html_url":"https://github.com/juju/python-libjuju/issues/54","id":208457497,"number":54,"title":"controller.destroy-models should accept names of the models","user":{"login":"mitechie","id":75915,"avatar_url":"https://avatars1.githubusercontent.com/u/75915?v=4","gravatar_id":"","url":"https://api.github.com/users/mitechie","html_url":"https://github.com/mitechie","followers_url":"https://api.github.com/users/mitechie/followers","following_url":"https://api.github.com/users/mitechie/following{/other_user}","gists_url":"https://api.github.com/users/mitechie/gists{/gist_id}","starred_url":"https://api.github.com/users/mitechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitechie/subscriptions","organizations_url":"https://api.github.com/users/mitechie/orgs","repos_url":"https://api.github.com/users/mitechie/repos","events_url":"https://api.github.com/users/mitechie/events{/privacy}","received_events_url":"https://api.github.com/users/mitechie/received_events","type":"User","site_admin":false},"labels":[{"id":546486848,"url":"https://api.github.com/repos/juju/python-libjuju/labels/low","name":"low","color":"c5def5","default":false},{"id":546486485,"url":"https://api.github.com/repos/juju/python-libjuju/labels/small","name":"small","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-17T14:28:03Z","updated_at":"2017-10-20T15:55:46Z","closed_at":"2017-10-20T15:55:46Z","author_association":"OWNER","body":"I've created a script that adds a new model but then I went to clean it up and found the destroy call takes the uuid. I think it's worthwhile to allow the user to supply the name and leave it to the function call to deal with uuids as internal implementation details. To the user the model names is what they use/live off of via juju models calls and such. "}}
{"actor":{"display_login":"johnsca"}}