Your command center to manage instances, permissions and billing.
Instances
An Instance is a virtual server that stores data and runs your application code.
Marketplace
Hosts applications, tools, and various files that you can download and install into an Instance.
Partners
Partners are experts in designing, building, and maintaining apps on Insites.
Support
Contact Insites Support for bugs, feature requests, and software development help.
Instantly available virtual server with built-in
features for your entire team.
CRM
CRM helps manage relationships with customers, suppliers, and third parties efficiently.
Assets
Insites enables you to upload and manage files such as images, and documents using Assets.
CMS
Manage your application content with ease via no-code builders.
Forms
Creating forms for users to input data into the system.
Pipelines
Your instance includes 'Pipelines' to manage opportunities by creating relevant stages.
Permissions
Manage user permissions and security for your application.
Data
Insites lets users view, create, and manage databases and content via the Instance Admin.
Ecommerce
The Insites Ecommerce module provides complete management of ecommerce activities.
Locator
The Locator lets you integrate your instance with Google Maps and customize it as you wish.
Events
Insites Events lets you manage schedules, tickets, and sponsorship on your instance.
API
Integrate with any tool or platform with bespoke Endpoints.
AI
Take advantage of the latest AI technology with your data.
A cohesive set of guidelines, patterns, and assets for a consistent, user-centered design.
Design System Overview
The Insites design system is a collection of reusable components, guided by clear standards.
Component Hierarchy
Learn how to customize components and how to structure your designs so they inherit attributes.
Font Icons
A full suite of font icons to use across your project within menus, buttons and quick links.
Color Styles
Figma color styles represent variables for Insites components, enabling quick customization.
Build blazing-fast, consistent user interfaces with our web component library.
General
A wide variety or general use components such as buttons, carousel, gallery, headings, and loaders.
Layout
Useful layout components such as an accordion, backdrop, drawer, headers, modals, and more.
Data Entry
Collect data with components that include card select, checkbox, inputs, sliders, and editors.
Data Display
Create engaging interfaces with components such as Kanban boards, charts, tables, and timelines.
Tutorials, references, and examples on how to build modern web applications on Insites.
Development
Covers key topics for setting up and maintaining web applications on Insites.
Modules
Modules enable code reuse and sharing while protecting creators' intellectual property.
Pages and Layouts
Learn how to implement pages and rendering content on your Instance.
Databases and Users
Discover how to create custom data models, import/export data and manage users.
The Insites CLI Tool helps you deploy configuration
files and assets to your Insites Instance.
Get Started
Guides you through the requirements and steps to install and start using the Insites CLI Tool.
Commands and Options
Learn the commands and options for managing configurations in the Insites CLI.
Graphical User Interface
Discover how using the GUI can enhance your workflow by simplifying complex processes.
Code Linting
Automatically check your codebase for programmatic and stylistic errors when deploying.
GraphQL
A data query and manipulation language that allows you to specify the data you require.
Liquid
Liquid is a template language for creating dynamic pages, content and configurations.
API Docs
Learn about the functionalities and structure of the inbuilt API Endpoints of your instance.
Web Applications
Discover how to create your web application with step by step guides and helpful examples.
Your command center to manage instances, permissions and billing.
Instances
An Instance is a virtual server that stores data and runs your application code.
Marketplace
Hosts applications, tools, and various files that you can download and install into an Instance.
Partners
Partners are experts in designing, building, and maintaining apps on Insites.
Support
Contact Insites Support for bugs, feature requests, and software development help.
Instantly available virtual server with built-in
features for your entire team.
CRM
CRM helps manage relationships with customers, suppliers, and third parties efficiently.
Assets
Insites enables you to upload and manage files such as images, and documents using Assets.
CMS
Manage your application content with ease via no-code builders.
Forms
Creating forms for users to input data into the system.
Pipelines
Your instance includes 'Pipelines' to manage opportunities by creating relevant stages.
Permissions
Manage user permissions and security for your application.
Data
Insites lets users view, create, and manage databases and content via the Instance Admin.
Ecommerce
The Insites Ecommerce module provides complete management of ecommerce activities.
Locator
The Locator lets you integrate your instance with Google Maps and customize it as you wish.
Events
Insites Events lets you manage schedules, tickets, and sponsorship on your instance.
API
Integrate with any tool or platform with bespoke Endpoints.
AI
Take advantage of the latest AI technology with your data.
A cohesive set of guidelines, patterns, and assets for a consistent, user-centered design.
Design System Overview
The Insites design system is a collection of reusable components, guided by clear standards.
Component Hierarchy
Learn how to customize components and how to structure your designs so they inherit attributes.
Font Icons
A full suite of font icons to use across your project within menus, buttons and quick links.
Color Styles
Figma color styles represent variables for Insites components, enabling quick customization.
Build blazing-fast, consistent user interfaces with our web component library.
General
A wide variety or general use components such as buttons, carousel, gallery, headings, and loaders.
Layout
Useful layout components such as an accordion, backdrop, drawer, headers, modals, and more.
Data Entry
Collect data with components that include card select, checkbox, inputs, sliders, and editors.
Data Display
Create engaging interfaces with components such as Kanban boards, charts, tables, and timelines.
Tutorials, references, and examples on how to build modern web applications on Insites.
Development
Covers key topics for setting up and maintaining web applications on Insites.
Modules
Modules enable code reuse and sharing while protecting creators' intellectual property.
Pages and Layouts
Learn how to implement pages and rendering content on your Instance.
Databases and Users
Discover how to create custom data models, import/export data and manage users.
The Insites CLI Tool helps you deploy configuration
files and assets to your Insites Instance.
Get Started
Guides you through the requirements and steps to install and start using the Insites CLI Tool.
Commands and Options
Learn the commands and options for managing configurations in the Insites CLI.
Graphical User Interface
Discover how using the GUI can enhance your workflow by simplifying complex processes.
Code Linting
Automatically check your codebase for programmatic and stylistic errors when deploying.
GraphQL
A data query and manipulation language that allows you to specify the data you require.
Liquid
Liquid is a template language for creating dynamic pages, content and configurations.
API Docs
Learn about the functionalities and structure of the inbuilt API Endpoints of your instance.
Web Applications
Discover how to create your web application with step by step guides and helpful examples.
Your command center to manage instances, permissions and billing.
Instances
An Instance is a virtual server that stores data and runs your application code.
Marketplace
Hosts applications, tools, and various files that you can download and install into an Instance.
Partners
Partners are experts in designing, building, and maintaining apps on Insites.
Support
Contact Insites Support for bugs, feature requests, and software development help.
Instantly available virtual server with built-in features for your entire team.
CRM
CRM helps manage relationships with customers, suppliers, and third parties efficiently.
Assets
Insites enables you to upload and manage files such as images, and documents using Assets.
CMS
Manage your application content with ease via no-code builders.
Forms
Creating forms for users to input data into the system.
Pipelines
Your instance includes 'Pipelines' to manage opportunities by creating relevant stages.
Permissions
Manage user permissions and security for your application.
Data
Insites lets users view, create, and manage databases and content via the Instance Admin.
Ecommerce
The Insites Ecommerce module provides complete management of ecommerce activities.
Locator
The Locator lets you integrate your instance with Google Maps and customize it as you wish.
Events
Insites Events lets you manage schedules, tickets, and sponsorship on your instance.
API
Integrate with any tool or platform with bespoke Endpoints.
AI alpha
Take advantage of the latest AI technology with your data.
A cohesive set of guidelines, patterns, and assets for a consistent, user-centered design.
Design System Overview
The Insites design system is a collection of reusable components, guided by clear standards.
Component Hierarchy
Learn how to customize components and how to structure your designs so they inherit attributes.
Font Icons
A full suite of font icons to use across your project within menus, buttons and quick links.
Color Styles
Figma color styles represent variables for Insites components, enabling quick customization.
Build blazing-fast, consistent user interfaces with our web component library.
General
A wide variety or general use components such as buttons, carousel, gallery, headings, and loaders.
Layout
Useful layout components such as an accordion, backdrop, drawer, headers, modals, and more.
Data Entry
Collect data with components that include card select, checkbox, inputs, sliders, and editors.
Data Display
Create engaging interfaces with components such as Kanban boards, charts, tables, and timelines.
Tutorials, references, and examples on how to build modern web applications on Insites.
Development
Covers key topics for setting up and maintaining web applications on Insites.
Modules
Modules enable code reuse and sharing while protecting creators' intellectual property.
Pages and Layouts
Learn how to implement pages and rendering content on your Instance.
Databases and Users
Discover how to create custom data models, import/export data and manage users.
The Insites CLI Tool helps you deploy configuration
files and assets to your Insites Instance.
Get Started
Guides you through the requirements and steps to install and start using the Insites CLI Tool.
Commands and Options
Learn the commands and options for managing configurations in the Insites CLI.
Graphical User Interface
Discover how using the GUI can enhance your workflow by simplifying complex processes.
Code Linting
Automatically check your codebase for programmatic and stylistic errors when deploying.
GraphQL
A data query and manipulation language that allows you to specify the data you require.
Liquid
Liquid is a template language for creating dynamic pages, content and configurations.
API Docs
Learn about the functionalities and structure of the inbuilt API Endpoints of your instance.
Web Applications
Discover how to create your web application with step by step guides and helpful examples.
Objects are the types that queries and mutations return. Each object has a set of fields that you can ask for in a query. Use this page as a reference for the object types in the Insites GraphQL schema.
Avoid fields marked Deprecated in new code. Where there is a replacement, the note names it.
Code example:
Fields
Code example:
Fields
Code example:
Fields
Code example:
Fields
Code example:
Fields
Code example:
Fields
Code example:
Fields
ApiCall Notification.
Fields
Liquid code which can be used to process the response from the endpoint. You have access to "response" variable.
Liquid code to evaluate to whatever you want to send, for example a JSON.
Liquid code which should evaluate to integer. Delays invoking the job by specified number of minutes. Useful to invoke code at certain point in time, for example 1 hour before something etc. To calculate proper number you can use time_diff filter.
Form configurations which trigger the email. Deprecated. Use forms.
Forms which trigger the email.
Liquid code to evaluate to valid json of request headers.
When true, insites-cli deploy and sync do not change this object.
Name of the api call, which is used in form_configurations or mutation to trigger it.
Defines the physical path of the file.
Liquid code which should evaluate to valid request type: Get, Post, Put, Patch, Delete, Head or if you want to send binary files: Post_Multipart, Put_Multipart, Patch_Multipart.
Liquid code to evaluate to valid endpoint for the request.
Liquid code which should evaluate to true if the api call should be sent.
Code example:
Fields
Autogenerated return type of ApiCallSend.
Fields
Deprecated. Not needed.
Code example:
Fields
File content type.
File size.
When true, insites-cli deploy and sync do not change this object.
Name of the asset.
Defines the physical path of the file.
Url to the file.
Deprecated. Use deleted_at instead.
Code example:
Fields
Autogenerated return type of AssetsCreateMutation.
Fields
Code example:
Fields
ID of the assets listing object.
Code example:
Fields
ID of the assets listing create job which can be queried.
Autogenerated return type of AssetsPresignUrlsMutation.
Fields
Code example:
Fields
Direct s3 upload endpoint to which you can upload files. Make sure you include upload_url_payload with the request.
Payload you need to provide for upload_url.
Code example:
Fields
Returns true if the provided JWT is valid for the given user and has not expired yet.
Validates otp_code.
OTP code sent to user.
Allowed TOTP time drift between client and server.
Plain text password which will be matched against stored encrypted_password. Returns true if password matches.
Returns true if the provided temporary_token is valid for the given user and has not expired yet.
Authentication using provider.
Fields
Timestamp of when the record was created, automatically generated by the system.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Name of authentication provider used for creating this authentication.
Timestamp of when the record was updated, automatically generated by the system.
Authorization Policy is used to restrict access to pages and forms.
Fields
Use this status code when authorization fails; usually 404 or 403.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
Code example:
Fields
Id of the admin resource.
Type of the admin resource - Page or Form.
Id of the authorization policy.
Code example:
Fields
Background Job.
Fields
How many times the job was tried to be processed. By default the job is not retried on error.
When job has been considered as dead.
Deprecated.
Class of an error which made the job fail.
Error which made the job fail.
When job failed.
Deprecated.
Deprecated.
Deprecated.
Deprecated.
Liquid partial name path that will be executed.
Which queue is used to process the job.
Deprecated.
Deprecated.
When job will retry to run.
When job is scheduled to run.
Deprecated.
When job started to be processed.
Deprecated.
Code example:
Fields
Background Jobs Result.
Fields
Base error message.
Fields
A description of the error.
Code example:
Fields
Code example:
Fields
Code example:
Fields
Code example:
Fields
Deprecated.
Fields
Code example:
Fields
Code example:
Fields
Definition of Custom attribute.
Fields
Code example:
Fields
Timestamp of when the record was created, automatically generated by the system.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Deprecated. Use url.
Timestamp of when the record was updated, automatically generated by the system.
Image url; ex: thumb: url(version: "thumb").
Code example:
Fields
Code example:
Fields
Fetch address by name; ex: address: address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home_address: addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Timestamp of when the record was created, automatically generated by the system.
Fetch address by name; ex: address: custom_address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: custom_attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch image by name; ex: header: custom_image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat"). Deprecated. Use property_upload instead.
Id of a parent, which can other customization, user profile or user.
Class of a parent - Customization, User or UserProfile.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Used mainly for import/export, if you want to use third party service as a source of truth.
Fetch image by name; ex: header: image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: images(name: "cat"). Deprecated. Use property_upload instead.
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Fetch any property by name and returns upload details.
Defines the number of seconds for which the generated url will be accessible. Must be set if acl was set to private.
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
When sorting by distance - field contains distance to target location. Deprecated. Not supported everywhere.
Timestamp of when the record was updated, automatically generated by the system.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
Code example:
Fields
ID of the export task, which can be queried. When it is done, the task includes the URL of the zip file.
Code example:
Fields
Code example:
Fields
ID of an object.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Email Notification.
Fields
Json of the form { "file_name.jpg": { "url": "http://example.com/file.jpg" } } which defines email attachments. Liquid will be processed.
Comma separated blind carbon copy list. Liquid allowed. For example "john@example.com, jane@example.com".
Comma separated carbon copy list. Liquid allowed. For example "john@example.com, jane@example.com".
Liquid code to evaluate to valid form html. If email is triggered via form configuration, You have access to "form" variable, with data specified in the configuration.
Liquid code which should evaluate to integer. Delays invoking the job by specified number of minutes. Useful to invoke code at certain point in time, for example 1 hour before something etc. To calculate proper number you can use time_diff filter.
Form configurations which trigger the email. Deprecated. Use forms.
Forms which trigger the email.
Email address from which you would like to send the email, for example notifications@mydomain.com.
Name of the liquid layout to which the content should be injected.
Name of the liquid layout to which the content should be injected. Deprecated. Use layout.
When true, insites-cli deploy and sync do not change this object.
Name of the email, which is used in form_configurations or mutation to trigger it.
Defines the physical path of the file.
Email address to which users should reply, for example support@mydomain.com.
Liquid code to evaluate to text.
Comma separated recipient list. Liquid allowed. For example: "john@example.com, jane@example.com".
Liquid code which should evaluate to true if the email should be sent.
Code example:
Fields
Code example:
Fields
Original text that was converted to embedding.
Timestamp of when the record was created, automatically generated by the system.
Vector with 1536 dimensions, compatible with openai embeddings.
Tokens.
Timestamp of when the record was updated, automatically generated by the system.
Code example:
Fields
Code example:
Fields
Name of the constant.
Decrypted value of a constant.
Code example:
Fields
Code example:
Fields
Form configuration - deprecated, use Form.
Fields
Associated api call notifications.
Same as callback, but invoked asynchronously. Recommended for performance reason.
Delays invoking the job by specified number of minutes. Liquid allowed - useful to invoke code at certain point in time, for example 1 hour before something etc. To calculate proper number you can use time_diff filter.
Defines max number of retrying attempts in case of an error. Usually you do not want to change it.
Defines the invocaction priority, the higher the quicker timeout.
Associated authorization policies.
Liquid code to be invoked after persisting input to DB. If possible, use async callback actions instead.
Whitelist of attributes which can be persisted in the DB. On server side (callbacks, emails etc) you have access to submited values via form variable (for exapmple configuration: properties: my_var is accessible via form.properties.my_var ). Deprecated. Use fields.
Liquid code which has to evaluate to JSON. This extends/overwrites user submitted input via form, before validation. Most useful to store in DB sensitive data which you do not want user to modify, for example context.current_user.id.
Associated email notifications.
Whitelist of attributes which can be persisted in the DB. On server side (callbacks, emails etc) you have access to submited values via form variable (for exapmple fields: properties: my_var is accessible via form.properties.my_var ).
Message which you want to display to user upon validation errors.Output is available via context.flash_alert. Liquid allowed.
Message which you want to display to user after successful form submission. Output is available via context.flash_notice. Liquid allowed.
Liquid code to evaluate to valid form html. You have access to form_builder variable and form tag.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
Path or URL to which user should be redirected after successful form submission. Liquid allowed.
Defines who can submit the form. If set to anyone, please make sure to provide authorization_policies.
Response headers for the form.
Associated sms notifications.
Name of the strategy and configuration for them.
Code example:
Fields
Form configuration - deprecated, use Form.
Fields
Associated api call notifications.
Same as callback, but invoked asynchronously. Recommended for performance reason.
Delays invoking the job by specified number of minutes. Liquid allowed - useful to invoke code at certain point in time, for example 1 hour before something etc. To calculate proper number you can use time_diff filter.
Defines max number of retrying attempts in case of an error. Usually you do not want to change it.
Defines the invocaction priority, the higher the quicker timeout.
Associated authorization policies.
Liquid code to be invoked after persisting input to DB. If possible, use async callback actions instead.
Whitelist of attributes which can be persisted in the DB. On server side (callbacks, emails etc) you have access to submited values via form variable (for exapmple configuration: properties: my_var is accessible via form.properties.my_var ).
Liquid code which has to evaluate to JSON. This extends/overwrites user submitted input via form, before validation. Most useful to store in DB sensitive data which you do not want user to modify, for example context.current_user.id.
Associated email notifications.
Message which you want to display to user upon validation errors.Output is available via context.flash_alert. Liquid allowed.
Message which you want to display to user after successful form submission. Output is available via context.flash_notice. Liquid allowed.
Liquid code to evaluate to valid form html. You have access to form_builder variable and form tag.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
Path or URL to which user should be redirected after successful form submission. Liquid allowed.
Defines who can submit the form. If set to anyone, please make sure to provide authorization_policies.
Associated sms notifications.
Name of the strategy and configuration for them.
Code example:
Fields
Autogenerated return type of FormSubmit.
Fields
Includes one of model or user, depending on which form was submitted.
Validation error messages based on form fields.
Code example:
Fields
Graphql query or mutation.
Fields
Graphql query string.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
Code example:
Fields
When true, insites-cli deploy and sync do not change this object.
Name of the graph query.
Defines the physical path of the file.
The query.
Code example:
Fields
Code example:
Fields
Returns array of configured authentication providers.
Returns a String with the last requested path including their params. /foo?bar.
Returns the original request URL as a String. # => "http://www.example.com/articles?page=2".
Access request headers.
Returns true if the “X-Requested-With” header contains “XMLHttpRequest” (case-insensitive),which may need to be manually added depending on the choice of JavaScript libraries and frameworks.
Access data sent in by the user or other parameters in your controller actions.
The referer of the client.
Generic image.
Fields
Deprecated. Not used in direct s3 way of uploading file.
Image original height. Deprecated. Not used in direct s3 way of uploading file.
Image original width. Deprecated. Not used in direct s3 way of uploading file.
Deprecated. Not needed.
Id of the User who uploaded the image.
Image url; ex: thumb: url(version: "thumb").
Name of the image version to which url will point.
Object with versions, ex. "urls": { "big": { "url": "https://uploads.example.com/images/big_photo.jpg"}, "small": { "url": "https://example.com/images/small_photo.jpg" } } }.
Code example:
Fields
Direct s3 upload endpoint to which you can upload files. Make sure you include upload_url_payload with the request.
Payload you need to provide for upload_url.
Autogenerated return type of ImportCustomizationsMutation.
Fields
Autogenerated return type of ImportTransactablesMutation.
Fields
Autogenerated return type of ImportUsersMutation.
Fields
Code example:
Fields
Returns information about the current instance.
Fields
Lists all feature flags defined in app/config.yml.
Code example:
Fields
Number of activities.
Number of addresses.
Number of attachments.
Number of images.
Number of records.
Number of transactables.
Number of user profiles.
Number of users.
Liquid Layouts.
Fields
Liquid code to evaluate to valid html. To inject content of the resources using the layout use {{ content_for_layout }}.
When true, insites-cli deploy and sync do not change this object.
Defines the the path for layout, must starts with layouts/, for example layouts/my_layout. Please note that the layouts/ prefix must be skipped when setting layout in Page or EmailNotification.
Defines the physical path of the file.
Code example:
Fields
Liquid Partials.
Fields
Liquid code to evaluate to valid html.
When true, insites-cli deploy and sync do not change this object.
Defines the name of the partial to be used with include tag.
Defines the physical path of the file.
Code example:
Fields
Code example:
Fields
Remember to set `listing: { has_creator: true }` in query arguments.
Fetch address by name; ex: address: custom_address(name: "office_address").
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home").
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report").
Fetch image by name; ex: header: custom_image(name: "header").
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
List of all properties assigned to the object.
Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color").
Fetch any property of Array type by name, it returns Array in contrast to "property" which returns String; ex: todo_list: property_array(name: "todo_list").
Fetch any property of JSON type by name, it returns JSON in contrast to "property" which returns String; ex: todo_list: property_json(name: "todo_list").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
When sorting by distance - field contains distance to target location. Deprecated. Not supported everywhere.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
An address.
Fields
Code example:
Fields
Deprecated. Use current_page.
Code example:
Fields
Deprecated. Use file_name.
Image url; ex: thumb: url(version: "thumb").
Deprecated.
Fields
Code example:
Fields
Timestamp of when the record was created, automatically generated by the system.
Fetch address by name; ex: address: custom_address(name: "office_address").
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home").
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report").
Fetch image by name; ex: header: custom_image(name: "header").
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat").
Deprecated. Use models instead.
Used mainly for import/export, if you want to use third party service as a source of truth.
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
List of all properties assigned to the object.
Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color").
Fetch any property of Array type by name, it returns Array in contrast to "property" which returns String; ex: todo_list: property_array(name: "todo_list").
Fetch any property of JSON type by name, it returns JSON in contrast to "property" which returns String; ex: todo_list: property_json(name: "todo_list").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
Code example:
Fields
Deprecated. Use current_page.
Code example:
Fields
Code example:
Fields
Code example:
Fields
Number of seconds before presigned URL expires. Max value is one week (604800).
A profile.
Fields
Fetch address by name; ex: address: custom_address(name: "office_address").
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home").
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report").
Fetch image by name; ex: header: custom_image(name: "header").
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
List of all properties assigned to the object.
Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color").
Fetch any property of Array type by name, it returns Array in contrast to "property" which returns String; ex: todo_list: property_array(name: "todo_list").
Fetch any property of JSON type by name, it returns JSON in contrast to "property" which returns String; ex: todo_list: property_json(name: "todo_list").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
Code example:
Fields
Code example:
Fields
Fetch address by name; ex: address: address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home_address: addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Timestamp of when the record was created, automatically generated by the system.
Deprecated. Use property to store foreign keys.
Deprecated. Use property to store foreign keys.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Used mainly for import/export, if you want to use third party service as a source of truth.
ID of an object.
Fetch image by name; ex: header: image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: images(name: "cat"). Deprecated. Use property_upload instead.
Defines has-one relation with other model, e.g: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
ID of Model Schema to which it belongs. Deprecated. Use table_id.
Name of the model schema to which it belongs. Deprecated. Use table.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
Name of the model schema. Deprecated. Use table.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Fetch any property by name and returns upload details.
Defines the number of seconds for which the generated url will be accessible. Must be set if acl was set to private.
Defines has-one relation with other model; ex: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-many relation with other model; ex: children: related_models(model_schema_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines relation with other user; ex: invited_by: related_user(join_on_property: "invited_by_id") { id }.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Name of the Table to which it belongs.
ID of the Table to which it belongs.
Timestamp of when the record was updated, automatically generated by the system.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_user.
Load resources with foreign_property == join_on_property.
Id of the User who created and owns the Model.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_users.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Code example:
Fields
Schema for model.
Fields
Deprecated, use properties instead. Deprecated. Use properties.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
List of properties attributes to be included in the results.
Code example:
Fields
Autogenerated return type of NotificationSendEmail.
Fields
Deprecated. Not needed.
Code example:
Fields
Code example:
Fields
Code example:
Fields
SVG from QRcode.
Page.
Fields
Associated authorization policies.
Content provider by the develop, can be markdown, can be html with liquid etc.
Specfic timestamp of when the content was updated last time, useful for cache.
The number of seconds for which this page will be cached; set dynamic_cache_layout accordingly to your scenario. Triggers authorization. Use only if cache_key cannot be easily determined (for example for search results page).
Liquid which evaluates to the cache key, for example {{ context.page.slug }}/{{ context.params.slug2 }}for page with slug "abc" will cache separately /abc/1 and /abc/2, however abc/1/1 will return the same value as abc/1/2. If left blank, the full url will be used.
Defines whether layout should be cached as well, or only page. Usually it is not possible to cache layout due to dynamic data in it, like name of a logged in user, hence default is false.
Evaluated html content, especially useful if content was provided as markdown.
Deprecated. Use layout.
When true, insites-cli deploy and sync do not change this object.
Max nesting of the url to be resolved by this slug. For example slug "abc" with max_deep_level 2 will resolve /abc, abc/1, abc/2, but will NOT resolve abc/2/something.
Defines the physical path of the file.
The number of seconds for which this page will be cached as a static html page; works only for not logged in users, skips any authorization.
Code example:
Fields
Code example:
Fields
Direct s3 upload endpoint to which you can upload files. Make sure you include upload_url_payload with the request.
Payload you need to provide for upload_url.
Code example:
Fields
URL to CDN with your file. Will be available once you upload file.
Presigned URL where you should upload file.
Code example:
Fields
Number of seconds before presigned URL expires. Max value is one week (604800).
A profile.
Fields
Fetch address by name; ex: address: address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home_address: addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch address by name; ex: address: custom_address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: custom_attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch image by name; ex: header: custom_image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat"). Deprecated. Use property_upload instead.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
ID of an object.
Fetch image by name; ex: header: image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: images(name: "cat"). Deprecated. Use property_upload instead.
Defines has-one relation with other model, e.g: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Fetch any property by name and returns upload details.
Defines the number of seconds for which the generated url will be accessible. Must be set if acl was set to private.
Defines has-one relation with other model; ex: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-many relation with other model; ex: children: related_models(model_schema_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-one relation with other record; ex: children: records(table: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins record with record-schema-name == table.
Defines has-many relation with other records; ex: children: related_records(table: "children", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Define table name which should be used as a source for related records.
Defines relation with other user; ex: invited_by: related_user(join_on_property: "invited_by_id") { id }.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_user.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_users.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Property definition.
Fields
Type of the property.
Defines a relationship with other model schema or the user schema. Used during importing/exporting data.
Default value for new objects.
When true, insites-cli deploy and sync do not change this object.
Name of the property.
Options, used only by type upload.
Defines the physical path of the file.
Id of the schema to which this property definition belongs.
Type of the schema to which this property definition belongs.
Code example:
Fields
Extension extracted from the url, downcased; for example jpg, pdf etc.
File name extracted from the url.
Url pointing to the file in CDN.
Hash where key is a version name and value is the url to the cdn; populated if the upload file is an image and versions were specified.
Specified only those versions which you want to be returned.
Code example:
Fields
Direct s3 upload endpoint to which you can upload files. Make sure you include upload_url_payload with the request.
Payload you need to provide for upload_url.
Code example:
Fields
Fetch address by name; ex: address: address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home_address: addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Timestamp of when the record was created, automatically generated by the system.
Deprecated. Use property to store foreign keys.
Deprecated. Use property to store foreign keys.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Used mainly for import/export, if you want to use third party service as a source of truth.
ID of an object.
Fetch image by name; ex: header: image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: images(name: "cat"). Deprecated. Use property_upload instead.
Defines has-one relation with other model, e.g: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
ID of Model Schema to which it belongs. Deprecated. Use table_id.
Name of the model schema to which it belongs. Deprecated. Use table.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
Name of the model schema. Deprecated. Use table.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Fetch any property by name and returns upload details.
Defines the number of seconds for which the generated url will be accessible. Must be set if acl was set to private.
Defines has-one relation with other model; ex: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-many relation with other model; ex: children: related_models(model_schema_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-one relation with other record; ex: children: records(table: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins record with record-schema-name == table.
Defines has-many relation with other records; ex: children: related_records(table: "children", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Define table name which should be used as a source for related records.
Defines relation with other user; ex: invited_by: related_user(join_on_property: "invited_by_id") { id }.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Name of the Table to which it belongs.
ID of the Table to which it belongs.
Timestamp of when the record was updated, automatically generated by the system.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_user.
Load resources with foreign_property == join_on_property.
Id of the User who created and owns the Record.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_users.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Code example:
Fields
Code example:
Fields
Name of the Table to which it belongs.
Code example:
Fields
Hash of headers returned by the server.
Standard HTTP status code.
Code example:
Fields
Hash with calculated difference of what has changed.
Updated model, assuming submited form was for resource model.
Create/Updated transactable, assuming submitted form was for resource Transactable. Deprecated. Use model.
Updated user, assuming submited form was for resource User.
Sent Notification(api call, email, sms).
Fields
Code example:
Fields
Sms Notification.
Fields
Liquid code to evaluate to valid text. If sms is triggered via form configuration, You have access to "form" variable, with data specified in the configuration.
Liquid code which should evaluate to integer. Delays invoking the job by specified number of minutes. Useful to invoke code at certain point in time, for example 1 hour before something etc. To calculate proper number you can use time_diff filter.
Form configurations which trigger the email. Deprecated. Use forms.
Forms which trigger the email.
When true, insites-cli deploy and sync do not change this object.
Name of the sms, which is used in form_configurations or mutation to trigger it.
Defines the physical path of the file.
Liquid code to evaluate to valid mobile number with country code, for example +1 541 754 3010. Useful filter to build valid mobile number is "$to_mobile_number".
Liquid code which should evaluate to true if the sms should be sent.
Code example:
Fields
Autogenerated return type of SmsSend.
Fields
Deprecated. Not needed.
Table definition.
Fields
Deprecated, use properties instead. Deprecated. Use properties.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
List of properties attributes to be included in the results.
Code example:
Fields
Third Party Integration.
Fields
Code example:
Fields
Code example:
Fields
Fetch any customization by name or id; ex: hair_color: customization(name: "hair_color").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Fetch any Property by name; ex: hair_color: property(name: "hair_color").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
Code example:
Fields
Schema for transactable. Deprecated, use ModelSchema.
Fields
Deprecated, use properties instead. Deprecated. Use properties.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
List of properties attributes to be included in the results.
Code example:
Fields
Code example:
Fields
Translation.
Fields
TranslationJson.
Fields
Autogenerated return type of UpdateCustomizationsMutation.
Fields
Autogenerated return type of UpdateUsersMutation.
Fields
Code example:
Fields
Fetch address by name; ex: address: address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home_address: addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Validate user credentials.
Stores information about user integrations with authentication providers like auth0, facebook, twitter etc.
Used for twilio click-to-call integraation to verify phone number. Deprecated. Use records.
Timestamp of when the record was created, automatically generated by the system.
Fetch address by name; ex: address: custom_address(name: "office_address"). Deprecated. Store the address in your own table instead.
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home"). Deprecated. Store the address in your own table instead.
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch all attachments, optionally you can filter results by name; ex: sales_reports: custom_attachments(name: "sales_report"). Deprecated. Use property_upload instead.
Fetch image by name; ex: header: custom_image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat"). Deprecated. Use property_upload instead.
Model schema name.
ID of user that created customization.
Timestamp of when the record was soft delete, populated by delete action. It is also possible to manually set it via update. To undelete change it back to empty value, but please note that associated records would need to be manually undeleted as well.
Used mainly for import/export, if you want to use third party service as a source of truth.
ID of an object.
Fetch image by name; ex: header: image(name: "header"). Deprecated. Use property_upload instead.
Fetch all images, optionally you can filter results by name; ex: cat_images: images(name: "cat"). Deprecated. Use property_upload instead.
JWT token that can be used for authentication.
Number of seconds after which the token expires, clamped to a maximum of one year. When omitted, the token expires after the instance session timeout (same source as the `{% sign_in %}` tag). Expired tokens are rejected on decode.
Used by translations to set the language of currently logged in user.
Defines has-one relation with other model, e.g: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_name.
Two factor authentication with TOTP(time based one time password).
Get custom OTP token names.
Deprecated. Use profiles.
Associated user profiles, which can be used as user role or namespace for certain group of user properties.
List of all properties assigned to the object.
Fetch any property by name and return value as a String; ex: hair_color: property(name: "hair_color").
Fetch any property by name and return value as an Array of Strings. ex: todo_list: property_array(name: "todo_list").
Fetch any property by name and return value as a Boolean; ex: price: property_boolean(name: "enabled").
Fetch any property by name and return value as a Float; ex: price: property_float(name: "price").
Fetch any property by name and return value as an Integer; ex: age: property_int(name: "age").
Fetch any property by name and return value as a JSON string.
Fetch any property by name, parse it as a JSON and return object.
Fetch any property by name and returns upload details.
Defines the number of seconds for which the generated url will be accessible. Must be set if acl was set to private.
Defines has-one relation with other model; ex: children: models(model_name: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }. Deprecated. Use related_record.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-many relation with other model; ex: children: related_models(model_schema_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_records.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with model-schema-name == model_schema_name.
Defines has-one relation with other record; ex: children: records(table: "child" join_on_property: "parent_id" foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins record with record-schema-name == table.
Defines has-many relation with other records; ex: children: related_records(table: "children", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Define table name which should be used as a source for related records.
Defines relation with other user; ex: invited_by: related_user(join_on_property: "invited_by_id") { id }.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
To be used in the url instead of id for SEO purposes. Must be unique. By default generated based on first-name and last-name.
Determined based on authentications. For example, if user connects FB account, this will make API call to FB and check, if any of his friends have account on your Site. Deprecated. Use api calls.
A token valid for desired number of hours, which you can use to authorize the user in third party application. To do it, include it in a header with name UserTemporaryToken. You can also manually verify the token with users{ authenticate { temporary_token(..) } } query. Token will be invalidated on password change.
Number of hours after which the token expire.
Deprecated, use expires_in.
Deprecated. Use records.
Timestamp of when the record was updated, automatically generated by the system.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_user.
Load resources with foreign_property == join_on_property.
Defines has-many relation with other user; ex: children: users(join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_users.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Code example:
Fields
Code example:
Fields
Fetch address by name; ex: address: custom_address(name: "office_address").
Fetch all addresses, optionally you can filter results by name; ex: home: custom_addresses(name: "home").
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report").
Fetch image by name; ex: header: custom_image(name: "header").
Fetch all images, optionally you can filter results by name; ex: cat_images: custom_images(name: "cat").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }. Deprecated. Use related_model.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }. Deprecated. Use related_models.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
List of all properties assigned to the object.
Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color").
Fetch any property of Array type by name, it returns Array in contrast to "property" which returns String; ex: todo_list: property_array(name: "todo_list").
Fetch any property of JSON type by name, it returns JSON in contrast to "property" which returns String; ex: todo_list: property_json(name: "todo_list").
Defines belongs-to relation with other model; ex: parent: model(model_name: "parent", join_on_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load remote resource with id == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines has-many relation with other model, returns maximum of 10000 records at once; ex: children: models(model_name: "child", join_on_property: "parent_id", foreign_property: "parent_id") { id }.
Load resources with foreign_property == join_on_property.
Load resources with foreign_property == join_on_property.
Joins model with custom-model-type-name == model_name.
Defines relation with other user, returns maximum of 10000 records at once; ex: invited_by: user(join_on_property: "invited_by_id") { id }.
Defines relation object accessible over HTTP in JSON collection identified by its ID.
Endpoint that will return resources for given ids in json format.
Load remote resource with id == join_on_property.
When sorting by distance - field contains distance to target location. Deprecated. Not supported everywhere.
Number of hours before the token expires, default 48 hours.
Deprecated use expires_in.
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }. Deprecated. Use related_users.
Code example:
Fields
Deprecated. Use current_page.
Code example:
Fields
ID of the user.
Code example:
Fields
ID of the user.
Schema for user profile.
Fields
Deprecated, use properties instead. Deprecated. Use properties.
When true, insites-cli deploy and sync do not change this object.
Defines the physical path of the file.
List of properties attributes to be included in the results.
Code example:
Fields
Schema for user defined in user.yml.
Fields
List of properties attributes to be included in the results.
Version of object change from the last 7 days.
Fields
Timestamp when the event happened.
Id of an object which has been created/updated/deleted.
Type of an object which has been created/updated/deleted.
Json representation of a resource prior to the action; null for create action.
Most of the time ID of a User who performed the event. Can be something else if the action was taken by the Insites support team.
Code example:
Fields
Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.