Create a new project theme config
curl --request POST \
--url https://api.kameleoon.com/project-theme-config \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"defaultThemeId": 123,
"id": 123,
"themes": [
{
"projectIds": [
123
],
"colors": [
{
"id": "<string>",
"value": "<string>"
}
],
"components": [
"<string>"
],
"customFonts": [
{
"fontFamily": "<string>",
"fontSrc": "<string>",
"fontWeights": [
"<string>"
],
"id": "<string>",
"importSrc": "<string>"
}
],
"description": "<string>",
"id": 123,
"name": "<string>",
"selectedFonts": [
{
"id": "<string>"
}
],
"tags": [
"<string>"
],
"widgetIds": [
123
]
}
]
}
'{
"projectId": 123,
"defaultThemeId": 123,
"id": 123,
"themes": [
{
"projectIds": [
123
],
"colors": [
{
"id": "<string>",
"value": "<string>"
}
],
"components": [
"<string>"
],
"creationDate": "2023-11-07T05:31:56Z",
"customFonts": [
{
"fontFamily": "<string>",
"fontSrc": "<string>",
"fontWeights": [
"<string>"
],
"id": "<string>",
"importSrc": "<string>"
}
],
"dateModified": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": 123,
"name": "<string>",
"selectedFonts": [
{
"id": "<string>"
}
],
"tags": [
"<string>"
],
"widgetIds": [
123
]
}
]
}ProjectThemeConfig
Create a new project theme config
Create a new project theme config with given parameters
POST
/
project-theme-config
Create a new project theme config
curl --request POST \
--url https://api.kameleoon.com/project-theme-config \
--header 'Content-Type: application/json' \
--data '
{
"projectId": 123,
"defaultThemeId": 123,
"id": 123,
"themes": [
{
"projectIds": [
123
],
"colors": [
{
"id": "<string>",
"value": "<string>"
}
],
"components": [
"<string>"
],
"customFonts": [
{
"fontFamily": "<string>",
"fontSrc": "<string>",
"fontWeights": [
"<string>"
],
"id": "<string>",
"importSrc": "<string>"
}
],
"description": "<string>",
"id": 123,
"name": "<string>",
"selectedFonts": [
{
"id": "<string>"
}
],
"tags": [
"<string>"
],
"widgetIds": [
123
]
}
]
}
'{
"projectId": 123,
"defaultThemeId": 123,
"id": 123,
"themes": [
{
"projectIds": [
123
],
"colors": [
{
"id": "<string>",
"value": "<string>"
}
],
"components": [
"<string>"
],
"creationDate": "2023-11-07T05:31:56Z",
"customFonts": [
{
"fontFamily": "<string>",
"fontSrc": "<string>",
"fontWeights": [
"<string>"
],
"id": "<string>",
"importSrc": "<string>"
}
],
"dateModified": "2023-11-07T05:31:56Z",
"description": "<string>",
"id": 123,
"name": "<string>",
"selectedFonts": [
{
"id": "<string>"
}
],
"tags": [
"<string>"
],
"widgetIds": [
123
]
}
]
}Body
application/json
Was this page helpful?
⌘I