{"action":"closed","issue":{"url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/173","repository_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core","labels_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/173/comments","events_url":"https://api.github.com/repos/zalando-incubator/atlas-js-core/issues/173/events","html_url":"https://github.com/zalando-incubator/atlas-js-core/issues/173","id":358634810,"node_id":"MDU6SXNzdWUzNTg2MzQ4MTA=","number":173,"title":"Pass on some fields from the raw response of Catalog API /articles endpoint","user":{"login":"Etchs","id":4753613,"node_id":"MDQ6VXNlcjQ3NTM2MTM=","avatar_url":"https://avatars3.githubusercontent.com/u/4753613?v=4","gravatar_id":"","url":"https://api.github.com/users/Etchs","html_url":"https://github.com/Etchs","followers_url":"https://api.github.com/users/Etchs/followers","following_url":"https://api.github.com/users/Etchs/following{/other_user}","gists_url":"https://api.github.com/users/Etchs/gists{/gist_id}","starred_url":"https://api.github.com/users/Etchs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Etchs/subscriptions","organizations_url":"https://api.github.com/users/Etchs/orgs","repos_url":"https://api.github.com/users/Etchs/repos","events_url":"https://api.github.com/users/Etchs/events{/privacy}","received_events_url":"https://api.github.com/users/Etchs/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T13:56:04Z","updated_at":"2018-09-11T10:45:47Z","closed_at":"2018-09-11T10:45:47Z","author_association":"MEMBER","body":"We need to read & forward the values of \"enrichment_attributes\", \"target_groups\", and \"attribute.category\" in the raw response that we get from Catalog API.\r\n\r\n## Expected Behaviour\r\nResponse to `GET /articles/{configSku}` & `GET /articles?config_skus={configSkus}` should include these values (which are found in the raw response from Catalog API):\r\n- [ ] \"enrichment_attributes\"\r\n- [ ] \"target_groups\"\r\n- [ ] \"attribute.category\"\r\n\r\n## Current Behaviour\r\nThe aforementioned fields are ignored.\r\n\r\n## Possible Solution\r\nEdit the [Article Model](https://github.com/zalando-incubator/atlas-js-core/blob/master/src/models/catalog_api_models.js#L48) and [its submodels](https://github.com/zalando-incubator/atlas-js-core/blob/master/src/models/article_models.js) to define and include the aforementioned fields. \r\n\r\n## Context\r\nThis allows the SDK to provide more insights into the article details like for example knowing the gender that the article targets as well as an easier way to programatically refer to the `model_measures` category of the `attributes` field.\r\n"}}
{"actor":{"display_login":"Etchs"}}