DistributeApp LogoDistributeProject
DistributorArtistsBatch

Batch get artists

Returns a list of artists by IDs.

POST
/artists/batch

Request Body

application/json

Artist IDs

ids*array<string>

Response Body

application/json

application/json

application/json

curl -X POST "https://loading/api/artists/batch" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "string"    ]  }'
[
  {
    "albums": [
      {
        "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": [],
                "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"
      }
    ],
    "created_at": "string",
    "id": "string",
    "identifiers": [
      {
        "artist_id": "string",
        "id": "string",
        "identifier": "string"
      }
    ],
    "name": "string"
  }
]
{
  "error": "Validation failed"
}
{
  "error": "Validation failed"
}