example-data.com
Menu
Browse docs and collections

Overview

videos / #28

Virgo adaugeo vesper thema repellendus sollers

Virgo adaugeo vesper thema repellendus sollers

Saepe pauper vetus commodi admoneo stipes. Attonbitus suffoco alienus inventore vesper arma defluo. Unde cunae tersus argumentum decretum comprehendo paens thermae.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/videos/28"
);
const video = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/videos/28"
);
const video = (await res.json()) as Video;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/videos/28"
)
video = res.json()

Response

{
  "id": 28,
  "userId": 13,
  "title": "Virgo adaugeo vesper thema repellendus sollers",
  "slug": "virgo-adaugeo-vesper-thema-repellendus-sollers-28",
  "description": "Saepe pauper vetus commodi admoneo stipes. Attonbitus suffoco alienus inventore vesper arma defluo. Unde cunae tersus argumentum decretum comprehendo paens thermae.",
  "videoUrl": "https://example.com/videos/28.mp4",
  "thumbnailUrl": "https://picsum.photos/seed/video-28/1280/720",
  "durationSeconds": 2040,
  "viewCount": 2811857,
  "likeCount": 82943,
  "isPublic": true,
  "publishedAt": "2024-11-05T19:29:51.497Z",
  "createdAt": "2024-11-04T19:41:39.953Z"
}