How to fetch a single entry from Contentful and query by field value?
问题 I am trying to retrieve a single entry based on the name custom field of my entry. I have tried using the JS SDK with various options: client.getEntry("entryID") // .where("content_type", "Restaurant") // .where("fields.name[match]", "RestaurantName") // .all() .then(data => console.log('data', data)) .catch(err => console.log('err', err)) But based on the errors back, it's suggesting I can only use .getEntry and pass in the entry ID. I also looked at making an HTTP request with axios but