curl --request GET \
--url https://api.royalti.io/defaultsettings/templates \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Templates retrieved successfully",
"data": {
"templates": [
{
"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"
}
],
"count": 123,
"limit": 123,
"offset": 123
}
}GET /defaultsettings/templates
curl --request GET \
--url https://api.royalti.io/defaultsettings/templates \
--header 'Authorization: Bearer <token>'{
"success": true,
"message": "Templates retrieved successfully",
"data": {
"templates": [
{
"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"
}
],
"count": 123,
"limit": 123,
"offset": 123
}
}GET
Query Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
| category | string | Filter by category | No |
| entityType | string | Filter by entity type | No |
| isPublic | boolean | Filter by public visibility | No |
| isSystem | boolean | Filter system templates | No |
| tags | string | Comma-separated tags | No |
| search | string | Search in name/description | No |
| orderBy | string | Sort field (usageCount, name, createdAt, updatedAt) | No |
| orderDirection | string | Sort direction (ASC, DESC) | No |
| limit | integer | Results per page (default: 50) | No |
| offset | integer | Pagination offset | No |
const response = await fetch('https://api.royalti.io/defaultsettings/templates', {
method: 'GET',
});
const data = await response.json();
console.log(data);
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
content, business, ddex, validation catalog, asset, product, release Comma-separated list of tags
Search query for name/description
usageCount, name, createdAt, updatedAt ASC, DESC 1 <= x <= 100x >= 0