Get components
Use this API call to obtain the definitions of all components in Development Branch together with their configurations in the project. For more information about the KBC Component architecture, see the Developers documentation.
Only components that have at least one configuration in the project (deleted ones when isDeleted=true) are returned. The include query parameter controls whether configuration, rows and state are embedded in each configuration.
The variant without branch/{branchId} in the URL is deprecated, use the branch endpoint and set branch/default.
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
Query parameters
Filter components by type.
Comma-separated list of data to include. Allowed values: state, configuration, rows.
Whether to list deleted components instead of active ones. Accepts booleanish values.
Response
List of components with their configurations.
Example response
[
{
"id": "keboola.ex-db-mysql",
"type": "extractor",
"name": "MySQL Database Extractor",
"description": "Extracts data from MySQL database",
"version": 2,
"categories": [
"extractor",
"database"
],
"expiredOn": "2017-02-13T12:01:05+0100",
"uri": "https://connection.keboola.com/v2/storage/components/keboola.ex-db-mysql",
"dataTypesConfiguration": {
"dataTypesSupport": "none"
},
"processorConfiguration": {
"allowedProcessorPosition": "any"
},
"configurations": [
{
"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.