CustomCss

JSON representation
{
  "status": string,
  "message": string,
  "requestId": string,
  "errorCode": string,
  "data": {
    object (CustomCssData)
  }
}
Fields
status

string

Status of the operation.

message

string

Description of the operation.

requestId

string

ID that can be used to find request details in the log files.

errorCode

string

ID that can be used to find errors in the log files.

data

object (CustomCssData)

Details of the custom CSS.

CustomCssData

JSON representation
{
  "siteId": string,
  "enabled": boolean,
  "css": string,
  "created": string,
  "published": string,
  "modified": string,
  "variablesDraft": string,
  "overridesDraft": string,
  "customScssDraft": string,
  "editorModeDraft": enum (EditorMode),
  "variablesPublished": string,
  "overridesPublished": string,
  "customScssPublished": string,
  "editorModePublished": enum (EditorMode),
  "migrationState": enum (MigrationState),
  "compilationError": string,
  "isThemeEditorEnabled": boolean,
  "logoUrlDraft": string,
  "mobileLogoUrlDraft": string,
  "faviconUrlDraft": string,
  "logoUrlPublished": string,
  "mobileLogoUrlPublished": string,
  "faviconUrlPublished": string,
  "id": integer
}
Fields
siteId

string

Name of the portal.

enabled

boolean

Boolean flag that specifies whether the custom CSS is enabled.

css

string

CSS content of the portal.

created

string (int64 format)

Time the custom CSS was created in milliseconds since epoch.

published

string (int64 format)

Time the custom CSS was last published in milliseconds since epoch.

modified

string (int64 format)

Time the custom CSS was last updated in milliseconds since epoch.

variablesDraft

string

Basic style settings (draft).

overridesDraft

string

Variable overrides (draft).

customScssDraft

string

Custom style overrides (draft).

editorModeDraft

enum (EditorMode)

Editor mode (draft).

variablesPublished

string

Basic style settings (published).

overridesPublished

string

Variable overrides (published).

customScssPublished

string

Custom style overrides (published).

editorModePublished

enum (EditorMode)

Editor mode (published).

migrationState

enum (MigrationState)

Migration status of portal.

compilationError

string

Compilation error, if applicable.

isThemeEditorEnabled

boolean

Boolean flag that specifies whether theme editor is enabled.

logoUrlDraft

string

URL for desktop logo (draft).

mobileLogoUrlDraft

string

URL for mobile logo (draft).

faviconUrlDraft

string

URL for favicon (draft).

logoUrlPublished

string

URL for desktop logo (published).

mobileLogoUrlPublished

string

URL for mobile logo (published).

faviconUrlPublished

string

URL for favicon (published).

id

integer

ID of the custom CSS.

MigrationState

Migration state of the portal.

Enums
MIGRATION_STATE_UNSPECIFIED Migration state not specified.
NOT_MIGRATED Portal not migrated.
MIGRATED Portal migrated.