I see how to query an Entry by the ID.
Is there a way to lookup by slug? That is what I really want to do.
Thanks!
If you're using the SDK, you might as well do
this.contentfulClient.getEntries({
content_type: 'YOUR_CONTENT_KEY',
'fields.slug[in]': 'THE_SLUG_YOU_ARE_LOOKING_FOR',
})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With