Skip to main content

Sites Model

Overview

The sites table is used to configure and manage individual site instances or tenants in a multi-tenant or SaaS-style architecture. Each site has its own branding, features, preferences, and configurations.

Fields

FieldTypeDescriptionRequired
idstringA unique identifier for the site.
siteNamestringThe name assigned to the site.
isEndUserLicenseAgreementEnabledbooleanisEndUserLicenseAgreementEnabled field
storageTypeanySpecifies the type of storage used by the site.
selectedLanguagesanyContains the languages selected for the site.
siteUrlstringThe base URL of the site (used for routing, branding, etc.).
installUrlstringInstallation or onboarding URL for the site setup.
sitelogostringPath or URL to the logo used for this site (for branding).
descriptionstringDescription of the site’s purpose, client, or context.
idleTimenumberThe amount of idle time before a session timeout.
isActivebooleanIndicates if the site is currently active or deactivated (1 = active).
storagePathanyThe storage path where site-related data is stored
liecensesstringInformation about the licenses associated with the site.
created_atdateThe date and time when the site was created.
modified_atdateThe date and time when the site was last modified.
ignoreSSLbooleanA flag indicating whether SSL verification is ignored.
enableElasticSearchbooleanA flag indicating whether Elasticsearch is enabled for the site.
isSocketEnabledbooleanisSocketEnabled field
ignoreDeviceInfobooleanA flag determining whether device information is ignored.
defaultOrgstringThe default organization associated with the site.
resignDurationnumberTime (in minutes or seconds) after which digital signatures (or token-based signatures) expire or must be re-entered.
isSystemGeneratedbooleanA flag indicating whether the site was system-generated.
buildTypesarraySpecifies the types of builds associated with the site.
pinFormatstringFormat for the site’s PIN (personal identification number), if used.
pinLengthnumberThe required length for a PIN used on the site.
typestringSpecifies the type or category of the site.
footerMenusarrayContains details about the footer menus of the site.
publicSitesarrayList or flag indicating if the site is accessible publicly (i.e., without login), could include allowed routes/pages.

Relationships

  • Hasmany Unknown
  • Hasone Unknown
  • Hasmany Unknown

Sample JSON

{
"id": "example_value",
"siteName": "example_value",
"isEndUserLicenseAgreementEnabled": "example_value",
"storageType": "example_value",
"selectedLanguages": "example_value",
"siteUrl": "example_value",
"installUrl": "example_value",
"sitelogo": "example_value",
"description": "example_value",
"idleTime": "example_value",
"isActive": "example_value",
"storagePath": "example_value",
"liecenses": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"ignoreSSL": "example_value",
"enableElasticSearch": "example_value",
"isSocketEnabled": "example_value",
"ignoreDeviceInfo": "example_value",
"defaultOrg": "example_value",
"resignDuration": "example_value",
"isSystemGenerated": "example_value",
"buildTypes": "example_value",
"pinFormat": "example_value",
"pinLength": "example_value",
"type": "example_value",
"footerMenus": "example_value",
"publicSites": "example_value"
}