add stats to artist and album endpoints

return artist albums and other versions
This commit is contained in:
cwilvx
2024-10-15 15:30:35 +03:00
parent 26df5ba81d
commit be4a442a3b
5 changed files with 169 additions and 51 deletions
+2
View File
@@ -80,6 +80,7 @@ class AlbumLimitSchema(BaseModel):
description="The number of albums to return",
example=Defaults.API_CARD_LIMIT,
default=Defaults.API_CARD_LIMIT,
alias="albumlimit",
)
@@ -92,4 +93,5 @@ class ArtistLimitSchema(BaseModel):
description="The number of artists to return",
example=Defaults.API_CARD_LIMIT,
default=Defaults.API_CARD_LIMIT,
alias="artistlimit",
)