16 lines
407 B
Go
16 lines
407 B
Go
package monstersirenfetch
|
|
|
|
// AlbumsResponse is the response of /api/albums.
|
|
type AlbumsResponse Response[AlbumsData]
|
|
|
|
// AlbumsData is the type of [AlbumsResponse] data.
|
|
type AlbumsData []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"`
|
|
}
|