Deploy App Settings
Updates the settings of a pre-live App to the live App.
Using this API gives the same results as when users click on "Update App" or "Discard Changes" on the App's settings page.
If multiple apps are specified in this API, and one of the updates to an App fails, all of the specified Apps will rollback to the state before this API was run.
If the record/field permissions of Apps are changed, the updated settings will be applied to the concerned records/fields sequentially, within each App.
Method | POST |
---|---|
URL | https://{subdomain}.kintone.com/k/v1/preview/app/deploy.json |
URL(guest space) | https://{subdomain}.kintone.com/k/guest/{SpaceID}/v1/preview/app/deploy.json |
Authentication | Password Authentication , API Token Authentication , Session Authentication |
Content-Type | application/json |
Contents
Permissions
- App Management Permissions are needed.
Request Parameters
Parameter | Value | Required | Description |
---|---|---|---|
apps | Array | Yes | The list of Apps to deploy the pre-live settings to the live Apps. The Maximum limit is 300. If Apps are being deployed to Guest Spaces, Apps can only be deployed to the same Guest Space. |
apps[].app | Integer or String | Yes | The App ID. |
apps[].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. |
|
revert | Boolean or String | Specify true to cancel all changes made to the pre-live settings. The pre-live settings will be reverted back to the current settings of the live app. |
Sample Request
|
|
XMLHttpRequest
|
|
Response Parameters
This API has no responses.
Sample Response
This API has no responses.
Limitations
If APIs to change the App's settings are run while deploying (or cancelling), an error will be returned.