---
title: "Lesson Ranking"
method: GET
path: "/api/v1/courses/{course_id}/lessons/{lesson_id}/ranking"
tags: ["api", "api", "homework"]
---

# Lesson Ranking

`GET /api/v1/courses/{course_id}/lessons/{lesson_id}/ranking`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/courses/{course_id}/lessons/{lesson_id}/ranking`
- Auth: HTTP bearer

## Path parameters

- `course_id` string, required
- `lesson_id` string, required

## Response `200`

Successful Response

- LessonRankingResponse: Bitta dars bo'yicha ikki alohida reyting: uy vazifasi va dars mashqlari.
  - `homework` LessonRankEntry[], required
    - `rank` integer, required
    - `student_id` string, required
    - `student_name` string
    - `score` integer, nullable
    - `status` string, nullable
    - `submission_id` string, nullable
    - `attempts` integer
    - `updated_at` string, nullable
  - `exercises` LessonRankEntry[], required
    - `rank` integer, required
    - `student_id` string, required
    - `student_name` string
    - `score` integer, nullable
    - `status` string, nullable
    - `submission_id` string, nullable
    - `attempts` integer
    - `updated_at` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
