example-data.com
Menu
Browse docs and collections

Overview

videos / #103

Ascisco depraedor volva subiungo cavus theca venio

Ascisco depraedor volva subiungo cavus theca venio

Tepidus ipsum comitatus. Compono vereor veniam tantillus arx acervus.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/videos/103"
);
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/103"
);
const video = (await res.json()) as Video;

Python example

import requests

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

Response

{
  "id": 103,
  "userId": 91,
  "title": "Ascisco depraedor volva subiungo cavus theca venio",
  "slug": "ascisco-depraedor-volva-subiungo-cavus-theca-venio-103",
  "description": "Tepidus ipsum comitatus. Compono vereor veniam tantillus arx acervus.",
  "videoUrl": "https://example.com/videos/103.mp4",
  "thumbnailUrl": "https://picsum.photos/seed/video-103/1280/720",
  "durationSeconds": 6101,
  "viewCount": 3338027,
  "likeCount": 126734,
  "isPublic": true,
  "publishedAt": "2024-06-06T09:21:09.921Z",
  "createdAt": "2024-06-06T07:11:19.835Z"
}