{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/addons-server/issues/8969","repository_url":"https://api.github.com/repos/mozilla/addons-server","labels_url":"https://api.github.com/repos/mozilla/addons-server/issues/8969/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons-server/issues/8969/comments","events_url":"https://api.github.com/repos/mozilla/addons-server/issues/8969/events","html_url":"https://github.com/mozilla/addons-server/issues/8969","id":343811871,"node_id":"MDU6SXNzdWUzNDM4MTE4NzE=","number":8969,"title":"Documentation for translated fields is inaccurate","user":{"login":"kumar303","id":55398,"node_id":"MDQ6VXNlcjU1Mzk4","avatar_url":"https://avatars1.githubusercontent.com/u/55398?v=4","gravatar_id":"","url":"https://api.github.com/users/kumar303","html_url":"https://github.com/kumar303","followers_url":"https://api.github.com/users/kumar303/followers","following_url":"https://api.github.com/users/kumar303/following{/other_user}","gists_url":"https://api.github.com/users/kumar303/gists{/gist_id}","starred_url":"https://api.github.com/users/kumar303/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumar303/subscriptions","organizations_url":"https://api.github.com/users/kumar303/orgs","repos_url":"https://api.github.com/users/kumar303/repos","events_url":"https://api.github.com/users/kumar303/events{/privacy}","received_events_url":"https://api.github.com/users/kumar303/received_events","type":"User","site_admin":false},"labels":[{"id":342063994,"node_id":"MDU6TGFiZWwzNDIwNjM5OTQ=","url":"https://api.github.com/repos/mozilla/addons-server/labels/component:%20documentation","name":"component: documentation","color":"107c05","default":false},{"id":295519282,"node_id":"MDU6TGFiZWwyOTU1MTkyODI=","url":"https://api.github.com/repos/mozilla/addons-server/labels/qa:%20not%20needed","name":"qa: not needed","color":"fef1af","default":false},{"id":78044976,"node_id":"MDU6TGFiZWw3ODA0NDk3Ng==","url":"https://api.github.com/repos/mozilla/addons-server/labels/state:%20invalid","name":"state: invalid","color":"eeeeee","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-23T22:01:44Z","updated_at":"2018-07-23T22:20:11Z","closed_at":"2018-07-23T22:20:11Z","author_association":"MEMBER","body":"The documentation about [translated fields](https://addons-server.readthedocs.io/en/latest/topics/api/overview.html#api-overview-translations) doesn't correctly explain the case when `?lang=` is passed for GET requests. In the example of `?lang=en-US` it says the field will be returned from the API like:\r\n\r\n```js\r\n{\r\n    \"name\": {\r\n        \"en-US\": \"Games\"\r\n    }\r\n}\r\n```\r\n\r\n...but in two APIs I just checked (add-on detail and collection detail), the response looks like:\r\n\r\n```js\r\n{\r\n    \"name\": \"Games\"\r\n}\r\n```"}}
{"actor":{"display_login":"diox"}}