# Student Courses

## Student's Todays Learning Status

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/today_learning_status
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/today_learning_status \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
'{
    "status": 200,
    "message": "Today's learning status retrieved successfully",
    "data": {
        "complete": [
            {
                "user_id": "512",
                "first_name": "Sneha",
                "last_name": "More",
                "email": "student@gmail.com",
                "mobile": "9123456780",
                "profile_img": {
                    "media_id": "277",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/277/1779270752_png-transparent-mythical-phoenix-watercolor-resplendent-flaming-phoenix-bird-thumbnail.png"
                }
            }
        ],
        "incomplete": [
            {
                "user_id": "514",
                "first_name": "test205",
                "last_name": "test205",
                "email": "kamlesh@gmail.com",
                "mobile": "9890041673",
                "profile_img": {
                    "media_id": "288",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/288/178117723220240708050836.jpg"
                }
            },
            {
                "user_id": "518",
                "first_name": "vishal",
                "last_name": "shete",
                "email": "vishal@gmail.com",
                "mobile": "7738395822",
                "profile_img": {
                    "media_id": "254",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/254/1775295164_pexels-jplenio-1435075.jpg"
                }
            }, 
            {
                "user_id": "522",
                "first_name": "Mandar",
                "last_name": "Kadam",
                "email": "mandar@gmail.com",
                "mobile": "1234567890",
                "profile_img": {
                    "media_id": "287",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/287/17810538821000223896.jpg"
                }
            },
            {
                "user_id": "530",
                "first_name": "tushar",
                "last_name": "tushar",
                "email": "tushar@gmail.com",
                "mobile": "9890041673",
                "profile_img": {
                    "media_id": "296",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/296/1781863286banner9.png"
                }
            }, 
            {
                "user_id": "571",
                "first_name": "pratik",
                "last_name": "gelot",
                "email": "pratik@gmail.com",
                "mobile": "1111111111",
                "profile_img": {
                    "media_id": "301",
                    "media_src": "https://dev-api.vedaay.mulika.in/media/src/301/1782188838mi92img0979.jpeg"
                }
            }
        ]
    }
}'
```

## Get student 

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student
</span> 


```shell
curl -X GET https://vedaay-api.mulika.in/student \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Student details retrieved successfully",
    "data": {
        "user_id": "138",
        "user_name": "rahcana",
        "email": "rachana34@gmail.com",
        "mobile": "hgcjhfdhjdjhdjhd",
        "password": "$2y$12$LvSACcpzTfpQ8934UQg4uOI.RAcp0zVSPNp0.Ouv4aa9dmLAi.G5O",
        "role_id": "3",
        "parent_id": "151",
        "profile_img": ""
    }
}
```


## Get courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Student courses retrieved successfully.",
    "data": [
        {
            "course_id": "278",
            "course_title": "Vedaay Champs new",
            "course_description": "Compete, Learn, Conquer.",
            "course_status": "inactive",
            "course_icon": null,
            "course_img": null,
            "course_gallary": [],
            "created_by": "107"
        },
        {
            "course_id": "272",
            "course_title": "Vedpad Basics",
            "course_description": "An introductory course to Vedpad, covering fundamentals and key concepts.",
            "course_status": "active",
            "course_icon": null,
            "course_img": {
                "media_id": "100",
                "media_src": "https://dev-api.vedaay.mulika.in/media/src/201/1774351338_vedaay_logo.png",
                "media_title": null,
                "media_alt": null,
                "media_type": "image/png"
            },
            "course_gallary": [],
            "created_by": "366"
        }
    ]
}
```

