Update project theme config
PUT/project-theme-config/:projectId
Update project theme config with given id
Request
Path Parameters
The Id of the project
- application/json
Body
required
Array [
Array [
]
Array [
]
Array [
]
]
Possible values: [MANDATORY, OPTIONAL]
themes
object[]
colors
object[]
Possible values: [COLOR, GRADIENT]
customFonts
object[]
selectedFonts
object[]
Possible values: [DEFAULT, CUSTOM]
Possible values: [ACTIVE, DRAFT, PAUSED]
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
Possible values: [MANDATORY, OPTIONAL]
themes
object[]
colors
object[]
Possible values: [COLOR, GRADIENT]
customFonts
object[]
selectedFonts
object[]
Possible values: [DEFAULT, CUSTOM]
Possible values: [ACTIVE, DRAFT, PAUSED]
{
"defaultThemeId": 0,
"id": 0,
"projectId": 0,
"themeUsage": "MANDATORY",
"themes": [
{
"colors": [
{
"id": "string",
"type": "COLOR",
"value": "string"
}
],
"components": [
"string"
],
"creationDate": "2024-07-29T15:51:28.071Z",
"customFonts": [
{
"fontFamily": "string",
"fontSrc": "string",
"fontWeights": [
"string"
],
"id": "string",
"importSrc": "string"
}
],
"dateModified": "2024-07-29T15:51:28.071Z",
"description": "string",
"id": 0,
"name": "string",
"projectIds": [
0
],
"selectedFonts": [
{
"id": "string",
"type": "DEFAULT"
}
],
"status": "ACTIVE",
"tags": [
"string"
],
"widgetIds": [
0
]
}
]
}
Bad Request
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Unauthorized
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Forbidden
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Not Found
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Unprocessable Entity
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Locked
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Internal Server Error
- */*
- Schema
- Example (from schema)
Schema
Possible values: [SUCCESS, ERROR]
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}