Developer / Referensi
List albums for a single artist
GET /v1/artists/{slug}/albums
Isi referensi
Returns the artist's albums ordered by release_year DESC. Sourced from Rvrb's `albums` table via the `rvrb_v1_albums` PostgREST view; mirrored nightly into Sumber's `rvrb_albums`. Empty array until Rvrb's view lands.
MD-12 filtering: `cover_art_url` is set to NULL when the source's `cover_art_license` isn't in {public, creative_commons, cc-by, cc0}. The mirror table retains the path for internal admin use.
Deskripsi endpoint berasal dari spesifikasi dan masih berbahasa Inggris.
Parameter
| Parameter | Lokasi | Tipe | Aturan |
|---|---|---|---|
| slug | path | string | Wajib |
Hak redistribusi mengikuti lisensi seri. Data tampilan saja tidak tersedia sebagai baris mentah.
Respons
| Kode | Keterangan |
|---|---|
| 200 | Album list |
| 400 | Invalid request parameters |
| 401 | Missing or invalid API key |
| 404 | Resource not found |
| 429 | Quota exceeded; retry after the window resets |
Dibangkitkan dari openapi.yaml, spesifikasi yang sama dengan /v1/openapi.yaml.
Permintaan / contoh
curl -H "x-api-key: $SUMBER_KEY" \
"https://api.sumber.io/v1/artists/<slug>/albums"