{"action":"opened","issue":{"url":"https://api.github.com/repos/spree/spree/issues/9132","repository_url":"https://api.github.com/repos/spree/spree","labels_url":"https://api.github.com/repos/spree/spree/issues/9132/labels{/name}","comments_url":"https://api.github.com/repos/spree/spree/issues/9132/comments","events_url":"https://api.github.com/repos/spree/spree/issues/9132/events","html_url":"https://github.com/spree/spree/issues/9132","id":392934727,"node_id":"MDU6SXNzdWUzOTI5MzQ3Mjc=","number":9132,"title":"Add support for JSON API sparse fieldsets","user":{"login":"damianlegawiec","id":55154,"node_id":"MDQ6VXNlcjU1MTU0","avatar_url":"https://avatars2.githubusercontent.com/u/55154?v=4","gravatar_id":"","url":"https://api.github.com/users/damianlegawiec","html_url":"https://github.com/damianlegawiec","followers_url":"https://api.github.com/users/damianlegawiec/followers","following_url":"https://api.github.com/users/damianlegawiec/following{/other_user}","gists_url":"https://api.github.com/users/damianlegawiec/gists{/gist_id}","starred_url":"https://api.github.com/users/damianlegawiec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damianlegawiec/subscriptions","organizations_url":"https://api.github.com/users/damianlegawiec/orgs","repos_url":"https://api.github.com/users/damianlegawiec/repos","events_url":"https://api.github.com/users/damianlegawiec/events{/privacy}","received_events_url":"https://api.github.com/users/damianlegawiec/received_events","type":"User","site_admin":false},"labels":[{"id":398400090,"node_id":"MDU6TGFiZWwzOTg0MDAwOTA=","url":"https://api.github.com/repos/spree/spree/labels/API","name":"API","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T08:16:06Z","updated_at":"2018-12-20T08:16:06Z","closed_at":null,"author_association":"MEMBER","body":"Thanks to this API users can decide what data they can see in the response. \r\n\r\n## Context\r\nhttps://github.com/Netflix/fast_jsonapi#sparse-fieldsets\r\nhttps://jsonapi.org/format/#fetching-sparse-fieldsets\r\n\r\n## Expected Behavior\r\nWhen passed `fields` in params we should only return desired fields and skip other\r\n\r\n## Possible Fix\r\nSimilar to `resource_includes` https://github.com/spree/spree/blob/master/api/app/controllers/spree/api/v2/base_controller.rb#L70"}}
{"actor":{"display_login":"damianlegawiec"}}