example-data.com
Menu
Browse docs and collections

Overview

lessons / #20

Working with Architecture

courseId
courses/3
title
Working with Architecture
slug
working-with-architecture-c3-3
description
Amoveo sordeo demitto adsidue dicta cognatus.
content
Deprecator volup illo illo stella confero vorax cena. Quia quis amaritudo subiungo depraedor antiquus sopor magni angelus adhuc. Nulla ter acerbitas contra tactus. Denego uter acer. Aetas supra sublime nisi thesaurus appello. Copia stipes solum. Adsidue beatus doloremque tenax vir utroque tenetur appello decipio. Iusto sonitus aetas vitiosus conspergo adipiscor dens defleo cunctatio arcus. Vere facere censura magnam vesper creptio copiose.
sortOrder
3
durationMinutes
20
videoUrl
https://example.com/courses/3/lessons/20.mp4
createdAt
updatedAt

Component variants

Related

References

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/lessons/20" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/lessons/20"
);
const lesson = await res.json();

TypeScript example

// Download once: mkdir -p types && curl -o types/lessons.d.ts https://example-data.com/types/lessons.d.ts
import type { Lesson } from "./types/lessons";

const res = await fetch(
  "https://example-data.com/api/v1/lessons/20"
);
const lesson = (await res.json()) as Lesson;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/lessons/20"
)
lesson = res.json()

Response

{
  "id": 20,
  "courseId": 3,
  "title": "Working with Architecture",
  "slug": "working-with-architecture-c3-3",
  "description": "Amoveo sordeo demitto adsidue dicta cognatus.",
  "content": "Deprecator volup illo illo stella confero vorax cena. Quia quis amaritudo subiungo depraedor antiquus sopor magni angelus adhuc. Nulla ter acerbitas contra tactus.\n\nDenego uter acer. Aetas supra sublime nisi thesaurus appello. Copia stipes solum.\n\nAdsidue beatus doloremque tenax vir utroque tenetur appello decipio. Iusto sonitus aetas vitiosus conspergo adipiscor dens defleo cunctatio arcus. Vere facere censura magnam vesper creptio copiose.",
  "sortOrder": 3,
  "durationMinutes": 20,
  "videoUrl": "https://example.com/courses/3/lessons/20.mp4",
  "createdAt": "2024-07-22T08:10:39.902Z",
  "updatedAt": "2024-07-23T06:31:21.856Z"
}