API endpoint to get items with certain values in two relations

Hii

You can achieve by using object

const response = await strapi
      .query("image",restaurant)
      .find({ where: { city:<id>,foodType:<id> }, populate: true });