example-data.com
Menu
Browse docs and collections

Overview

playlists / #2

I Feel For You Mix

I Feel For You Mix

Carcer colligo comburo umerus incidunt.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 2,
  "userId": 97,
  "name": "I Feel For You Mix",
  "slug": "i-feel-for-you-mix-2",
  "description": "Carcer colligo comburo umerus incidunt.",
  "songIds": [
    1584,
    2936,
    1118,
    1001,
    1915,
    877,
    2734,
    1895,
    466,
    1536,
    2691,
    254,
    429,
    650,
    1361,
    1862,
    1333,
    103,
    2617,
    2730,
    54
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-2/500/500",
  "createdAt": "2025-02-01T18:26:05.281Z",
  "updatedAt": "2025-02-09T08:18:05.547Z"
}