Get songs within an album

GET /albums/{albumID}

Path parameters

  • albumID integer Required

    ID of the album

Responses

  • 200

    Success response

    Hide response attributes Show response attributes array[object]
    • song_id integer
    • title string
    • album_id integer
  • 404

    Album not found

  • 500

    Internal Server Error

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