App schema
Each app should follow strict schema with the following structure (all fields are required):| Name | Type | Description | Example |
|---|---|---|---|
| name | string | Name | ”MyApp” |
| website | string | Website | ”http://myawesomeapp.com” |
| version | string | Version | ”1.0.0” |
| description | string | Description | ”My awesome app” |
| authentication | Array | Authentications | [{id: "none", name: "no auth"}] |
| sources | Array | Empty array | [] |
| responsibleFor | Object | Responsibilities |
|
Authentication
Authentication model represents type of authentication in app and has following structure:
If your app doesn’t require authentication, add authentication with id = “none”. In the case you can omit fields.
Authentication field
Authentication field represents the field in account. So account that will send to API endpoints will consist of the authentication fields. Authentication field has following structure:
Read about Custom App: Fields. Note that authentication field with some types requires more information to specify. For example, for highlightText type you also need to specify editorMode in authentication field.
Filter
Filter represents filter that will be applied on data. Filter has following structure:
See Integration Filters.
Some additional properties should be specified in case when filters should be displayed in special modes, for example JSON or SQL. For example, for highlightText type you also need to specify editorMode for the filter field.
