---
title: "O lecție după id, cu contextul ei și lecțiile următoare."
method: GET
path: "/client/lessons/{id}"
---

# O lecție după id, cu contextul ei și lecțiile următoare.

`GET /client/lessons/{id}`

## Request

- Base URL: `https://scoala.ro/api`
- URL: `https://scoala.ro/api/client/lessons/{id}`
- Auth: one of:
  - none
  - HTTP bearer

## Path parameters

- `id` integer, required

## Response `200`

Lecția cerută.

- object: Lecție video; câmpurile de conținut lipsesc când AccessType este restricționat.
  - `Id` integer
  - `SubcategoryId` integer
  - `SubcategoryTitle` string, nullable
  - `Title` string
  - `Description1` string, nullable
  - `Description2` string, nullable
  - `Image1Url` string, nullable
  - `Image2Url` string, nullable
  - `VideoUrl` string, nullable
  - `ShortVideoUrl` string, nullable
  - `PreviewUrl` string, nullable
  - `TextScriptUrl` string, nullable
  - `TranscriptUrl` string, nullable
  - `LessonHtmlContent` string, nullable
  - `TestEmbeddedCode` string, nullable
  - `TestId` integer, nullable
  - `QuizId` integer, nullable
  - `ExerciseId` integer, nullable
  - `IsFree` boolean
  - `IsFreeForRegistered` boolean
  - `IsDeleted` boolean
  - `HasCC` boolean
  - `OrderNo` integer
  - `MetaTitle` string, nullable
  - `MetaDescription` string, nullable
  - `MetaImage` string, nullable
  - `LessonKeywords` string, nullable
  - `Type` string, nullable
  - `Status` string, nullable
  - `AccessType` string
  - `Badges` Badge[]
    - `IconName` string
    - `BadgeTitle` string
  - `ChapterId` integer
  - `ChapterTitle` string
  - `CategoryId` integer
  - `CategoryTitle` string
  - `SubjectId` integer
  - `SubjectTitle` string
  - `DiplomaEnabled` boolean
  - `HasExercise` boolean
  - `Slug` string
  - `UploadDate` string, nullable
  - `NextLessons` Lesson[]
    - `Id` integer
    - `SubcategoryId` integer
    - `SubcategoryTitle` string, nullable
    - `Title` string
    - `Description1` string, nullable
    - `Description2` string, nullable
    - `Image1Url` string, nullable
    - `Image2Url` string, nullable
    - `VideoUrl` string, nullable
    - `ShortVideoUrl` string, nullable
    - `PreviewUrl` string, nullable
    - `TextScriptUrl` string, nullable
    - `TranscriptUrl` string, nullable
    - `LessonHtmlContent` string, nullable
    - `TestEmbeddedCode` string, nullable
    - `TestId` integer, nullable
    - `QuizId` integer, nullable
    - `ExerciseId` integer, nullable
    - `IsFree` boolean
    - `IsFreeForRegistered` boolean
    - `IsDeleted` boolean
    - `HasCC` boolean
    - `OrderNo` integer
    - `MetaTitle` string, nullable
    - `MetaDescription` string, nullable
    - `MetaImage` string, nullable
    - `LessonKeywords` string, nullable
    - `Type` string, nullable
    - `Status` string, nullable
    - `AccessType` string
    - `Badges` Badge[]
      - `IconName` string
      - `BadgeTitle` string

## Other responses

- `404`: Resursa nu există.
- `500`: Eroare internă.

---

[API](https://skmtc.dev/scoala/apis/superscoala-api.md) · [All operations](https://skmtc.dev/scoala/apis/superscoala-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scoala/apis/superscoala-api/revisions/421f52a21277?raw)
