GET
/
product
/
Get Products
curl --request GET \
  --url https://server26-dot-royalti-project.uc.r.appspot.com/product/ \
  --header 'Authorization: Bearer <token>'
{
  "message": "Products retrieved successfully",
  "products": [
    {
      "id": "77339e1c-f962-447c-bf13-8fc047d4f8d2",
      "title": "Mavins sabi girl",
      "displayArtist": "arya star",
      "type": "Audio",
      "upc": "AB12fdfdg348vvfv67890ff",
      "status": "Live"
    }
  ],
  "total": 50,
  "page": 1,
  "size": 10
}

Authorizations

Authorization
string
header
required

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

Query Parameters

q
string

Search query to filter products

page
integer
default:1

Page number for pagination

size
integer
default:10

Number of products per page

sort
string
default:updatedAt

Field to sort by

order
enum<string>
default:desc

Sort order ('asc' or 'desc')

Available options:
asc,
desc
artist
string

Filter by artist ID(s). Comma-separated for multiple

type
string

Filter by product type

splits
boolean
default:false

Whether to include splits information

statistics
boolean
default:false

Whether to include statistical data

Response

200
application/json

Success

The response is of type object.