## Get single courses

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/252 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Student course retrieved successfully.",
    "code": 200,
    "data": {
        "course_id": "272",
        "course_title": "Vedpad Basics",
        "course_description": "An introductory course to Vedpad, covering fundamentals and key concepts.",
        "course_status": "active",
        "course_icon": null,
        "course_img": {
            "media_id": "100",
            "media_src": "https://dev-api.vedaay.mulika.in/media/src/201/1774351338_vedaay_logo.png",
            "media_title": null,
            "media_alt": null,
            "media_type": "image/png"
        },
        "course_gallary": [],
        "created_by": "366"
    }
}
```
## Get levels

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}/levels
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/272/levels \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Student levels retrieved successfully.",
    "code": 200,
    "data": [
        {
            "level_id": "80",
            "level_name": "Beginner",
            "level_description": "Introduction to Vedpad concepts and basics.",
            "status": "inprogress"
        },
        {
            "level_id": "81",
            "level_name": "Elementary",
            "level_description": "Slightly advanced concepts for building foundations.",
            "status": "incomplete"
        }
    ]
}
```
## Get single levels

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}/levels/{id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/272/levels/80 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Student level retrieved successfully.",
    "code": 200,
    "data": {
        "level_id": "80",
        "level_name": "Beginner",
        "level_description": "Introduction to Vedpad concepts and basics."
    }
}
```
## Get lessons
<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}/levels/{id}/lessons
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/272/levels/80/lessons \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Lessons retrieved successfully.",
    "code": 200,
    "data": [
        {
            "topic_id": "317",
            "topic_name": "topic 1",
            "lessons": [
                {
                    "lesson_id": "345",
                    "lesson_title": "lesson 1",
                    "lesson_content": "{\"time\":1772770434276,\"blocks\":[{\"id\":\"x1y2z3\",\"type\":\"paragraph\",\"data\":{\"text\":\"1. Adding Monomials with the Same Variable\"}},{\"id\":\"p4q5r6\",\"type\":\"paragraph\",\"data\":{\"text\":\"What is Lorem Ipsum?\\n\\nLorem Ipsum is simply dummy text used in the printing and typesetting industry. It has been the industry's standard dummy text since the 1500s, when an unknown printer took a galley of type and scrambled it to create a type specimen book. It has survived not only five centuries but also the transition into electronic typesetting, remaining essentially unchanged. It became popular in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software such as Aldus PageMaker.\\n\\nWhy do we use it?\\n\\nIt is a well-established fact that a reader will be distracted by readable content when looking at a page layout. The purpose of using Lorem Ipsum is that it has a natural distribution of letters, unlike 'Content here, content here', making it look like readable English. Many desktop publishing tools and web editors now use Lorem Ipsum as their default placeholder text.\\n\\nWhere does it come from?\\n\\nContrary to popular belief, Lorem Ipsum is not random text. It originates from classical Latin literature dating back to 45 BC. The source is \\\"de Finibus Bonorum et Malorum\\\" (The Extremes of Good and Evil) by Cicero. The first line, \\\"Lorem ipsum dolor sit amet...\\\", comes from section 1.10.32.\\n\\nWhere can I get some?\\n\\nThere are many variations of Lorem Ipsum passages available, but most have been altered with humor or random words that may not look believable. If you are going to use Lorem Ipsum, ensure there is nothing embarrassing hidden in the text. Most generators repeat predefined chunks, but modern tools generate more natural-looking text without repetition.\"}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "video",
                    "lesson_media_source": "youtube",
                    "lesson_media_source_value": "https://youtu.be/BGTx91t8q50?si=foUOjpFFVMy1ry0l",
                    "question_by": "topic",
                    "ex_question": "[{\"type\": \"abacus_flashcard\", \"difficulty\": \"easy\", \"no_of_questions\": 10}, {\"type\": \"text\", \"difficulty\": \"easy\", \"no_of_questions\": 10}, {\"type\": \"image\", \"difficulty\": \"easy\", \"no_of_questions\": 5}, {\"type\": \"abacus_visualisation_number\", \"difficulty\": \"hard\", \"no_of_questions\": 2}, {\"type\": \"audio\", \"difficulty\": \"hard\", \"no_of_questions\": 1}]",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                }
            ]
        },
        {
            "topic_id": "318",
            "topic_name": "topic 2",
            "lessons": [
                {
                    "lesson_id": "347",
                    "lesson_title": "lesson 2",
                    "lesson_content": "{\"time\":1773996645422,\"blocks\":[{\"id\":\"N7w_aRRBg5\",\"type\":\"paragraph\",\"data\":{\"text\":\"lesson 2&nbsp;lesson 2&nbsp;lesson 2lesson 2lesson 2\"}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "text",
                    "lesson_media_source": "",
                    "lesson_media_source_value": "",
                    "question_by": "topic",
                    "ex_question": "null",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                },
                {
                    "lesson_id": "346",
                    "lesson_title": "lesson 1",
                    "lesson_content": "{\"time\":1774077984647,\"blocks\":[{\"id\":\"OPKwqoOwnV\",\"type\":\"paragraph\",\"data\":{\"text\":\"tes testsetetset\"}},{\"id\":\"IHp0BVPNv1\",\"type\":\"image\",\"data\":{\"caption\":\"Uploading...\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"blob:https://dev-app.vedaay.mulika.in/34655e31-e2d2-4235-bc3d-85ace9661ca8\"}}},{\"id\":\"GBQ4IPfaj5\",\"type\":\"image\",\"data\":{\"caption\":\"Uploading...\",\"withBorder\":false,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"blob:http://localhost:3039/46ba585e-ac38-46a3-80dc-a025365b94a6\"}}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "audio",
                    "lesson_media_source": "vimeo",
                    "lesson_media_source_value": "",
                    "question_by": "topic",
                    "ex_question": "null",
                    "lesson_order_no": "2",
                    "learning_status": "incomplete"
                }
            ]
        },
        {
            "topic_id": "319",
            "topic_name": "topic 3",
            "lessons": [
                {
                    "lesson_id": "348",
                    "lesson_title": "lesson 1",
                    "lesson_content": "{\"time\":1773997860905,\"blocks\":[{\"id\":\"TNdKpgOS9s\",\"type\":\"paragraph\",\"data\":{\"text\":\"lesson&nbsp;lesson&nbsp;lesson&nbsp;lesson&nbsp;lesson&nbsp;lesson \"}},{\"id\":\"8fYrAyuteX\",\"type\":\"paragraph\",\"data\":{\"text\":\"lesson lesson lesson lesson lesson lesson \"}},{\"id\":\"GglzHxOHm5\",\"type\":\"header\",\"data\":{\"text\":\"lesson lesson lesson lesson lesson lesson \",\"level\":2}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "text",
                    "lesson_media_source": "",
                    "lesson_media_source_value": "https://youtu.be/BGTx91t8q50?si=foUOjpFFVMy1ry0l",
                    "question_by": "topic",
                    "ex_question": "null",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                }
            ]
        }
    ]
}
```
## Get single lessons

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}/levels/{id}/lessons/{id}
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/272/levels/80/lessons/312 \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Student lesson retrieved successfully.",
    "code": 200,
    "data": {
        "lesson_id": "312",
        "lesson_title": "1.1 Speed tricks for polynomial",
        "lesson_content": "{\"time\":1772699239995,\"blocks\":[{\"id\":\"-McDaNyFrn\",\"type\":\"paragraph\",\"data\":{\"text\":\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum\"}}],\"version\":\"2.31.3\"}",
        "lesson_type": "video",
        "lesson_media_source": "youtube",
        "lesson_media_source_value": "https://youtu.be/BGTx91t8q50?si=foUOjpFFVMy1ry0l",
        "question_by": "topic",
        "ex_question": "[{\"type\": \"mcq\", \"difficulty\": \"easy\", \"no_of_questions\": 10}]",
        "topic_id": "293",
        "topic_name": "Vedpad Introduction",
        "learning_status": "incomplete"
    }
}
```
## Get todays learning

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/courses/{id}/todays-learning
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/courses/272/todays-learning \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Todays learning incompleted lessons retrieved.",
    "data": [
        {
            "topic_id": "293",
            "topic_name": "Vedpad Introduction",
            "lessons": [
                {
                    "lesson_id": "312",
                    "lesson_title": "1.1 Speed tricks for polynomial",
                    "lesson_content": "{\"time\":1772699239995,\"blocks\":[{\"id\":\"-McDaNyFrn\",\"type\":\"paragraph\",\"data\":{\"text\":\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum\"}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "video",
                    "lesson_media_source": "youtube",
                    "lesson_media_source_value": "https://youtu.be/BGTx91t8q50?si=foUOjpFFVMy1ry0l",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                }
            ]
        }
    ]
}
```

## Get courses todays lessons

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> student/todays-lessons
</span> 

