• Resolved tmseiler

    (@tmseiler)


    Hi

    Thanks you for your great plugin!

    I have a problem since i updated the plugin:

    In my search query i need to have access to the “embedded” field in the search rest api response. This works well in the standard language (in my case german “de”) but when i search for results in another language (french), the embedded field ist not available in the response.

    This is the query in german where i get the “_embedded” field in the repsonse:
    /wp-json/relevanssi/v1/search?keyword=xyz&_embed&per_page=15&page=1&lng=de

    This is the query in french, where the “_embedded” field is missing in the response:
    /wp-json/relevanssi/v1/search?keyword=xyz&_embed&per_page=15&page=1&lng=fr

    Is this a problem with your plugin or rather with WPML or relevannsi?

    Thanks for any help!

    • This topic was modified 11 months, 2 weeks ago by tmseiler.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tmseiler

    (@tmseiler)

    Ok i found out: instead of the parameter “lng” i have to use “lang”

    Plugin Author Sergiy Dzysyak

    (@dzysyak)

    Thank you for this info, as I was a little bit confused with initial issue report.

    Best regards and thank you for the feedback.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘_embedded field missing in response’ is closed to new replies.