customBranding
Fetch a custom branding configuration.
spaceId is optional:
- When spaceId is omitted, the configuration for the caller's own account is returned. The accountId is derived from the caller's JWT (not supplied in the payload). Returns null when the caller's account has no existing configuration.
- When spaceId is supplied, the configuration of that space's creator account is returned. The space's creator accountId is resolved from the space, then its existing configuration is looked up. Returns null when the space's creator has no existing configuration.
Authorization (spaceId path): the caller's account must have access to the space's account group (be a member account of the space, or its creator).
An example of the request is as follows:
query {
customBranding(spaceId: "b1c2d3e4-...") {
id
status
configurations {
themePreset
fontFamily
logoImageUrl
bannerImageUrl
bannerTitle
bannerSubtitle
bannerTextColor
}
}
}
customBranding(
spaceId: ID
): CustomBranding
Arguments
customBranding.spaceId ● ID scalar miscellaneous
Type
CustomBranding object catalog-service
A custom branding configuration owned by an account.
Was this topic helpful?