List entries by content type
Log in to add to favouritesPage last updated 04 December 2020
Lists entries by content type id or by passing an EntryListOptions object as an argument.
list(contentTypeIdOrOptions: string | EntryListOptions): Promise<PagedList<Entry>>
Returns
Example
client.entries.list({
contentTypeId: 'movie',
versionStatus: 'published',
language: 'fr-FR',
order: ['entryTitle'],
pageOptions: {
pageSize: 50
}
})
.then(result => {
console.log('API call result: ', result);
})
.catch(error => {
console.log('API call fetch error: ', error);
});