Branding Preferences API
The Branding Preferences API (version v1).
Download the OpenAPI definition (YAML)
Security schemes
BasicAuth: HTTP basic
OAuth2: oauth2
authorizationCode flow, token URL https://localhost:9443/oauth2/token, authorization URL https://localhost:9443/oauth2/authorize
Branding Preference
Get branding preference of a tenant.
GET /branding-preference
This API provides the capability to retrieve the branding preference of a tenant/specific application.
If there is no branding preference available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no branding preference available for the requested application, API will check for the tenant's branding preference and return it.
Scope(Permission) required: None
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | BrandingPreferenceModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Update branding preferences of a tenant.
PUT /branding-preference
This API provides the capability to update the branding preference of a tenant/application.
Scope(Permission) required: internal_branding_preference_update
Request body (required): application/json
This represents the branding preferences to be updated.
Schema: BrandingPreferenceModel
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
preference | object | Yes | This is the JSON structured branding preference |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successfully updated | BrandingPreferenceModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Add branding preferences for a tenant.
POST /branding-preference
This API provides the capability to add a custom branding preference for a tenant/application.
Currently this API provides the capability to only configure tenant wise branding preference for 'en-US' locale.
Scope(Permission) required: internal_branding_preference_update
Request body (required): application/json
This represents the branding preferences to be added.
Schema: BrandingPreferenceModel
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
preference | object | Yes | This is the JSON structured branding preference |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Successfully created. | BrandingPreferenceModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
409 | Conflict. | Error |
500 | Internal server error. | Error |
501 | Not Implemented. | Error |
Deletes branding preferences of a tenant.
DEL /branding-preference
This API provides the capability to delete the branding preferences of a tenant/application.
Scope(Permission) required: internal_branding_preference_update
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Successfully deleted. | |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Resolve branding preference of an organization.
GET /branding-preference/resolve
This API provides the capability to retrieve the branding preference of an organization/specific application.
If there is no branding preference available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no branding preference available for the requested application, API will check for the organization's branding preference and return it.
Scope(Permission) required: None
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. | |
restrictToPublished | query | boolean | Specifies whether to limit resolving to published branding preferences. If set to true, branding preference will be resolved only using published branding preferences. If set to false, branding preference will be resolved using both published and unpublished branding preferences. Default: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | BrandingPreferenceModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Custom Text
Get Custom text of a tenant.
GET /branding-preference/text
This API provides the capability to retrieve the existing custom text configurations of a tenant for the specified screen and locale.
If there is no custom texts available for the requested locale, API will check for the default locale('en-US') and return it.
Scope(Permission) required: None
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. | |
screen | query | string | Screen to filter the retrieval of customizations. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | CustomTextModel |
400 | Invalid input in the request. | Error |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Update custom text of a tenant.
PUT /branding-preference/text
This API provides the capability to update the custom texts for the specified screen & locale.
Scope(Permission) required: internal_branding_preference_update
Request body (required): application/json
This represents the custom text content to be updated for the specified screen & locale.
Schema: CustomTextModel
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
screen | string | Yes | |
preference | object | Yes | This is the JSON structured branding preference |
Responses
| Code | Description | Schema |
|---|---|---|
200 | Successfully updated | CustomTextModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Add custom text for a tenant.
POST /branding-preference/text
This API provides the capability to add custom texts for the specified screen & locale.
Scope(Permission) required: internal_branding_preference_update
Request body (required): application/json
This represents the custom text to be added.
Schema: CustomTextModel
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
screen | string | Yes | |
preference | object | Yes | This is the JSON structured branding preference |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Successfully created. | CustomTextModel |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
409 | Conflict. | Error |
500 | Internal server error. | Error |
501 | Not Implemented. | Error |
Deletes custom text.
DEL /branding-preference/text
This API provides the capability to delete the custom texts for the specified screen & locale of a tenant.
If no query parameter was specified in the delete request, all the custom texts configured in the tenant will be deleted.
Scope(Permission) required: internal_branding_preference_update
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. | |
screen | query | string | Screen to filter the retrieval of customizations. |
Responses
| Code | Description | Schema |
|---|---|---|
204 | Successfully deleted. | |
400 | Invalid input in the request. | Error |
401 | Authentication information is missing or invalid. | |
403 | Access forbidden. | |
500 | Internal server error. | Error |
Resolve custom text of an organization.
GET /branding-preference/text/resolve
This API provides the capability to retrieve the custom text configurations of an organization/specific application.
If there is no custom text available for the requested locale, API will check for the default locale('en-US') and return it.
If there is no custom text available for the requested organization, API will check for the parent organization's custom text configurations and return it.
Scope(Permission) required: None
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
type | query | string | Type to filter the retrieval of customizations. Allowed values: | |
name | query | string | Tenant/Application name to filter the retrieval of customizations. | |
locale | query | string | Locale to filter the retrieval of customizations. | |
screen | query | string | Screen to filter the retrieval of customizations. |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | CustomTextModel |
400 | Invalid input in the request. | Error |
404 | Requested resource is not found. | Error |
500 | Internal server error. | Error |
Schemas
BrandingPreferenceModel
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
preference | object | Yes | This is the JSON structured branding preference |
CustomTextModel
Type: object
5 properties
| Name | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Allowed values: |
name | string | ||
locale | string | Default: | |
screen | string | Yes | |
preference | object | Yes | This is the JSON structured branding preference |
Error
Type: object
4 properties
| Name | Type | Required | Description |
|---|---|---|---|
code | string | Yes | |
message | string | Yes | |
description | string | ||
traceId | string |
Was this page helpful?