```shell
curl -X GET https://vedaay-api.mulika.in/student/todays-lessons \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "courses Lessons retrieved successfully.",
    "code": 200,
    "data": [
        {
            "course_id": "278",
            "course_name": "Vedaay Champs new",
            "level_id": "87",
            "level_name": "tejas",
            "lessons": [
                {
                    "lesson_id": "330",
                    "lesson_title": "2.2 Addition of Monomials",
                    "lesson_content": "{\"time\":1772770434276,\"blocks\":[{\"id\":\"x1y2z3\",\"type\":\"paragraph\",\"data\":{\"text\":\"1. Adding Monomials with the Same Variable\"}},{\"id\":\"p4q5r6\",\"type\":\"paragraph\",\"data\":{\"text\":\"Example: 3x + 5x = 8x\"}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "video",
                    "lesson_media_source": "youtube",
                    "lesson_media_source_value": "youtu.be/AbCdEfGhIjk",
                    "question_by": "topic",
                    "ex_question": "[{\"type\": \"text\", \"difficulty\": \"easy\", \"no_of_questions\": 10}]",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                }
            ]
        },
        {
            "course_id": "272",
            "course_name": "Vedpad Basics",
            "level_id": "80",
            "level_name": "Beginner",
            "lessons": [
                {
                    "lesson_id": "312",
                    "lesson_title": "1.1 Speed tricks for polynomial",
                    "lesson_content": "{\"time\":1772699239995,\"blocks\":[{\"id\":\"-McDaNyFrn\",\"type\":\"paragraph\",\"data\":{\"text\":\"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum\"}}],\"version\":\"2.31.3\"}",
                    "lesson_type": "video",
                    "lesson_media_source": "youtube",
                    "lesson_media_source_value": "https://youtu.be/BGTx91t8q50?si=foUOjpFFVMy1ry0l",
                    "question_by": "topic",
                    "ex_question": "[{\"type\": \"mcq\", \"difficulty\": \"easy\", \"no_of_questions\": 10}]",
                    "lesson_order_no": "1",
                    "learning_status": "incomplete"
                }
            ]
        }
    ]
}
```

#  Student Lessons Quiz

## Get student lessons quiz

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/lessons/{id}/quiz
</span> 


```shell
curl -X GET https://vedaay-api.mulika.in/student/lessons/193/quiz \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
{
    "status": "success",
    "message": "Student lesson quiz retrieved successfully.",
    "code": 200,
    "student_id": "343",
    "lesson_id": "345",
    "total_questions": 7,
    "Check_status": true,
    "data": [
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "833",
                    "question_text": "flash card",
                    "sub_question": "1,2,3,4",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "question_marks": "2000",
                    "question_difficulty": "easy",
                    "solving_time": "10",
                    "options": [
                        {
                            "left": "10",
                            "right": "10"
                        },
                        {
                            "left": "20",
                            "right": "20"
                        }
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"10\"}"
                        ]
                    ]
                },
                {
                    "question_id": "829",
                    "question_text": "test flash",
                    "sub_question": "1,2,3,4",
                    "answer_type": "mcq",
                    "question_type": "abacus_flashcard",
                    "question_marks": "1000",
                    "question_difficulty": "easy",
                    "solving_time": "20",
                    "options": [
                        "10",
                        "20",
                        "30",
                        "40"
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"20\"}"
                        ]
                    ]
                }
            ]
        },
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "843",
                    "question_text": "what is color image",
                    "sub_question": "what is color image",
                    "answer_type": "mcq_image",
                    "question_type": "text",
                    "question_marks": "2000",
                    "question_difficulty": "easy",
                    "solving_time": "10",
                    "options": [
                        {
                            "media_id": "217",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/217/1774872447_bg.jpeg",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1774872447_bg.jpeg"
                        },
                        {
                            "media_id": "100",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/201/1774351338_vedaay_logo.png",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1774351338_vedaay_logo.png"
                        },
                        {
                            "media_id": "225",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/225/1775050957_suidhaga_logo.png",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1775050957_suidhaga_logo.png"
                        },
                        {
                            "media_id": "216",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/216/1774872278_Sign%20in.svg",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1774872278_Sign in.svg"
                        }
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"\"}"
                        ]
                    ]
                },
                {
                    "question_id": "824",
                    "question_text": "what is cat color",
                    "sub_question": "what is cat color",
                    "answer_type": "mcq",
                    "question_type": "text",
                    "question_marks": "1000",
                    "question_difficulty": "easy",
                    "solving_time": "20",
                    "options": [
                        "black",
                        "red",
                        "green ",
                        "orange"
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"\"}"
                        ]
                    ]
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "832",
                    "question_text": "images",
                    "sub_question": [
                        {
                            "media_id": "206",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/200/1774350452_vedaaybanner2.png",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1774350452_vedaaybanner2.png"
                        }
                    ],
                    "answer_type": "mcq_image",
                    "question_type": "image",
                    "question_marks": "2000",
                    "question_difficulty": "easy",
                    "solving_time": "10",
                    "options": [
                        {
                            "media_id": "264",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/264/1776772236_bg-image1.png",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1776772236_bg-image1.png"
                        }
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"\"}"
                        ]
                    ]
                },
                {
                    "question_id": "842",
                    "question_text": "new image ",
                    "sub_question": [
                        {
                            "media_id": "217",
                            "media_src": "https://dev-api.vedaay.mulika.in/media/src/217/1774872447_bg.jpeg",
                            "media_filepath": "/home/mulika_vedaay/www/dev-api.vedaay.mulika.in/public_html/writable/uploads/media/1774872447_bg.jpeg"
                        }
                    ],
                    "answer_type": "mcq",
                    "question_type": "image",
                    "question_marks": "2000",
                    "question_difficulty": "easy",
                    "solving_time": "10",
                    "options": [
                        "100",
                        "206",
                        "217",
                        "225"
                    ],
                    "meta": [
                        [
                            "{\"scroll_time\":\"\"}"
                        ]
                    ]
                }
            ]
        },
        {
            "type": "abacus_visualisation_number",
            "questions": [
                {
                    "question_id": "834",
                    "question_text": "numbers ",
                    "sub_question": "1,2,3,4",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_visualisation_number",
                    "question_marks": "5000",
                    "question_difficulty": "hard",
                    "solving_time": "20",
                    "options": [],
                    "meta": [
                        [
                            "{\"scroll_time\":\"10\"}"
                        ]
                    ]
                }
            ]
        }
    ]
}
```
## Create Lessons quiz result

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /student/lessons/{id}/quiz-result
</span>

