Skip to main content

Apps Model

Overview

The apps table is designed to store information about applications registered within the system. It contains details about the app's domain, authentication credentials, associated users, business applications, and organizational relationships.

Fields

FieldTypeDescriptionRequired
idstringPrimary Key – Unique identifier for each app (typically a UUID).
appNamestringThe Name of the Application
appDomainstringThe domain or URL associated with the application
appDescriptionanyA detailed description of the application, including its purpose, features, or capabilities.
clientIdstringThe client identifier used for authentication (OAuth or API-based apps).
clientSecretstringA secret key used in conjunction with the clientId for authentication in OAuth2 flows or API calls.
useranyRepresents the users associated with the application. This may include a list of user roles or permissions in a serialized format.
businessApplicationanyDescribes the business context or application under which the app operates. This could relate to business processes, modules, or departments.
scopesobjectDefines the scopes or permissions assigned to this application (e.g., read, write, admin).
statusbooleanBoolean flag indicating whether the app is active (1) or inactive (0).
created_atdateTimestamp of when the app was created.
modified_atdateTimestamp of when the app was last modified.
sites_idstringThe ID of the site or environment where the application is deployed or active.
org_idstringThe ID of the organization to which the application belongs.
application_idstringReference to an existing application in the applications table.

Sample JSON

{
"id": "example_value",
"appName": "example_value",
"appDomain": "example_value",
"appDescription": "example_value",
"clientId": "example_value",
"clientSecret": "example_value",
"user": "example_value",
"businessApplication": "example_value",
"scopes": "example_value",
"status": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"sites_id": "example_value",
"org_id": "example_value",
"application_id": "example_value"
}