example-data.com
Menu
Browse docs and collections

Overview

playlists / #146

You Belong With Me Mix

You Belong With Me Mix

Vulticulus corona tonsor dolor abundans atrocitas textor.

Component variants

Related

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 146,
  "userId": 195,
  "name": "You Belong With Me Mix",
  "slug": "you-belong-with-me-mix-146",
  "description": "Vulticulus corona tonsor dolor abundans atrocitas textor.",
  "songIds": [
    1339,
    2916,
    1668,
    2786,
    1214,
    1760,
    1485,
    2157,
    512,
    312,
    2521,
    2706,
    2592,
    2626,
    1843,
    2216,
    2657,
    1127,
    2807,
    105,
    2822,
    156,
    1632,
    2367,
    783,
    1264,
    1408,
    2184,
    617,
    1890,
    189,
    2050,
    95,
    1247,
    2129
  ],
  "isPublic": true,
  "coverUrl": "https://picsum.photos/seed/playlist-146/500/500",
  "createdAt": "2025-05-01T05:40:04.354Z",
  "updatedAt": "2025-05-04T18:17:02.940Z"
}