Add daily play counts to the song detail endpoint
Scopes listen_counts() to a single artist/track, the same way recent() was scoped for song history, so the song page can drive a per-track activity chart over the last 90 days. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bef41fc2cc
commit
86bf9fd302
5 files changed
+37
-2
No files matched your search
@@ -3918,6 +3918,13 @@
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Scrobble"
|
||||
}
|
||||
},
|
||||
"counts": {
|
||||
"type": "array",
|
||||
"description": "Daily plays over the last 90 days",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/Count"
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
|
||||
Reference in new issue
Block a user