```shell
curl -X POST https://vedaay-api.mulika.in/student/lessons/345/quiz-result \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "lesson_completed_status": "completed",
  "start_time": "Jan 25 10:00:00",
  "end_time": "Jan 26 20:06:59",
  "result": [
    {
      "question_id": "829",
      "question_type": "abacus_flashcard",
      "answer": "10",
      "solved_time": 11
    },
    {
      "question_id": "833",
      "question_type": "abacus_flashcard",
        "answer": [
        { "left": "10", "right": "10" }
      ],
      "solved_time": 1
    },
    {
      "question_id": "824",
      "question_type": "text",
      "answer": "black",
      "solved_time": 12
    },
    {
      "question_id": "843",
      "question_type": "text",
      "answer": "1",
      "solved_time": 14
    },
    {
      "question_id": "842",
      "question_type": "image",
      "answer": "0",
      "solved_time": 3
    },
    {
      "question_id": "832",
      "question_type": "image",
      "answer": "100",
      "solved_time": 10
    },
    {
      "question_id": "834",
      "question_type": "abacus_visualisation_number",
      "answer": "10",
      "solved_time": 15
    }
  ]
}'
```
> Responce:

```json
{
    "status": "success",
    "code": 200,
    "message": "Quiz submitted successfully",
    "student_id": "343",
    "lesson_id": "345",
    "correct_answers_count": 7,
    "total_points": 15000,
    "silver": 4500,
    "gold": 3000,
    "diamond": 1500,
    "accuracy": 100,
    "total_attempts": 0,
    "data": [
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "829",
                    "question_text": "test flash",
                    "sub_question": "1,2,3,4",
                    "answer_type": "mcq",
                    "question_type": "abacus_flashcard",
                    "answer": "10",
                    "solving_time": "20",
                    "question_difficulty": "easy",
                    "question_marks": "1000",
                    "question_created_at": "2026-04-22 23:21:28",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[\"10\",\"20\",\"30\",\"40\"]",
                    "created_by": "107",
                    "student_answer": "10",
                    "correct_answer": "10",
                    "is_correct": true,
                    "marks_obtained": 1000
                },
                {
                    "question_id": "833",
                    "question_text": "flash card",
                    "sub_question": "1,2,3,4",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "answer": "10:10",
                    "solving_time": "10",
                    "question_difficulty": "easy",
                    "question_marks": "2000",
                    "question_created_at": "2026-04-22 22:39:05",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[{\"left\":\"10\",\"right\":\"10\"},{\"left\":\"20\",\"right\":\"20\"}]",
                    "created_by": "107",
                    "student_answer": [
                        {
                            "left": "10",
                            "right": "10"
                        }
                    ],
                    "correct_answer": "10:10",
                    "is_correct": true,
                    "marks_obtained": 2000
                }
            ]
        },
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "824",
                    "question_text": "what is cat color",
                    "sub_question": "what is cat color",
                    "answer_type": "mcq",
                    "question_type": "text",
                    "answer": "black",
                    "solving_time": "20",
                    "question_difficulty": "easy",
                    "question_marks": "1000",
                    "question_created_at": "2026-04-22 23:22:01",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[\"black\",\"red\",\"green \",\"orange\"]",
                    "created_by": "107",
                    "student_answer": "black",
                    "correct_answer": "black",
                    "is_correct": true,
                    "marks_obtained": 1000
                },
                {
                    "question_id": "843",
                    "question_text": "what is color image",
                    "sub_question": "what is color image",
                    "answer_type": "mcq_image",
                    "question_type": "text",
                    "answer": "1",
                    "solving_time": "10",
                    "question_difficulty": "easy",
                    "question_marks": "2000",
                    "question_created_at": "2026-04-25 12:39:34",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[\"217\",\"100\",\"225\",\"216\"]",
                    "created_by": "107",
                    "student_answer": "1",
                    "correct_answer": "1",
                    "is_correct": true,
                    "marks_obtained": 2000
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "842",
                    "question_text": "new image ",
                    "sub_question": "217",
                    "answer_type": "mcq",
                    "question_type": "image",
                    "answer": "0",
                    "solving_time": "10",
                    "question_difficulty": "easy",
                    "question_marks": "2000",
                    "question_created_at": "2026-04-23 20:14:05",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[\"100\",\"206\",\"217\",\"225\"]",
                    "created_by": "107",
                    "student_answer": "0",
                    "correct_answer": "0",
                    "is_correct": true,
                    "marks_obtained": 2000
                },
                {
                    "question_id": "832",
                    "question_text": "images",
                    "sub_question": "206",
                    "answer_type": "mcq_image",
                    "question_type": "image",
                    "answer": "100",
                    "solving_time": "10",
                    "question_difficulty": "easy",
                    "question_marks": "2000",
                    "question_created_at": "2026-04-23 00:59:26",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[\"264\"]",
                    "created_by": "107",
                    "student_answer": "100",
                    "correct_answer": "100",
                    "is_correct": true,
                    "marks_obtained": 2000
                }
            ]
        },
        {
            "type": "abacus_visualisation_number",
            "questions": [
                {
                    "question_id": "834",
                    "question_text": "numbers ",
                    "sub_question": "1,2,3,4",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_visualisation_number",
                    "answer": "10",
                    "solving_time": "20",
                    "question_difficulty": "hard",
                    "question_marks": "5000",
                    "question_created_at": "2026-04-22 23:36:36",
                    "course_id": "291",
                    "lesson_id": "345",
                    "level_id": "90",
                    "topic_id": "317",
                    "options": "[]",
                    "created_by": "107",
                    "student_answer": "10",
                    "correct_answer": "10",
                    "is_correct": true,
                    "marks_obtained": 5000
                }
            ]
        }
    ]
}
```

#  Student Levels Quiz

## Get student levels quiz

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/levels/{id}/quiz
</span> 


