Update General Settings
Updates the description, name, icon, revision and color theme of an App.
This API updates the pre-live settings.
After using this API, use the following API to deploy the settings to the live App:
Deploy App Settings
| Method | PUT |
|---|---|
| URL | https://{subdomain}.kintone.com/k/v1/preview/app/settings.json |
| URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/preview/app/settings.json |
| Authentication | Password Authentication , API Token Authentication , Session Authentication |
| Content-Type | application/json |
Permissions
- App Management Permissions are needed.
Request Parameters
Parameters that are ignored will not be updated.
| Parameter | Type | Required | Description |
|---|---|---|---|
| app | Integer or String | Yes | The App ID. |
| name | String | The App name. The maximum character limit is 64. | |
| description | String | The App description. The maximum character limit is 10,000. HTML tags can be used. | |
| icon | Object | An object containing information of the App icon. | |
| icon.type | String | Conditional | The icon type. Specify one of the following:
icon parameter will be set. |
| icon.key | String | Conditional | The key identifier of the icon. Required, if the icon.type parameter is set as PRESET.Preset icons have key identifiers that can be obtained using the following API: Get General Settings |
| icon.file | Object | Conditional | An object containing information of uploaded icon files. Required, if the icon.type parameter is set as FILE. |
| icon.file.fileKey | String | Conditional | The fileKey of the icon. To attach a file, specify the fileKey responded when using the following API: Upload File The maximum file size limit is 800KB. Required, if the icon.type parameter is set as FILE. |
| theme | String | The Color theme. The following can be specified:
|
|
| titleField | Object | The record title. | |
| titleField.selectionMode | String | Conditional | The option of The field to be used as the record title settings.
titleField is specified. |
| titleField.code | String | Conditional | The field code of the field used as the title of the record. Required, if MANUAL is set for the titleField.selectionMode parameter. |
| enableThumbnails | Boolean | The Show thumbnails setting. | |
| enableBulkDeletion | Boolean | The Enable bulk deletion of records setting. | |
| enableComments | Boolean | The Enable comments setting. | |
| enableDuplicateRecord | Boolean | The Enable the feature to "duplicate record" setting. | |
| enableInlineRecordEditing | Boolean | The Enable inline record editing setting. | |
| numberPrecision | Object | The Precision of numbers and calculations setting. For more information, refer to the following article on the Kintone Help site: Precision of numbers and calculations |
|
| numberPrecision.digits | Integer or String | The Total Number of Digits setting. Specify an integer from 1 to 30. |
|
| numberPrecision.decimalPlaces | Integer or String | The Number of Decimal Places to Round setting. Specify an integer from 0 to 10. |
|
| numberPrecision.roundingMode | String | The Rounding setting
|
|
| firstMonthOfFiscalYear | Integer or String | The First month of Fiscal Year setting. Specify an integer from 1 to 12, representing the month. | |
| revision | Integer or String | Specify the revision number of the settings that will be deployed. The request will fail if the revision number is not the latest revision. The revision will not be checked if this parameter is ignored, or -1 is specified. |
Sample Request
JavaScript using kintone.api()
|
|
XMLHttpRequest
|
|
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| revision | String | The revision number of the App settings. |
Sample Response
|
|