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
Copy file name to clipboardExpand all lines: apiary.apib
+76-3Lines changed: 76 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -7375,13 +7375,84 @@ Use this API call to obtain the definition of component for [Development Branch]
7375
7375
"uiOptions": {},
7376
7376
"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 |",
### Get component - without branch in URL (deprecated) [GET]
7382
+
### Get component - without branch in URL (without authentification) [GET]
7383
+
7384
+
**Without authentication**, you can call this endpoint without the `X-StorageApi-Token` and still get the component details.
7385
+
7386
+
+ Parameters
7387
+
+ componentId - Component ID - e.g. `keboola.app-tree`
7381
7388
7382
-
***Deprecated**, use the branch endpoint and set `branch/default`.*
7383
7389
7384
7390
+ Response 200
7391
+
+ Headers
7392
+
7393
+
Content-type: application/json
7394
+
+ Body
7395
+
7396
+
{
7397
+
"id": "keboola.app-tree",
7398
+
"type": "application",
7399
+
"name": "Tree depth",
7400
+
"description": "Application which computes a tree depth.",
7401
+
"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",
7435
+
"default": "categoryId"
7436
+
},
7437
+
"parentColumn": {
7438
+
"type": "string",
7439
+
"title": "Parent Column",
7440
+
"description": "Name of the column containing parent identifier",
7441
+
"default": "categoryParentId"
7442
+
}
7443
+
},
7444
+
"required": [
7445
+
"idColumn",
7446
+
"parentColumn"
7447
+
]
7448
+
},
7449
+
"emptyConfiguration": {},
7450
+
"uiOptions": {},
7451
+
"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