monstersirenfetch/albums.go
Yonah ab40d570eb
generic: struct for response common fields
This is common across all responses.

Signed-off-by: Yonah <contrib@gensokyo.uk>
2025-09-17 06:52:38 +09:00

13 lines
311 B
Go

package monstersirenfetch
// Albums is the response of /api/albums.
type Albums Response[[]Album]
// Album represents the metadata of an album.
type Album struct {
CID StringInt `json:"cid"`
Name string `json:"name"`
CoverURL string `json:"coverUrl"`
Artists []string `json:"artistes"`
}