Closed ubaranzorlu closed 1 year ago
Hello @ubaranzorlu,
as the plugin support both non-Strapi + Strapi users the filtering should be done like below.
non-Strapi users:
/api/comments/api::page.page:1/flat?filters[authorId]=123456
/api/comments/api::page.page:1/flat?filters[authorEmail]=test@example.com
/api/comments/api::page.page:1/flat?filters[authorName]=Joe
Strapi users:
/api/comments/api::page.page:1/flat?filters[authorUser]=1
Thanks for your response, it worked. Adding this info to the Readme might be helpful for others.
Summary
I expect get comments endpoint to be able to filter author or author.id property according to Strapi Docs. However, it throws an error.
Steps to reproduce
Expected results
Return comments sent by the author specified (58).
Actual results
I have tried other filter queries as well with no luck.