---
title: "Get lesson"
method: GET
path: "/v2/lesson"
tags: ["coursev2"]
---

# Get lesson

`GET /v2/lesson`

Get course based on underlying language

## Query parameters

- `code` string, required
- `level` integer, required

## Headers

- `Authorization` string, required

## Response `200`

success, the data is LessonResponse

- object
  - `code` integer — 0=success，only parse data when code=0
  - `data` object — real data
    - `completed_time` integer
    - `course_code` string
    - `course_uuid` string
    - `current_lesson_id` integer
    - `current_level` integer
    - `latest_level` integer
    - `learn_name` string
    - `lessons` BluenteInternalCourseV2ModelLesson[]
      - `app_id` integer — app id type,Bluente=10000
      - `beta` integer — is this lesson beta
      - `code` string — the unique course code
      - `completed_time` integer
      - `created_at` BluenteInternalCourseV2ModelCustomTime
        - `time.Time` string
      - `deleted` integer — 1=deleted
      - `desc` string — desc of the lesson, eg Easy Practice
      - `extra_config` BluenteInternalCourseV2ModelLessonExtraConfig
        - `difficulties` integer[]
        - `is_new` boolean
        - `passing_msg_count` integer
      - `finished` integer
      - `icon` string — the icon of lesson
      - `id` integer
      - `learn_terms` string[]
      - `level` integer — level of this lesson
      - `lock` integer — is this lesson locked
      - `paid` integer — is this lesson need to paid
      - `practice_count` integer — practice count will generated by word ids
      - `score` integer
      - `sort` integer — sort of this lession within certain level
      - `title` string — title of the lesson, eg Leson 1
      - `total_count` integer
      - `type` integer — 0=lesson, 10=review
      - `updated_at` BluenteInternalCourseV2ModelCustomTime
        - `time.Time` string
      - `uuid` string — course internal id from monogo field uuid
      - `word_ids` integer[] — a array of bl_learn_word.word_id as a question options, will also need fill learn_terms in a text array
    - `levels` BluenteInternalCourseV2ModelLessonLevel[]
      - `app_id` integer — app id type,Bluente=10000
      - `average_score` integer
      - `code` string — the unique course code
      - `created_at` BluenteInternalCourseV2ModelCustomTime
        - `time.Time` string
      - `deleted` integer — 1=deleted
      - `desc` string — icon i click popup tips
      - `extra_config` BluenteInternalCourseV2ModelExtraConfig
      - `finished_count` integer
      - `icon` string — the icon of level
      - `id` integer
      - `lesson_count` integer — number of lessons
      - `level` integer — level of the lesson practice difficulty, 1~3 level
      - `lock` integer — is this level locked
      - `passing_score` integer
      - `title` string — level of the word practice difficulty, 1~10 level
      - `updated_at` BluenteInternalCourseV2ModelCustomTime
        - `time.Time` string
      - `uuid` string — learn internal id from monogo field cousrse.moduleuuid
    - `name` string
    - `overall_progress` integer
    - `paid` boolean
    - `role_play` BluenteInternalCourseV2ModelRolePlayRsp
      - `passing_msg_count` integer
      - `roles` BluenteInternalCourseV2ModelDisplayItem[]
        - `display_name` string
        - `name` string
      - `show_float_gate` boolean
      - `ticket_left` integer
  - `message` string — tip message

---

[API](https://skmtc.net/bluente/apis/bluente-api.md) · [All operations](https://skmtc.net/bluente/apis/bluente-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bluente/bluente-api/revisions/5c90e58bf672/schema)
