رفتن به محتوای اصلی

GET /exams/{exam_id}/questions

سؤال‌های آزمون را بدون پاسخ صحیح برمی‌گرداند.

curl "https://dailyquiz.ir/wp-json/daily-quiz/v1/exams/12/questions" \
  -H "Authorization: Bearer sess_9c1e..."
BASH
200 OK
{
  "success": true,
  "exam": { "title": "آزمون فصل ۳ ریاضی", "duration": 20, "total_questions": 2 },
  "questions": [
    {
      "id": 101,
      "text": "حاصل ۲x = ۸ کدام است؟",
      "type": "multi_choice",
      "options": ["۲", "۴", "۶", "۸"],
      "image_url": null
    }
  ]
}

اگر آزمون قبلاً ثبت شده باشد، پاسخ 409 است.

آخرین به‌روزرسانی: