Components and Configurations
Update Configuration State
Updates state of an existing configuration for Development Branch. Writing state does not create a new configuration version.
The variant without branch/{branchId} in the URL is deprecated, use the branch endpoint and set branch/default.
put/v2/storage/components/{componentId}/configs/{configurationId}/state
Request
- Base URLhttps://connection.keboola.com
- Auth
- API key in header X-StorageApi-Token
- or API key in header X-KBC-ManageApiToken
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
componentIdstring required
Id of the component.
configurationIdstring required
Id of the configuration.
Request body
Example request
{
"state": {
"lastId": 123
}
}Response
Configuration with the updated state.
Example response
{
"id": "236606822",
"name": "My new configuration",
"created": "2017-02-13T12:01:05+0100",
"creatorToken": {
"id": 27978,
"description": "dev@keboola.com"
},
"version": 1,
"changeDescription": "Initial configuration",
"folder": "Marketing",
"folderUpdated": "2017-02-13T12:01:05+0100",
"rows": [
{
"id": "row1",
"name": "First row",
"version": 1,
"created": "2017-02-13T12:01:05+0100",
"creatorToken": {
"id": 27978,
"description": "dev@keboola.com"
},
"changeDescription": "Row created",
"versionIdentifier": "01H2W8N0ZJJB6V126C8ZSND28N"
}
],
"currentVersion": {
"created": "2017-02-13T12:01:05+0100",
"creatorToken": {
"id": 27978,
"description": "dev@keboola.com"
},
"changeDescription": "Initial configuration",
"versionIdentifier": "01H2W7DAN0QT78NZQ2BD2BZT4S"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.