Get Purchases Count
GET/users/:id/purchases/count
Gets the count of purchases the user has made
Request
Path Parameters
id stringrequired
A User ID
Query Parameters
user_id string
The user ID of the user making the request
content_ids string[]
Filters purchases by track or album IDs
Header Parameters
Encoded-Data-Message string
The data that was signed by the user for signature recovery
Encoded-Data-Signature string
The signature of data, used for signature recovery
Responses
- 200
Success
- application/json
- Schema
- Example (from schema)
Schema
latest_chain_block integerrequired
latest_indexed_block integerrequired
latest_chain_slot_plays integerrequired
latest_indexed_slot_plays integerrequired
signature stringrequired
timestamp stringrequired
version
object
required
service stringrequired
version stringrequired
data integer
{
"latest_chain_block": 0,
"latest_indexed_block": 0,
"latest_chain_slot_plays": 0,
"latest_indexed_slot_plays": 0,
"signature": "string",
"timestamp": "string",
"version": {
"service": "string",
"version": "string"
},
"data": 0
}
Loading...