example-data.com
Menu
Browse docs and collections

Overview

playlists / #19

Endless Love Mix

Endless Love Mix

Voro adversus absorbeo vorax cornu ait sui demonstro tamen amet claustrum animi.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 19,
  "userId": 27,
  "name": "Endless Love Mix",
  "slug": "endless-love-mix-19",
  "description": "Voro adversus absorbeo vorax cornu ait sui demonstro tamen amet claustrum animi.",
  "songIds": [
    2037,
    2164,
    1847,
    2229,
    2872,
    2050,
    992,
    1425,
    663,
    2613,
    14,
    1069,
    405,
    1797,
    2484,
    2203,
    98,
    1375,
    1704,
    101,
    2214,
    1790,
    1502,
    2792,
    2413,
    1310,
    1568,
    296
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-19/500/500",
  "createdAt": "2025-06-12T12:48:46.181Z",
  "updatedAt": "2025-07-11T07:17:35.603Z"
}