mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
43 lines
2.1 KiB
Plaintext
43 lines
2.1 KiB
Plaintext
---
|
|
layout: "layouts/DocLayout.astro"
|
|
title: Album
|
|
description: Different types of album objects used in Spotube.
|
|
order: 3
|
|
---
|
|
|
|
### SpotubeSimpleAlbumObject
|
|
|
|
Following is the structure of the `SpotubeAlbumObject`:
|
|
|
|
| Property | Type |
|
|
| ----------- | ---------------------------------------------------------------- |
|
|
| id | `string` |
|
|
| name | `string` |
|
|
| externalUri | `string` |
|
|
| images | List of [`SpotubeImageObject`][SpotubeImageObject] |
|
|
| albumType | `album`, `single` or `compilation` |
|
|
| artists | List of [`SpotubeSimpleArtistObject`][SpotubeSimpleArtistObject] |
|
|
| releaseDate | `string` (YYYY-MM-DD format) or `null` |
|
|
|
|
{/* Urls */}
|
|
|
|
### SpotubeFullAlbumObject
|
|
|
|
Following is the structure of the `SpotubeFullAlbumObject`:
|
|
|
|
| Property | Type |
|
|
| ----------- | ---------------------------------------------------------------- |
|
|
| id | `string` |
|
|
| name | `string` |
|
|
| externalUri | `string` |
|
|
| images | List of [`SpotubeImageObject`][SpotubeImageObject] |
|
|
| albumType | `album`, `single` or `compilation` |
|
|
| artists | List of [`SpotubeSimpleArtistObject`][SpotubeSimpleArtistObject] |
|
|
| releaseDate | `string` (YYYY-MM-DD format) |
|
|
| totalTracks | `number` |
|
|
| recordLabel | `string` or `null` |
|
|
|
|
{/* Urls */}
|
|
[SpotubeImageObject]: /docs/models/spotube-image-object
|
|
[SpotubeSimpleArtistObject]: /docs/models/spotube-artist-objects#spotubesimpleartistobject
|