Get all albums

GET /albums

Responses

  • 200

    Success response

    Hide response attributes Show response attributes array[object]
    • album_id integer
    • title string
    • release_date string(date)
  • 500

    Internal Server Error

GET /albums
curl \
 -X GET https://taylor-swift-api.sarbo.workers.dev/albums
Response examples (200)
[
  {
    "album_id": 42,
    "title": "string",
    "release_date": "2023-05-04"
  }
]
Response examples (200)
[
  {
    "album_id": 42,
    "title": "string",
    "release_date": "2025-05-04"
  }
]