example-data.com
Menu
Browse docs and collections

Overview

playlists / #121

Harbour Lights Mix

Harbour Lights Mix

Demulceo urbs certe vilicus una tantum.

Component variants

Related

Request

curl example

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

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/playlists/121"
);
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/121"
);
const playlist = (await res.json()) as Playlist;

Python example

import requests

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

Response

{
  "id": 121,
  "userId": 233,
  "name": "Harbour Lights Mix",
  "slug": "harbour-lights-mix-121",
  "description": "Demulceo urbs certe vilicus una tantum.",
  "songIds": [
    805,
    2437,
    2196,
    1702,
    1544,
    2123,
    1727,
    179,
    1854,
    249,
    1711,
    2554,
    2124,
    1776,
    2233,
    453
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-121/500/500",
  "createdAt": "2026-02-01T05:38:39.380Z",
  "updatedAt": "2026-02-26T07:48:24.107Z"
}