Questions Answers

Description: Shows questions and answers related to the search query from various sources.

API Response Structure:

{
  "questions": [
    {
      "question": {
        "text": "Question text?",
        "author": {
          "name": "Asker Name",
          "date": "2023-08-15"
        },
        "category": "Product Usage",
        "views": 1500
      },
      "answers": [
        {
          "text": "Answer text",
          "author": {
            "name": "Answerer Name",
            "credentials": "Expert in field",
            "verified": true
          },
          "date": "2023-08-15",
          "helpful": {
            "votes": 150,
            "percentage": "95%"
          },
          "accepted": true,
          "attachments": [
            {
              "type": "image",
              "url": "https://example.com/image.jpg"
            }
          ]
        }
      ],
      "relatedQuestions": [
        "Similar question 1",
        "Similar question 2"
      ]
    }
  ],
  "type": "questionsAnswers"
}

Fields:

  • questions (array): Q&A pairs

    • question (object): Question details

    • answers (array): Response details

    • relatedQuestions (array): Similar questions

  • type (string): Always "questionsAnswers"