You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Get component - without branch in URL (without authentification) [GET]
7381
-
7382
-
**Without authentication**, you can call this endpoint without the `X-StorageApi-Token` and still get the component details.
7383
-
7384
-
+ Parameters
7385
-
+ componentId - Component ID - e.g. `keboola.app-tree`
7380
+
### Get component - without branch in URL (deprecated) [GET]
7386
7381
7382
+
***Deprecated**, use the branch endpoint and set `branch/default`.*
7387
7383
7388
7384
+ Response 200
7389
-
+ Headers
7390
-
7391
-
Content-type: application/json
7392
-
+ Body
7393
-
7394
-
{
7395
-
"id": "keboola.app-tree",
7396
-
"type": "application",
7397
-
"name": "Tree depth",
7398
-
"description": "Application which computes a tree depth.",
7399
-
"longDescription": "This application computes levels in a table representing a tree (e.g. product categories). The tree data must be stored in a child-parent relationship. A column named **levels** will be added to the table (root nodes will have number 1). Additionally, a column named **root** will be added, containing the ID of the root item.",
"description": "Name of the column containing row identifier",
7433
-
"default": "categoryId"
7434
-
},
7435
-
"parentColumn": {
7436
-
"type": "string",
7437
-
"title": "Parent Column",
7438
-
"description": "Name of the column containing parent identifier",
7439
-
"default": "categoryParentId"
7440
-
}
7441
-
},
7442
-
"required": [
7443
-
"idColumn",
7444
-
"parentColumn"
7445
-
]
7446
-
},
7447
-
"emptyConfiguration": {},
7448
-
"uiOptions": {},
7449
-
"configurationDescription": "The tree data must be stored in a child-parent relationship. A column named **levels** will be added to the table (root nodes will have number 1). Additionally, a column named **root** will be added, containing the ID of the root item.\n\nSample input \n-------------------\n\ncategoryId | categoryParentId\t| title\n--- | --- | --- \n1 |\t0 | foo\n2 | 1 | bar\n3 | 1 | baz\n4 | 2 | buzz\n\n\nSample output\n-------------------\n\ncategoryId | categoryParentId | title | levels | root\n--- | --- | --- | --- | --- |\n1 |\t0 | foo | 1 | 1 |\n2 | 1 | bar | 2 | 1 |\n3 | 1 | baz | 2 | 1 |\n4 | 2 | buzz | 3 | 1 |",
0 commit comments