Partially update project theme config
PATCH/project-theme-config/:projectId
Update several fields of the project theme config
Request
Path Parameters
projectId int64required
The Id of the project
Example: 100000
- application/json
Body
required
object
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 423
- 500
OK
- */*
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
Array [
]
]
defaultThemeId int64
id int64
projectId int64required
themeUsage stringrequired
Possible values: [MANDATORY, OPTIONAL]
themes
object[]
colors
object[]
id string
type string
Possible values: [COLOR, GRADIENT]
value string
components string[]
creationDate date-time
customFonts
object[]
fontFamily string
fontSrc string
fontWeights string[]
id string
importSrc string
dateModified date-time
description string
id int64
name string
projectIds int64[]required
selectedFonts
object[]
id string
type string
Possible values: [DEFAULT, CUSTOM]
status string
Possible values: [ACTIVE, DRAFT, PAUSED]
tags string[]
widgetIds int64[]
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"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
code string
impersonator string
message string
name string
status string
Possible values: [SUCCESS, ERROR]
sub string
time int64
timestamp date-time
{
"code": "string",
"impersonator": "string",
"message": "string",
"name": "string",
"status": "SUCCESS",
"sub": "string",
"time": 0,
"timestamp": "2024-07-29T15:51:28.071Z"
}
Loading...