Localisation
Set localisation for query results
Path Parameters
Name
Type
Description
// Response with a specific language key or the default language
{
"fields": {
"title": "Roses are red"
},
"meta": {
"id": "314159265358979323",
"contentType": "poem",
"repository": "314159265358979323",
"revision": 1,
"tags": [],
"createdAt": "2018-01-01T00:00:00.000Z",
"updatedAt": "2018-01-01T00:00:00.000Z"
}
}
// Response with locale="all"
{
"fields": {
"title": {
"en_US": "Roses are red",
"de_DE": "Rosen sind rot"
}
},
"meta": {
"id": "314159265358979323",
"contentType": "poem",
"repository": "314159265358979323",
"revision": 1,
"tags": [],
"createdAt": "2018-01-01T00:00:00.000Z",
"updatedAt": "2018-01-01T00:00:00.000Z"
}
}Examples
CollectionsLast updated