Skip to main content
GET
/
releases
/
stats
Get Release Statistics
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/releases/stats \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total": 123,
    "totalPublished": 123,
    "totalDrafts": 123,
    "totalRejected": 123,
    "totalPending": 123,
    "totalScheduled": 123,
    "mainGenre": [
      "Pop"
    ],
    "subGenre": [
      "Alternative R&B"
    ],
    "contributors": [
      {
        "role": "Producer",
        "name": "John Doe",
        "isni": "0000000123456789"
      }
    ],
    "metadata": {},
    "explicit": null
  }
}

GET /releases/stats

This endpoint retrieves comprehensive statistics about releases, including counts by status, format, type, and recent activity.

Authentication

This endpoint requires authentication. Include your bearer token in the Authorization header.

Responses

āœ… 200 - Success

āš ļø 401 - Unauthorized

āŒ 500 - Internal Server Error

Tags

Release

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Response

Success

success
boolean
Example:

true

data
object
⌘I