```shell
curl -X GET https://vedaay-api.mulika.in/student/levels/11/quiz \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
'{
    "status": "success",
    "message": "3 Student level quiz retrieved successfully.",
    "code": 200,
    "student_id": "294",
    "level_id": "11",
    "total_questions": 3,
    "Check_status": true,
    "data": [
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "638",
                    "question_text": "test quetion new",
                    "sub_question": "",
                    "answer_type": "fill_blank",
                    "question_type": "text",
                    "question_tags": "brown",
                    "answer": "iPhone",
                    "solving_time": "60",
                    "question_difficulty": "hard",
                    "question_marks": "1",
                    "question_created_at": "2026-05-09 14:22:56",
                    "course_id": "73",
                    "lesson_id": "177",
                    "level_id": "11",
                    "topic_id": "54",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "245"
                },
                {
                    "question_id": "640",
                    "question_text": "test appli new",
                    "sub_question": "",
                    "answer_type": "fill_blank",
                    "question_type": "text",
                    "question_tags": "siera3",
                    "answer": "iPhone",
                    "solving_time": "60",
                    "question_difficulty": "medium",
                    "question_marks": "1",
                    "question_created_at": "2026-05-09 15:31:15",
                    "course_id": "73",
                    "lesson_id": "74",
                    "level_id": "11",
                    "topic_id": "32",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "152"
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "639",
                    "question_text": "test appli new",
                    "sub_question": "",
                    "answer_type": "mcq",
                    "question_type": "image",
                    "question_tags": "crown",
                    "answer": "",
                    "solving_time": "50",
                    "question_difficulty": "hard",
                    "question_marks": "1",
                    "question_created_at": "2026-05-13 11:24:28",
                    "course_id": "73",
                    "lesson_id": "74",
                    "level_id": "11",
                    "topic_id": "85",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "135"
                }
            ]
        }
    ]
}'
```

## Create level quiz result

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /student/levels/{id}/quiz-result
</span>

```shell
curl -X POST https://vedaay-api.mulika.in/student/levels/25/quiz-result \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "lesson_completed_status": "completed", 
  "start_time": "2027-05-22 23:29:08",
  "end_time": "2027-05-23 21:49:15",
  "result": [ 
    {
      "question_id": "1050",
      "question_type": "audio",
      "answer": "home",
      "solved_time": 11
    },
    {
      "question_id": "1051",
      "question_type": "abacus_number",
      "answer": "1100",
      "solved_time": 10
    },
    {
      "question_id": "1052",
      "question_type": "image",
      "answer": "may",
      "solved_time": 1
    },
    {
      "question_id": "1053",
      "question_type": "abacus_flashcard",
      "answer": "daud",
      "solved_time": 12
    } 
  ]
}'
```
> Responce:

```json
'{
    "status": "success",
    "code": 200,
    "message": "Quiz submitted successfully",
    "student_id": "302",
    "level_id": "25",
    "lesson_id": "96",
    "correct_answers_count": 2,
    "total_points": 345,
    "silver": 104,
    "gold": 69,
    "diamond": 35,
    "accuracy": 50,
    "data": [
        {
            "type": "audio",
            "questions": [
                {
                    "question_id": "1050",
                    "question_text": "where do you live ?",
                    "sub_question": "1",
                    "answer_type": "mcq_image",
                    "question_type": "audio",
                    "answer": "home",
                    "solving_time": "12",
                    "question_difficulty": "easy",
                    "question_marks": 12,
                    "question_created_at": "2026-05-14 18:15:20",
                    "course_id": "165",
                    "lesson_id": "96",
                    "level_id": "13",
                    "topic_id": "52",
                    "options": "[\"22\",\"23\",\"33\"]",
                    "created_by": "497",
                    "student_answer": "home",
                    "correct_answer": "home",
                    "is_correct": true,
                    "marks_obtained": 12
                }
            ]
        },
        {
            "type": "abacus_number",
            "questions": [
                {
                    "question_id": "1051",
                    "question_text": "how much money you have",
                    "sub_question": "2",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_number",
                    "answer": "100",
                    "solving_time": "123",
                    "question_difficulty": "hard",
                    "question_marks": 123,
                    "question_created_at": "2026-05-15 14:11:21",
                    "course_id": "188",
                    "lesson_id": "51",
                    "level_id": "23",
                    "topic_id": "54",
                    "options": "[\"12\",\"56\",\"66\"]",
                    "created_by": "497",
                    "student_answer": "1100",
                    "correct_answer": "100",
                    "is_correct": false,
                    "marks_obtained": 0
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "1052",
                    "question_text": "what is todays date",
                    "sub_question": "3",
                    "answer_type": "true_false",
                    "question_type": "image",
                    "answer": "may",
                    "solving_time": "333",
                    "question_difficulty": "easy",
                    "question_marks": 333,
                    "question_created_at": "2026-05-15 14:11:42",
                    "course_id": "169",
                    "lesson_id": "72",
                    "level_id": "45",
                    "topic_id": "74",
                    "options": "[\"11\",\"33\",\"77\"]",
                    "created_by": "497",
                    "student_answer": "may",
                    "correct_answer": "may",
                    "is_correct": true,
                    "marks_obtained": 333
                }
            ]
        },
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "1053",
                    "question_text": "who is the chairperson ?",
                    "sub_question": "4,5,6",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "answer": "daul",
                    "solving_time": "22",
                    "question_difficulty": "easy",
                    "question_marks": 222,
                    "question_created_at": "2026-05-14 18:15:20",
                    "course_id": "153",
                    "lesson_id": "94",
                    "level_id": "35",
                    "topic_id": "63",
                    "options": "[\"10\",\"99\",\"88\"]",
                    "created_by": "497",
                    "student_answer": "daud",
                    "correct_answer": "daul",
                    "is_correct": false,
                    "marks_obtained": 0
                }
            ]
        }
    ]
}'
```
 
# Teacher Training

## Levels

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /teacher/levels/{id}/quiz-result
</span>

