curl --request GET \
--url https://api.royalti.io/defaultsettings/templates/popular \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Popular templates retrieved successfully",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "content",
"entityType": "catalog",
"settings": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"description": "<string>",
"isPublic": true,
"isSystem": false,
"usageCount": 0,
"tags": [
"<string>"
],
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}GET /defaultsettings/templates/popular
curl --request GET \
--url https://api.royalti.io/defaultsettings/templates/popular \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Popular templates retrieved successfully",
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"category": "content",
"entityType": "catalog",
"settings": {
"content": {
"type": "Audio",
"format": "Single",
"version": "<string>",
"explicit": "explicit",
"language": "<string>",
"mainGenre": [
"<string>"
],
"subGenre": [
"<string>"
],
"contributors": {}
},
"business": {
"label": "<string>",
"copyright": "<string>",
"publisher": "<string>",
"copyrightOwner": "<string>",
"distribution": "<string>",
"status": "Live"
},
"ddex": {
"enableDDEX": true,
"labelName": "<string>",
"resourceReference": "<string>",
"grid": "<string>",
"icpn": "<string>"
},
"validation": {
"requireGenre": true,
"requireLyrics": true,
"requireDescription": true,
"minimumTrackCount": 1,
"maximumTrackCount": 2
}
},
"description": "<string>",
"isPublic": true,
"isSystem": false,
"usageCount": 0,
"tags": [
"<string>"
],
"createdBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
}GET
Query Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
| category | string | Filter by category | No |
| limit | integer | Number of results (default: 10) | No |
const response = await fetch('https://api.royalti.io/defaultsettings/templates/popular', {
method: 'GET',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
content, business, ddex, validation 1 <= x <= 50