{"action":"created","issue":{"url":"https://api.github.com/repos/18F/open-data-maker/issues/169","labels_url":"https://api.github.com/repos/18F/open-data-maker/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/18F/open-data-maker/issues/169/comments","events_url":"https://api.github.com/repos/18F/open-data-maker/issues/169/events","html_url":"https://github.com/18F/open-data-maker/issues/169","id":103803322,"number":169,"title":"Support partial paths and/or wildcards in field request parameters","user":{"login":"shawnbot","id":113896,"avatar_url":"https://avatars.githubusercontent.com/u/113896?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbot","html_url":"https://github.com/shawnbot","followers_url":"https://api.github.com/users/shawnbot/followers","following_url":"https://api.github.com/users/shawnbot/following{/other_user}","gists_url":"https://api.github.com/users/shawnbot/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbot/subscriptions","organizations_url":"https://api.github.com/users/shawnbot/orgs","repos_url":"https://api.github.com/users/shawnbot/repos","events_url":"https://api.github.com/users/shawnbot/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-28T22:04:13Z","updated_at":"2015-08-29T20:21:42Z","closed_at":null,"body":"The `fields` query string parameter should support some variations that make it easier to get specific pieces of data without having to know the full \"path\" of each value. For instance:\r\n\r\n* If there are `capital.name` and `capital.population` fields (which produce a JSON object with two keys in the output), you should be able to request `fields=capital` and get an object back for each result:\r\n\r\n  ```json\r\n  {\r\n    \"capital\": {\r\n      \"name\": \"Sacramento\",\r\n      \"population\": 466488\r\n    }\r\n  }\r\n  ```\r\n\r\n* Alternatively, it might be useful to get a series of fields with `fields=capital.*`, which would produce an object like this:\r\n\r\n  ```json\r\n  {\r\n    \"capital.name\": \"Sacramento\",\r\n    \"capital.population\": 466488\r\n  }\r\n  ```"},"comment":{"url":"https://api.github.com/repos/18F/open-data-maker/issues/comments/136043937","html_url":"https://github.com/18F/open-data-maker/issues/169#issuecomment-136043937","issue_url":"https://api.github.com/repos/18F/open-data-maker/issues/169","id":136043937,"user":{"login":"ultrasaurus","id":41906,"avatar_url":"https://avatars.githubusercontent.com/u/41906?v=3","gravatar_id":"","url":"https://api.github.com/users/ultrasaurus","html_url":"https://github.com/ultrasaurus","followers_url":"https://api.github.com/users/ultrasaurus/followers","following_url":"https://api.github.com/users/ultrasaurus/following{/other_user}","gists_url":"https://api.github.com/users/ultrasaurus/gists{/gist_id}","starred_url":"https://api.github.com/users/ultrasaurus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ultrasaurus/subscriptions","organizations_url":"https://api.github.com/users/ultrasaurus/orgs","repos_url":"https://api.github.com/users/ultrasaurus/repos","events_url":"https://api.github.com/users/ultrasaurus/events{/privacy}","received_events_url":"https://api.github.com/users/ultrasaurus/received_events","type":"User","site_admin":false},"created_at":"2015-08-29T20:21:42Z","updated_at":"2015-08-29T20:21:42Z","body":"@slhaines to answer you question about fields, I realized we don't really have good docs, so I wrote up this issue which (I hope) answers your question and also reminds us to fix it for everyone at some point:  https://github.com/18F/open-data-maker/issues/171"}}