Forum Discussion
cike
7 years agoChampion
Hi dhx-ds ,
can you share your API request (or at least an example of them)? Which message attributes do you use to identify messages as spam?
Best regards
Christian
Sign in to react to this post
- dhx-ds7 years agoContributor
SELECT+id,+board.id,+topic.id,+author.login,+subject,+body,+is_solution,+view_href,+post_time+FROM+messages+WHERE+id+%3d+'<MESSAGE_ID>'Our spam messages are moved to a moderation and then quarantined. I am able to see them in the browser using the message id, but can't get them via the API. Any thoughts?
Sign in to react to this post- cike7 years agoChampion
Query looks ok (I guess the '+' signs are from an encoded string^^).
What does your term "messages are quarantined" mean in detail? Are those messages moved to specific board?
If this is the case I propose to add the board.id as and additional constraint to improve your search results.
Did you already test your query in the API Browser in Studio?
Sign in to react to this post