How to get the node ids of answers for a question in Drupal Services (REST)? I have a Drupal setup that is currently having a question and answers module.

I am able to read the question and answers by accessing http://mysite.tld/rest_endpoint/node/{nodeid} . However when I access a question, I am not able to get the nodeIds of all the answers to that question.

So I am looking to get the Node Ids for all the answers for a specific question. 


What params/filters do I need to use in the Drupal Services GET call? I have services module.
Can I achieve this by doing a database query? I am not able to find a link between questions and answers in the DB too! 


Any suggestions?
I didn't know what are question and answers modules that you used. My assumption is your answer and your question has a content type and they linked together. So if my assumption is correct here is the way that you can use for solving your problems:


Create a views will list all the answers of specific question(your question nid).
using Views Services to get the views that you created before and use your question (question nid) for the views parameter.


In case my assumption is wrong. Your have to create custom resource by your own to get the list of answers. In this way you must create your SQL sentences too. The reference for creating custom resource here