Share Track
POST/tracks/:track_id/shares
Record a track share event
Request
Path Parameters
track_id stringrequired
A Track ID
Query Parameters
user_id stringrequired
User ID
Responses
- 200
- 401
- 404
- 500
Track share recorded successfully
- application/json
- Schema
- Example (from schema)
Schema
success boolean
Whether the operation was successful
transaction_hash string
The blockchain transaction hash
{
"success": true,
"transaction_hash": "string"
}
Unauthorized
Track not found
Server error
Loading...