example-data.com
Menu
Browse docs and collections

Overview

playlists / #133

This Diamond Ring Mix

This Diamond Ring Mix

Universe auctor cometes altus angulus uter contabesco advenio alias aperte.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 133,
  "userId": 85,
  "name": "This Diamond Ring Mix",
  "slug": "this-diamond-ring-mix-133",
  "description": "Universe auctor cometes altus angulus uter contabesco advenio alias aperte.",
  "songIds": [
    667,
    1492,
    828,
    1717,
    1087,
    364,
    1670,
    1415,
    1022,
    2388,
    2700,
    2186,
    1377,
    2100,
    508,
    2410,
    580,
    2439,
    2541,
    1233,
    856,
    985,
    622
  ],
  "isPublic": false,
  "coverUrl": "https://picsum.photos/seed/playlist-133/500/500",
  "createdAt": "2025-05-28T13:18:08.769Z",
  "updatedAt": "2025-06-22T11:11:27.434Z"
}