is there a way ? to ad filter by content type on this
on this example from npm
const entries = await scopedPlainClient.entry.getMany({
query: {
skip: 10,
limit: 100,
},
})
is there a way ? to ad filter by content type on this
on this example from npm
const entries = await scopedPlainClient.entry.getMany({
query: {
skip: 10,
limit: 100,
},
})
Hi @alfiechiong, for that you might want to have a look to our Github repository:
There you could ask in the ‘Issues’ which kind of filter you might think it’s useful, or if you are a developer, you could dive into the code and open a PR, that then will be evaluated by our Engineers.
Hi @alfiechiong, you can use now content_type as a filter in the query as below
const entries = await scopedPlainClient.entry.getMany({
query: {
skip: 10,
limit: 100,
content_type: "post"
},
})
And, you can refer this link for the same.
Query | Contentful