fm.teal.stats.getUserTopArtists
Get a user's top artists by play count
Details · query
| Kind | query |
|---|---|
| Authority | stats.teal.fm |
| Indexed |
Checks
Validmissing-primary-descriptiondefs.mainThe query has no description.unlimited-stringdefs.main.parameters.properties.cursorNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.parameters.properties.periodNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.cursorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"artists": {
"items": {
"ref": "fm.teal.stats.defs#artistView",
"type": "ref"
},
"type": "array"
},
"cursor": {
"description": "Next page cursor",
"type": "string"
}
},
"required": [
"artists"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "The user's DID or handle",
"format": "at-identifier",
"type": "string"
},
"cursor": {
"description": "Pagination cursor",
"type": "string"
},
"limit": {
"default": 50,
"description": "Number of artists to return",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"period": {
"default": "30days",
"description": "Time period for top artists",
"enum": [
"30days",
"7days"
],
"type": "string"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"description": "Get a user's top artists by play count",
"id": "fm.teal.stats.getUserTopArtists",
"lexicon": 1
}