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 | Value | Required | Description |
---|---|---|---|
app | 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.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. | |
numberPrecision | Object | The Precision of numbers and calculations setting. | |
numberPrecision.digits | String or Integer | The Total Number of Digits setting. | |
numberPrecision.decimalPlaces | String or Integer | The Number of Decimal Places to Round setting. | |
numberPrecision.roundingMode | String | The Rounding setting
|
|
firstMonthOfFiscalYear | String or Integer | The First month of Fiscal Year setting. Specify the number of 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
|
|
XMLHttpRequest
|
|
Response Parameters
Parameter | Type | Description |
---|---|---|
revision | String | The revision number of the App settings. |
Sample Response
|
|