```shell
curl -X POST https://vedaay-api.mulika.in/teacher/levels/25/quiz-result \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "lesson_completed_status": "completed",
  "start_time": "2026-05-18 17:41:38",
  "end_time":   "2026-05-18 17:43:24",
  "result": [ 
    {
      "question_id": "1050",
      "question_type": "audio",
      "answer": "homed",
      "solved_time": 1
    },
    {
      "question_id": "1051",
      "question_type": "abacus_number",
      "answer": "100d",
      "solved_time": 2
    }, 
    {
      "question_id": "1052",
      "question_type": "image",
      "answer": "may",
      "solved_time": 2
    }, 
    {
      "question_id": "1053",
      "question_type": "flashcard",
      "answer": "daul",
      "solved_time": 1
    },
    {
      "question_id": "1054",
      "question_type": "audio",
      "answer": "21",
      "solved_time": 14
    }, 
    {
      "question_id": "1055",
      "question_type": "text",
      "answer": "31",
      "solved_time": 34
    }
  ]
}'
```
> Responce:

```json
'{
    "status": "success",
    "code": 200,
    "message": "Quiz submitted successfully",
    "teacher_id": "294",
    "level_id": "25",
    "lesson_id": "96",
    "correct_answers_count": 2,
    "total_points": 40,
    "gold": 2,
    "diamond": 4,
    "accuracy": 33,
    "total_attempts": 1,
    "solving_time_seconds": 106,
    "data": [
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "1050",
                    "question_text": "where do you live ?",
                    "sub_question": [
                        {
                            "media_id": "71",
                            "media_src": "https://vedaay-api.mulika.in/media/src/71/1772257802_logo_03.png",
                            "media_alt": "pinga",
                            "media_title": "hokua",
                            "media_description": "apksd"
                        }
                    ],
                    "answer_type": "image",
                    "question_type": "image",
                    "answer": "home",
                    "question_difficulty": "easy",
                    "question_marks": 12,
                    "question_created_at": "2026-06-23 16:42:31",
                    "course_id": "165",
                    "lesson_id": "96",
                    "level_id": "13",
                    "topic_id": "52",
                    "options": "[\"22\",\"23\",\"33\"]",
                    "created_by": "497",
                    "teacher_answer": "homed",
                    "correct_answer": "home",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 1,
                    "diamond": 0
                },
                {
                    "question_id": "1052",
                    "question_text": "what is todays date",
                    "sub_question": [
                        {
                            "media_id": "73",
                            "media_src": "https://vedaay-api.mulika.in/media/src/73/1772259000_questions_errors.csv",
                            "media_alt": "check",
                            "media_title": "check2",
                            "media_description": "apksd3"
                        }
                    ],
                    "answer_type": "true_false",
                    "question_type": "image",
                    "answer": "may",
                    "question_difficulty": "easy",
                    "question_marks": 333,
                    "question_created_at": "2026-06-23 16:25:36",
                    "course_id": "169",
                    "lesson_id": "72",
                    "level_id": "45",
                    "topic_id": "74",
                    "options": "[\"11\",\"33\",\"77\"]",
                    "created_by": "497",
                    "teacher_answer": "may",
                    "correct_answer": "may",
                    "is_correct": true,
                    "marks_obtained": 333,
                    "solving_time": 2,
                    "diamond": 2
                }
            ]
        },
        {
            "type": "abacus_number",
            "questions": [
                {
                    "question_id": "1051",
                    "question_text": "how much money you have",
                    "sub_question": "72",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_number",
                    "answer": "100",
                    "question_difficulty": "hard",
                    "question_marks": 123,
                    "question_created_at": "2026-06-23 16:25:29",
                    "course_id": "188",
                    "lesson_id": "51",
                    "level_id": "23",
                    "topic_id": "54",
                    "options": "[\"12\",\"56\",\"66\"]",
                    "created_by": "497",
                    "teacher_answer": "100d",
                    "correct_answer": "100",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 2,
                    "diamond": 0
                }
            ]
        },
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "1053",
                    "question_text": "who is the chairperson ?",
                    "sub_question": "70",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "answer": "daul",
                    "question_difficulty": "easy",
                    "question_marks": 222,
                    "question_created_at": "2026-06-23 16:25:48",
                    "course_id": "153",
                    "lesson_id": "94",
                    "level_id": "35",
                    "topic_id": "63",
                    "options": "[\"10\",\"99\",\"88\"]",
                    "created_by": "497",
                    "teacher_answer": "daul",
                    "correct_answer": "daul",
                    "is_correct": true,
                    "marks_obtained": 222,
                    "solving_time": 1,
                    "diamond": 2
                }
            ]
        },
        {
            "type": "audio",
            "questions": [
                {
                    "question_id": "1054",
                    "question_text": "Which number is shown on abacus?",
                    "sub_question": "47",
                    "answer_type": "mcq",
                    "question_type": "audio",
                    "answer": "2",
                    "question_difficulty": "easy",
                    "question_marks": 1,
                    "question_created_at": "2026-06-03 16:33:30",
                    "course_id": "1",
                    "lesson_id": "1",
                    "level_id": "1",
                    "topic_id": "1",
                    "options": "[\"37\",\"47\",\"57\"]",
                    "created_by": "497",
                    "teacher_answer": "21",
                    "correct_answer": "2",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 14,
                    "diamond": 0
                }
            ]
        },
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "1055",
                    "question_text": "Which number is shown on abacus?",
                    "sub_question": "12",
                    "answer_type": "image",
                    "question_type": "text",
                    "answer": "3",
                    "question_difficulty": "easy",
                    "question_marks": 1,
                    "question_created_at": "2026-06-03 16:32:51",
                    "course_id": "1",
                    "lesson_id": "1",
                    "level_id": "1",
                    "topic_id": "1",
                    "options": "[\"22\",\"32\",\"12\"]",
                    "created_by": "497",
                    "teacher_answer": "31",
                    "correct_answer": "3",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 34,
                    "diamond": 0
                }
            ]
        }
    ]
}'
```

## Lessons

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /teacher/lessons/{id}/quiz-result
</span>

```shell
curl -X POST https://vedaay-api.mulika.in/teacher/lessons/171/quiz-result \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "lesson_completed_status": "completed",
  "start_time": "2026-05-18 17:41:38",
  "end_time":   "2026-05-18 17:43:24",
  "result": [ 
    {
      "question_id": "1050",
      "question_type": "audio",
      "answer": "homed",
      "solved_time": 1
    },
    {
      "question_id": "1051",
      "question_type": "abacus_number",
      "answer": "100d",
      "solved_time": 2
    }, 
    {
      "question_id": "1052",
      "question_type": "image",
      "answer": "may",
      "solved_time": 2
    }, 
    {
      "question_id": "1053",
      "question_type": "flashcard",
      "answer": "daul",
      "solved_time": 1
    },
    {
      "question_id": "1054",
      "question_type": "audio",
      "answer": "21",
      "solved_time": 14
    }, 
    {
      "question_id": "1055",
      "question_type": "text",
      "answer": "31",
      "solved_time": 34
    }
  ]
}'
```
> Responce:

