Closed
Description
Generated typings don't support pulling multiple locales for content types with the Enable localization of this field
field option.
For example:
/spaces/space/environments/master/entries?locale=*&content_type=test&access_token=access_token
will return the following json:
{
"sys": {
"type": "Array"
},
"total": 1,
"skip": 0,
"limit": 100,
"items": [
{
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "123"
}
},
"type": "Entry",
"id": "id",
"contentType": {
"sys": {
"type": "Link",
"linkType": "ContentType",
"id": "test"
}
},
"revision": 1,
"createdAt": "2016-09-13T20:29:10.193Z",
"updatedAt": "2019-05-09T18:25:51.873Z",
"environment": {
"sys": {
"id": "master",
"type": "Link",
"linkType": "Environment"
}
}
},
"fields": {
"id": {
"en-US": "1", // NOT SUPPORTED
"fr-FR": "2",
},
}
}
]
}