Get a single entry
Log in to add to favourites123
ContensisClient.entries.get('<entry_id>').then(function (entry) {
console.log(entry.title);
});
123456789101112
// Get only the title and overview fields of the French variation with a link depth of 2
ContensisClient.entries
.get({
id: '<entry_id>',
language: 'fr-FR',
linkDepth: 2,
fields: ['title', 'overview']
})
.then(function (entry) {
console.log(entry.title);
console.log(entry.overview);
});