DistributeApp LogoDistributeProject
DistributorAlbumsBatch

Batch get albums

Returns a list of albums by IDs.

POST
/albums/batch

Request Body

application/json

Album IDs

ids*array<string>

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/api/albums/batch" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
[
  {
    "artist_name": "string",
    "created_at": "string",
    "id": "string",
    "release_date": "string",
    "songs": [
      {
        "album": {
          "artist_name": "string",
          "created_at": "string",
          "id": "string",
          "release_date": "string",
          "songs": [],
          "title": "string"
        },
        "album_id": "string",
        "artists": [
          {
            "albums": [
              {
                "artist_name": "string",
                "created_at": "string",
                "id": "string",
                "release_date": "string",
                "songs": [],
                "title": "string"
              }
            ],
            "created_at": "string",
            "id": "string",
            "identifiers": [
              {
                "artist_id": "string",
                "id": "string",
                "identifier": "string"
              }
            ],
            "name": "string"
          }
        ],
        "created_at": "string",
        "id": "00000000-0000-0000-0000-000000000000",
        "title": "Song Title"
      }
    ],
    "title": "string"
  }
]
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}