{"action":"closed","issue":{"url":"https://api.github.com/repos/Azure/azure-storage-python/issues/201","repository_url":"https://api.github.com/repos/Azure/azure-storage-python","labels_url":"https://api.github.com/repos/Azure/azure-storage-python/issues/201/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-storage-python/issues/201/comments","events_url":"https://api.github.com/repos/Azure/azure-storage-python/issues/201/events","html_url":"https://github.com/Azure/azure-storage-python/issues/201","id":170049466,"number":201,"title":"Output format of ACL hard to work with","user":{"login":"tjprescott","id":5723682,"avatar_url":"https://avatars.githubusercontent.com/u/5723682?v=3","gravatar_id":"","url":"https://api.github.com/users/tjprescott","html_url":"https://github.com/tjprescott","followers_url":"https://api.github.com/users/tjprescott/followers","following_url":"https://api.github.com/users/tjprescott/following{/other_user}","gists_url":"https://api.github.com/users/tjprescott/gists{/gist_id}","starred_url":"https://api.github.com/users/tjprescott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjprescott/subscriptions","organizations_url":"https://api.github.com/users/tjprescott/orgs","repos_url":"https://api.github.com/users/tjprescott/repos","events_url":"https://api.github.com/users/tjprescott/events{/privacy}","received_events_url":"https://api.github.com/users/tjprescott/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-08T23:29:33Z","updated_at":"2016-08-09T19:23:03Z","closed_at":"2016-08-09T19:23:03Z","body":"Currently, when retrieving the ACL for a share/container, the output format looks like:\r\n```JSON\r\n{\r\n  \"item1\": {\r\n    \"expiry\": \"...\",\r\n    \"start\": \"...\",\r\n    \"permission\": \"...\"\r\n  },\r\n  \"item2\": {\r\n    \"expiry\": \"...\",\r\n    \"start\": \"...\",\r\n    \"permission\": \"...\"\r\n  },\r\n}\r\n```\r\nThis makes it difficult to work with with external tools like jpterm etc. An alternative structure would be:\r\n```JSON\r\n[\r\n  {\r\n    \"name\": \"item1\",\r\n    \"expiry\": \"...\",\r\n    \"start\": \"...\",\r\n    \"permission\": \"...\"\r\n  },\r\n  {\r\n    \"name\": \"item2\",\r\n    \"expiry\": \"...\",\r\n    \"start\": \"...\",\r\n    \"permission\": \"...\"\r\n  }\r\n]\r\n```\r\nThis is consistent with how object collections are handled on other resources and works much better when trying to use with tools like jpterm. "}}
{"actor":{"display_login":"tjprescott"}}