Update Appearance Configuration
Updates the current appearance configuration for this portal including setting pre-defined or custom themes, fonts, colors, and images. Note that portals using the fully-customizable portal client may override or ignore these settings by disregarding them in the code.
Path parameters
The Portal identifier
Request body
Example request
{
"theme_name": "custom",
"use_custom_fonts": true,
"custom_theme": {
"colors": {
"section": {
"header": {
"value": "#F8F8F8",
"description": "Background for header"
},
"body": {
"value": "#FFFFFF",
"description": "Background for main content"
},
"hero": {
"value": "#F8F8F8",
"description": "Background for hero section"
},
"accent": {
"value": "#F8F8F8",
"description": "Subtle background"
},
"tertiary": {
"value": "#FFFFFF",
"description": "Tertiary background"
},
"stroke": {
"value": "rgba(0,0,0,0.1)",
"description": "Border color"
},
"footer": {
"value": "#07A88D",
"description": "Background for footer"
}
},
"text": {
"header": {
"value": "rgba(0,0,0,0.8)",
"description": "Header text"
},
"hero": {
"value": "#FFFFFF",
"description": "Hero text"
},
"headings": {
"value": "rgba(0,0,0,0.8)",
"description": "Headings text"
},
"primary": {
"value": "rgba(0,0,0,0.8)",
"description": "Main content text"
},
"secondary": {
"value": "rgba(0,0,0,0.8)",
"description": "Supporting text"
},
"accent": {
"value": "#07A88D",
"description": "Subtle text"
},
"link": {
"value": "#07A88D",
"description": "Link text"
},
"footer": {
"value": "#FFFFFF",
"description": "Footer text"
}
},
"button": {
"primary_fill": {
"value": "#1155CB",
"description": "Background for Primary Button"
},
"primary_text": {
"value": "#FFFFFF",
"description": "Text for Primary Button"
}
}
}
},
"custom_fonts": {
"base": "Roboto",
"code": "Roboto",
"headings": "Roboto"
},
"text": {
"catalog": {
"welcome_message": "Welcome",
"primary_header": "Come one in!"
}
},
"images": {
"favicon": {
"data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
"filename": "favicon.ico"
},
"logo": {
"data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
"filename": "logo.png"
},
"catalog_cover": {
"data": "data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU="
}
}
}Response
Details about the appearance settings being updated.
Example response
{
"theme_name": "custom",
"use_custom_fonts": true,
"custom_theme": {
"colors": {
"section": {
"header": {
"value": "#F8F8F8",
"description": "Background for header"
},
"body": {
"value": "#FFFFFF",
"description": "Background for main content"
},
"hero": {
"value": "#F8F8F8",
"description": "Background for hero section"
},
"accent": {
"value": "#F8F8F8",
"description": "Subtle background"
},
"tertiary": {
"value": "#FFFFFF",
"description": "Tertiary background"
},
"stroke": {
"value": "rgba(0,0,0,0.1)",
"description": "Border color"
},
"footer": {
"value": "#07A88D",
"description": "Background for footer"
}
},
"text": {
"header": {
"value": "rgba(0,0,0,0.8)",
"description": "Header text"
},
"hero": {
"value": "#FFFFFF",
"description": "Hero text"
},
"headings": {
"value": "rgba(0,0,0,0.8)",
"description": "Headings text"
},
"primary": {
"value": "rgba(0,0,0,0.8)",
"description": "Main content text"
},
"secondary": {
"value": "rgba(0,0,0,0.8)",
"description": "Supporting text"
},
"accent": {
"value": "#07A88D",
"description": "Subtle text"
},
"link": {
"value": "#07A88D",
"description": "Link text"
},
"footer": {
"value": "#FFFFFF",
"description": "Footer text"
}
},
"button": {
"primary_fill": {
"value": "#1155CB",
"description": "Background for Primary Button"
},
"primary_text": {
"value": "#FFFFFF",
"description": "Text for Primary Button"
}
}
}
},
"custom_fonts": {
"base": "Roboto",
"code": "Roboto",
"headings": "Roboto"
},
"text": {
"catalog": {
"welcome_message": "Welcome",
"primary_header": "Come one in!"
}
},
"images": {
"favicon": {
"data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
"filename": "favicon.ico"
},
"logo": {
"data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
"filename": "logo.png"
},
"catalog_cover": {
"data": "data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU="
}
}
}Changes
Changed in 6 of the 52 revisions of this API.3049
- ○
response property
allOf[V2PortalAppearance]/custom_fontsdeprecatedresponse-property-deprecated
- ○
response property
allOf[V2PortalAppearance]/custom_themedeprecatedresponse-property-deprecated
- ○
response property
allOf[V2PortalAppearance]/imagesdeprecatedresponse-property-deprecated
- ○
response property
allOf[V2PortalAppearance]/textdeprecatedresponse-property-deprecated
- ○
response property
allOf[V2PortalAppearance]/theme_namedeprecatedresponse-property-deprecated
- ○
response property
allOf[V2PortalAppearance]/use_custom_fontsdeprecatedresponse-property-deprecated
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
typeenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/button/primary_fill/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/button/primary_text/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/accent/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/body/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/footer/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/header/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/hero/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/stroke/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/section/tertiary/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/accent/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/footer/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/header/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/headings/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/hero/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/link/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/primary/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/custom_theme/colors/text/secondary/descriptionbecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/images/catalog_cover/filenamebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/images/favicon/filenamebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[V2PortalAppearance]/images/logo/filenamebecame nullable for the status200response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
detailbecame nullable for the status401response-property-became-nullable
- ▲
the response property
instancebecame nullable for the status401response-property-became-nullable
- ▲
the response property
statusbecame nullable for the status401response-property-became-nullable
- ▲
the response property
titlebecame nullable for the status401response-property-became-nullable
This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added
V2PortalAppearanceto the response bodyallOflist for the response status200response-body-all-of-added
- ○
removed
PortalAppearancefrom the response bodyallOflist for the response status200response-body-all-of-removed
This revision also has 40 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
added the new
missing_referenceenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
- ●
- ▲
added
InvalidParameterMaximumLengthto theallOf[subschema #2]/invalid_parameters/items/response propertyoneOflist for the response status400response-property-one-of-added
- ●
added the new
minenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ●
added the new
min_itemsenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/ruleresponse property for the response status400response-property-enum-value-added
- ○
removed the
max_lengthenum value from theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-removed
This revision also has 88 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