```json
'{
    "status": "success",
    "code": 200,
    "message": "Quiz submitted successfully",
    "teacher_id": "294",
    "level_id": "25",
    "lesson_id": "96",
    "correct_answers_count": 2,
    "total_points": 40,
    "gold": 2,
    "diamond": 4,
    "accuracy": 33,
    "total_attempts": 1,
    "solving_time_seconds": 106,
    "data": [
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "1050",
                    "question_text": "where do you live ?",
                    "sub_question": [
                        {
                            "media_id": "71",
                            "media_src": "https://vedaay-api.mulika.in/media/src/71/1772257802_logo_03.png",
                            "media_alt": "pinga",
                            "media_title": "hokua",
                            "media_description": "apksd"
                        }
                    ],
                    "answer_type": "image",
                    "question_type": "image",
                    "answer": "home",
                    "question_difficulty": "easy",
                    "question_marks": 12,
                    "question_created_at": "2026-06-23 16:42:31",
                    "course_id": "165",
                    "lesson_id": "96",
                    "level_id": "13",
                    "topic_id": "52",
                    "options": "[\"22\",\"23\",\"33\"]",
                    "created_by": "497",
                    "teacher_answer": "homed",
                    "correct_answer": "home",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 1,
                    "diamond": 0
                },
                {
                    "question_id": "1052",
                    "question_text": "what is todays date",
                    "sub_question": [
                        {
                            "media_id": "73",
                            "media_src": "https://vedaay-api.mulika.in/media/src/73/1772259000_questions_errors.csv",
                            "media_alt": "check",
                            "media_title": "check2",
                            "media_description": "apksd3"
                        }
                    ],
                    "answer_type": "true_false",
                    "question_type": "image",
                    "answer": "may",
                    "question_difficulty": "easy",
                    "question_marks": 333,
                    "question_created_at": "2026-06-23 16:25:36",
                    "course_id": "169",
                    "lesson_id": "72",
                    "level_id": "45",
                    "topic_id": "74",
                    "options": "[\"11\",\"33\",\"77\"]",
                    "created_by": "497",
                    "teacher_answer": "may",
                    "correct_answer": "may",
                    "is_correct": true,
                    "marks_obtained": 333,
                    "solving_time": 2,
                    "diamond": 2
                }
            ]
        },
        {
            "type": "abacus_number",
            "questions": [
                {
                    "question_id": "1051",
                    "question_text": "how much money you have",
                    "sub_question": "72",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_number",
                    "answer": "100",
                    "question_difficulty": "hard",
                    "question_marks": 123,
                    "question_created_at": "2026-06-23 16:25:29",
                    "course_id": "188",
                    "lesson_id": "51",
                    "level_id": "23",
                    "topic_id": "54",
                    "options": "[\"12\",\"56\",\"66\"]",
                    "created_by": "497",
                    "teacher_answer": "100d",
                    "correct_answer": "100",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 2,
                    "diamond": 0
                }
            ]
        },
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "1053",
                    "question_text": "who is the chairperson ?",
                    "sub_question": "70",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "answer": "daul",
                    "question_difficulty": "easy",
                    "question_marks": 222,
                    "question_created_at": "2026-06-23 16:25:48",
                    "course_id": "153",
                    "lesson_id": "94",
                    "level_id": "35",
                    "topic_id": "63",
                    "options": "[\"10\",\"99\",\"88\"]",
                    "created_by": "497",
                    "teacher_answer": "daul",
                    "correct_answer": "daul",
                    "is_correct": true,
                    "marks_obtained": 222,
                    "solving_time": 1,
                    "diamond": 2
                }
            ]
        },
        {
            "type": "audio",
            "questions": [
                {
                    "question_id": "1054",
                    "question_text": "Which number is shown on abacus?",
                    "sub_question": "47",
                    "answer_type": "mcq",
                    "question_type": "audio",
                    "answer": "2",
                    "question_difficulty": "easy",
                    "question_marks": 1,
                    "question_created_at": "2026-06-03 16:33:30",
                    "course_id": "1",
                    "lesson_id": "1",
                    "level_id": "1",
                    "topic_id": "1",
                    "options": "[\"37\",\"47\",\"57\"]",
                    "created_by": "497",
                    "teacher_answer": "21",
                    "correct_answer": "2",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 14,
                    "diamond": 0
                }
            ]
        },
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "1055",
                    "question_text": "Which number is shown on abacus?",
                    "sub_question": "12",
                    "answer_type": "image",
                    "question_type": "text",
                    "answer": "3",
                    "question_difficulty": "easy",
                    "question_marks": 1,
                    "question_created_at": "2026-06-03 16:32:51",
                    "course_id": "1",
                    "lesson_id": "1",
                    "level_id": "1",
                    "topic_id": "1",
                    "options": "[\"22\",\"32\",\"12\"]",
                    "created_by": "497",
                    "teacher_answer": "31",
                    "correct_answer": "3",
                    "is_correct": false,
                    "marks_obtained": 0,
                    "solving_time": 34,
                    "diamond": 0
                }
            ]
        }
    ]
}'
```


#  Student Exams Quiz

## Get student exams quiz

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #27cf3d; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">GET</span> /student/exams/{id}/quiz
</span> 


```shell
curl -X GET https://vedaay-api.mulika.in/student/exams/11/quiz \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
```
> Responce:

