👰Get Creator from Profile

Get Creator from user profile username

Fetches the top 10 songs and models of a creator based on their username, along with favorite statuses and some aggregate statistics.

GET /get/creator/creatorFromUsername/:username

Request Headers

  • Content-Type: application/json

Request Parameters

  • username (string) - The username of the creator.

  • userId (string) - (Optional) The ID of the user making the request, used to fetch user-specific favorite statuses.

Response

{
  "songs": [
    {
      "song": {
        "name": "string",
        "uploaderId": "string",
        "streamCount": "number",
        "favoriteCount": "number",
        // Other song fields
      },
      "isFavorite": "boolean"
    }
  ],
  "songModels": [
    {
      "model": {
        "name": "string",
        "creator": "string",
        "favoriteCount": "number",
        // Other model fields
      },
      "isFavorite": "boolean"
    }
  ],
  "models": [
    {
      "model": {
        "name": "string",
        "creator": "string",
        "favoriteCount": "number",
        // Other model fields
      },
      "isFavorite": "boolean"
    }
  ],
  "songsUsingModels": [
    {
      "song": {
        "name": "string",
        "uploaderId": "string",
        "streamCount": "number",
        // Other song fields
      },
      "model": {
        "name": "string",
        "creator": "string",
        // Other model fields
      }
    }
  ],
  "user": {
    "id": "string",
    "username": "string",
    // Other user fields
  },
  "artistUrl": "string",
  "totalLikes": "number",
  "totalStreams": "number",
  "totalDownloads": "number"
}

Last updated