example-data.com
Menu
Browse docs and collections

Overview

playlists / #157

Let it Snow! Let it Snow! Let it Snow! Mix

Let it Snow! Let it Snow! Let it Snow! Mix

Creta itaque neque reiciendis maxime colo repellat adhuc turbo alo vivo repudiandae quae vestigium.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/playlists/157"
);
const playlist = await res.json();

TypeScript example

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

const res = await fetch(
  "https://example-data.com/api/v1/playlists/157"
);
const playlist = (await res.json()) as Playlist;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/playlists/157"
)
playlist = res.json()

Response

{
  "id": 157,
  "userId": 210,
  "name": "Let it Snow! Let it Snow! Let it Snow! Mix",
  "slug": "let-it-snow-let-it-snow-let-it-snow-mix-157",
  "description": "Creta itaque neque reiciendis maxime colo repellat adhuc turbo alo vivo repudiandae quae vestigium.",
  "songIds": [
    1452,
    912,
    2092,
    2689,
    2146,
    1881,
    2105,
    1299,
    1633,
    741,
    2210,
    2182,
    1498,
    2214,
    600,
    109,
    1863,
    2610,
    2864,
    1673
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-157/500/500",
  "createdAt": "2025-09-14T02:38:04.256Z",
  "updatedAt": "2025-09-24T16:26:10.160Z"
}