Using synonyms filter on entries endpoint

danbuddanbud Member
edited March 15 in API endpoints

Hello guys,

I'm trying to limit results from the entries endpoint by applying a filter.

When I fetch available filters for the entries endpoint using:
/api/v2/filters/entries

I can see the synonyms on the list.

Unfortunately, when I try use it as a query for entries endpoint, it doesn't affect the response - I'm still getting whole unfiltered model (with definitions, synonyms, lexical entries etc.).

How I can use those filters in entries endpoints, so I will receive only a data I need?

Thank you very much! :)

Tagged:

Comments

  • TaisFukushimaTaisFukushima Member, Administrator, Moderator admin

    Hello @danbud

    I've forwarded your question to my colleagues from the system team. I will update you as soon as I have an answer from them.

    Please, bear with us!

    Thanks

  • TaisFukushimaTaisFukushima Member, Administrator, Moderator admin

    Hello @danbud

    Sorry for the late response.

    Not all entries have synonyms. In case you would like to get only synonyms of an entry, we would recommend using the Thesaurus endpoint. But, please send us the exact request URL you are using. We can further investigate if it is a bug in the entries endpoint and let you know if the word you are requesting will have synonyms in this endpoint.

Sign In or Register to comment.