Resources
Resources
Canonical metadata resource types.
All resources share the same core shape.
type Type = "song" | "album" | "artist";
interface Resource {
id: `omm:${Type}:${string}`;
type: Type;
}Relationships
Only these relationships exist, and they are always returned:
| Resource | Relationships |
|---|---|
song | albums, artists |
album | artists |
Value formats
releaseDateisYYYY,YYYY-MMorYYYY-MM-DD.genresis omitted when empty, never an empty array.artworkUrlmay contain{w}and{h}placeholders, see API Specifications.artistNamesis ordered by name.