example-data.com
Menu
Browse docs and collections

Overview

playlists / #81

Shop Around Mix

Shop Around Mix

Vito aestivus creta suffragium solium aqua terra.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 81,
  "userId": 120,
  "name": "Shop Around Mix",
  "slug": "shop-around-mix-81",
  "description": "Vito aestivus creta suffragium solium aqua terra.",
  "songIds": [
    1252,
    1813,
    2224,
    914,
    279,
    221,
    568,
    1429,
    1336,
    2567,
    1314,
    1608,
    2602,
    1633,
    1003,
    365,
    2228,
    1472,
    1390,
    213,
    2036,
    1259,
    2822,
    760,
    2793,
    405,
    1751,
    32,
    2899,
    1715,
    683,
    855,
    1503,
    2292,
    871,
    633,
    511,
    2605,
    1143,
    1695,
    1111,
    2070,
    2303,
    1013,
    981,
    2926,
    1680,
    698,
    1026,
    1544
  ],
  "isPublic": false,
  "coverUrl": "https://picsum.photos/seed/playlist-81/500/500",
  "createdAt": "2025-04-18T03:34:30.291Z",
  "updatedAt": "2025-04-18T21:10:23.267Z"
}