Obtaining a Tree of All Catalogs
Function
This API is used to obtain a tree of all catalogs.
URI
GET /v2/{project_id}/design/biz/catalogs/tree
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
name |
String |
Workflow name Maximum: 600 |
description |
String |
Description Maximum: 2000 |
guid |
String |
Asset ID |
owner |
String |
Owner Maximum: 4000 |
parent_id |
Long |
Parent catalog ID. If there is no parent catalog, the current catalog is the root catalog. |
prev_id |
Long |
ID of the previous node. If there is no previous node, the current node is the first node. |
next_id |
Long |
ID of the next node. If there is no next node, the current node is the last node. |
id |
Long |
This parameter is left empty during creation and is mandatory during update. |
qualified_id |
String |
Authentication ID, which is automatically generated |
create_by |
String |
Creator |
update_by |
String |
User who updated the business catalog |
create_time |
String |
Creation time |
update_time |
String |
Update time |
bizmetric_num |
Integer |
Number of business metrics, which is not transferred to the front end |
children_num |
Integer |
Number of sub-processes, excluding those of sub-processes |
children |
Array of BizCatalogVO objects |
Sub-catalog |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data |
Status code: 401
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data |
Status code: 404
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code, for example, DS.000 which indicates that the request was successfully processed. |
error_msg |
String |
Error message |
data |
Object |
Returned data |
Example Requests
None
Example Responses
Status code: 200
The operation succeeds. Catalogs with subcatalogs are returned.
{ "id" : "887366192090767360", "description" : "demo", "name" : "demo", "owner" : "ei_dlg", "parent_id" : "776737281791897600", "prev_id" : "885913975320207360" }
Status Codes
Status Code |
Description |
---|---|
200 |
The operation succeeds. Catalogs with subcatalogs are returned. |
400 |
BadRequest |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.