Question

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?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top