example-data.com
Menu
Browse docs and collections

Overview

playlists / #50

Only The Lonely (Know The Way I Feel) Mix

Only The Lonely (Know The Way I Feel) Mix

Valens acsi tero vinum vado.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 50,
  "userId": 76,
  "name": "Only The Lonely (Know The Way I Feel) Mix",
  "slug": "only-the-lonely-know-the-way-i-feel-mix-50",
  "description": "Valens acsi tero vinum vado.",
  "songIds": [
    2479,
    2302,
    601,
    1074,
    521,
    850,
    303,
    740,
    1722,
    2644,
    2023,
    298,
    1175,
    2525,
    973,
    64,
    2789,
    232
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-50/500/500",
  "createdAt": "2025-05-14T02:53:39.512Z",
  "updatedAt": "2025-06-03T13:48:04.009Z"
}