Create Default Setting (Entity-Specific)
Default Settings
Create Default Setting (Entity-Specific)
POST /defaultsettings//
POST
Create Default Setting (Entity-Specific)
Description
POST /defaultsettings// Description: Create a new default setting for a specific entity (label, artist, or user). Each entity can have one setting per category. Entity Types (for this endpoint):label- Label-specific defaults (entityId required)artist- Artist-specific defaults (entityId required)user- User-specific defaults (entityId required)
POST /defaultsettings/{entityType} endpoint instead (without entityId).
Validation:
- Entity must exist (for label/artist/user types)
- Only one setting per entity + category combination
- Settings are automatically validated against the category schema
POST
Path Parameters:
| Parameter | Type | Description | Required |
|---|---|---|---|
| entityType | string | Type of entity (label, artist, or user) | Yes |
| entityId | uuid | Entity ID | Yes |
| Parameter | Type | Description | Required |
|---|---|---|---|
| category | string | Settings category (content, business, ddex, validation) | Yes |
| settings | object | Settings data matching the category schema | Yes |
| priority | integer | Priority for conflict resolution (default: 0) | No |
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
Type of entity (label, artist, or user only)
Available options:
label, artist, user Entity ID
Body
application/json