Updated on 2022-09-15 GMT+08:00

Obtaining Catalog Details

Function

This API is used to obtain catalog details.

URI

GET /v2/{project_id}/design/biz/catalogs/{id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

id

Yes

String

Entity ID

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

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

Table 3 Response body parameters

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

Table 4 Response body parameters

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

Table 5 Response body parameters

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

Table 6 Response body parameters

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. BizCatalogVO is returned.

{
  "name" : "xx",
  "description" : "",
  "guid" : "4c9c3574-5cc7-46af-8f67-34782d5a6b32",
  "owner" : "{\"owners\":[\"abc\"]}",
  "parent_id" : "887366192090767360",
  "prev_id" : null,
  "next_id" : null,
  "id" : "904051952785162240",
  "qualified_id" : "887366192090767360.904051952785162240",
  "create_by" : "abc",
  "update_by" : "abc",
  "create_time" : "2021-10-30T16:59:42+08:00",
  "update_time" : "2021-10-30T16:59:42+08:00",
  "bizmetric_num" : null,
  "children_num" : null,
  "children" : null
}

Status Codes

Status Code

Description

200

The operation succeeds. BizCatalogVO is returned.

400

BadRequest

401

Unauthorized

403

Forbidden

404

Not Found