Skip to main content

Get a single entry

Log in to add to favourites
JAVASCRIPT
1
2
3
ContensisClient.entries.get('<entry_id>').then(function (entry) { console.log(entry.title); });
JAVASCRIPT
1
2
3
4
5
6
7
8
9
10
11
12
// 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); });

Still need help?

New support request