```json
'{
    "status": "success",
    "message": "3 Student exams quiz retrieved successfully.",
    "code": 200,
    "student_id": "294",
    "level_id": "11",
    "total_questions": 3,
    "Check_status": true,
    "data": [
        {
            "type": "text",
            "questions": [
                {
                    "question_id": "638",
                    "question_text": "test quetion new",
                    "sub_question": "",
                    "answer_type": "fill_blank",
                    "question_type": "text",
                    "question_tags": "brown",
                    "answer": "iPhone",
                    "solving_time": "60",
                    "question_difficulty": "hard",
                    "question_marks": "1",
                    "question_created_at": "2026-05-09 14:22:56",
                    "course_id": "73",
                    "lesson_id": "177",
                    "level_id": "11",
                    "topic_id": "54",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "245"
                },
                {
                    "question_id": "640",
                    "question_text": "test appli new",
                    "sub_question": "",
                    "answer_type": "fill_blank",
                    "question_type": "text",
                    "question_tags": "siera3",
                    "answer": "iPhone",
                    "solving_time": "60",
                    "question_difficulty": "medium",
                    "question_marks": "1",
                    "question_created_at": "2026-05-09 15:31:15",
                    "course_id": "73",
                    "lesson_id": "74",
                    "level_id": "11",
                    "topic_id": "32",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "152"
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "639",
                    "question_text": "test appli new",
                    "sub_question": "",
                    "answer_type": "mcq",
                    "question_type": "image",
                    "question_tags": "crown",
                    "answer": "",
                    "solving_time": "50",
                    "question_difficulty": "hard",
                    "question_marks": "1",
                    "question_created_at": "2026-05-13 11:24:28",
                    "course_id": "73",
                    "lesson_id": "74",
                    "level_id": "11",
                    "topic_id": "85",
                    "options": "[\"option1\",\"option2\",\"option3\",\"option4\"]",
                    "created_by": "135"
                }
            ]
        }
    ]
}'
```

## Create exams quiz result

<span style="background: #000; color: white; padding: 10px 10px; border-radius: 4px;  width: 100%;display: block;">
<span  style="background: #08c0b7; color: white; padding: 8px 24px; border-radius: 2px; font-weight: bold; ">POST</span> /student/exams/{id}/quiz-result
</span>

```shell
curl -X POST https://vedaay-api.mulika.in/student/exams/25/quiz-result \
-H "Content-Type: application/json" \
-H Authorization: Bearer eyJ0eXAiOiJKNiJ9.B7Y3J9FWtgjby4P8-LX_Vkeob6CE
-d '{
  "lesson_completed_status": "completed", 
  "start_time": "2027-05-22 23:29:08",
  "end_time": "2027-05-23 21:49:15",
  "result": [ 
    {
      "question_id": "1050",
      "question_type": "audio",
      "answer": "home",
      "solved_time": 11
    },
    {
      "question_id": "1051",
      "question_type": "abacus_number",
      "answer": "1100",
      "solved_time": 10
    },
    {
      "question_id": "1052",
      "question_type": "image",
      "answer": "may",
      "solved_time": 1
    },
    {
      "question_id": "1053",
      "question_type": "abacus_flashcard",
      "answer": "daud",
      "solved_time": 12
    } 
  ]
}'
```
> Responce:

```json
'{
    "status": "success",
    "code": 200,
    "message": "Quiz submitted successfully",
    "student_id": "302",
    "level_id": "25",
    "lesson_id": "96",
    "correct_answers_count": 2,
    "total_points": 345,
    "silver": 104,
    "gold": 69,
    "diamond": 35,
    "accuracy": 50,
    "data": [
        {
            "type": "audio",
            "questions": [
                {
                    "question_id": "1050",
                    "question_text": "where do you live ?",
                    "sub_question": "1",
                    "answer_type": "mcq_image",
                    "question_type": "audio",
                    "answer": "home",
                    "solving_time": "12",
                    "question_difficulty": "easy",
                    "question_marks": 12,
                    "question_created_at": "2026-05-14 18:15:20",
                    "course_id": "165",
                    "lesson_id": "96",
                    "level_id": "13",
                    "topic_id": "52",
                    "options": "[\"22\",\"23\",\"33\"]",
                    "created_by": "497",
                    "student_answer": "home",
                    "correct_answer": "home",
                    "is_correct": true,
                    "marks_obtained": 12
                }
            ]
        },
        {
            "type": "abacus_number",
            "questions": [
                {
                    "question_id": "1051",
                    "question_text": "how much money you have",
                    "sub_question": "2",
                    "answer_type": "fill_blank",
                    "question_type": "abacus_number",
                    "answer": "100",
                    "solving_time": "123",
                    "question_difficulty": "hard",
                    "question_marks": 123,
                    "question_created_at": "2026-05-15 14:11:21",
                    "course_id": "188",
                    "lesson_id": "51",
                    "level_id": "23",
                    "topic_id": "54",
                    "options": "[\"12\",\"56\",\"66\"]",
                    "created_by": "497",
                    "student_answer": "1100",
                    "correct_answer": "100",
                    "is_correct": false,
                    "marks_obtained": 0
                }
            ]
        },
        {
            "type": "image",
            "questions": [
                {
                    "question_id": "1052",
                    "question_text": "what is todays date",
                    "sub_question": "3",
                    "answer_type": "true_false",
                    "question_type": "image",
                    "answer": "may",
                    "solving_time": "333",
                    "question_difficulty": "easy",
                    "question_marks": 333,
                    "question_created_at": "2026-05-15 14:11:42",
                    "course_id": "169",
                    "lesson_id": "72",
                    "level_id": "45",
                    "topic_id": "74",
                    "options": "[\"11\",\"33\",\"77\"]",
                    "created_by": "497",
                    "student_answer": "may",
                    "correct_answer": "may",
                    "is_correct": true,
                    "marks_obtained": 333
                }
            ]
        },
        {
            "type": "abacus_flashcard",
            "questions": [
                {
                    "question_id": "1053",
                    "question_text": "who is the chairperson ?",
                    "sub_question": "4,5,6",
                    "answer_type": "matching",
                    "question_type": "abacus_flashcard",
                    "answer": "daul",
                    "solving_time": "22",
                    "question_difficulty": "easy",
                    "question_marks": 222,
                    "question_created_at": "2026-05-14 18:15:20",
                    "course_id": "153",
                    "lesson_id": "94",
                    "level_id": "35",
                    "topic_id": "63",
                    "options": "[\"10\",\"99\",\"88\"]",
                    "created_by": "497",
                    "student_answer": "daud",
                    "correct_answer": "daul",
                    "is_correct": false,
                    "marks_obtained": 0
                }
            ]
        }
    ]
}'
```





