View workflow operator list¶
View the operators available for the workflow in the current workspace. After selecting an operator, you can continue to view its available versions, input and output definitions.
GET $CLOUDSIGMA_API_BASE/workflow/v2/workitems/catalog
Before you call¶
Configure the CloudSigma regional endpoint and authentication before calling. The endpoint, credentials, workspace, and resource IDs must belong to the same region. Prepare personal access token and target workspace ID that can access the target workspace.
Request parameters¶
Replace $CLOUDSIGMA_API_KEY and $WORKSPACE_ID with actual values.
curl "$CLOUDSIGMA_API_BASE/workflow/v2/workitems/catalog" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
This interface has no business parameters.
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"items": [
{
"node_id": "moi:data.sql.process",
"display_name": "SQL 处理",
"category": "data_processing",
"preferred_version": "v1",
"stream": false
}
],
"total": 1
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
|
|
string |
|
|
object |
response data. |
|
array of object |
List of available operators. |
|
integer |
The total number of operators returned. |
|
string |
operator ID, which can be used to view details or publish API services. |
|
string |
operator display name. |
|
string |
A short description of the operator. Returned if there is a value. |
|
string |
The category to which the operator belongs. Returned if there is a value. |
|
array of string |
operator tag. Returned if there is a value. |
|
string |
operator source. Returned if there is a value. |
|
string |
operator provider. Returned if there is a value. |
|
string |
Recommended version. Returned if there is a value. |
|
string |
Visibility. Returned if there is a value. |
|
boolean |
Whether it is a streaming operator. |
Error response¶
{
"code": "ErrForbidden",
"msg": "没有权限"
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Readable error message. |
Common HTTP errors¶
HTTP status |
Error code |
Common cause |
Recommended action |
|---|---|---|---|
400 |
|
Invalid request field, workspace, or operation precondition. |
Fix the request parameters and submit again. |
403 |
|
The current identity or active role does not have permission for this operation. |
Use an authorized identity or contact an administrator to grant access. |
404 |
|
The target object or required reference was not found. |
Verify the object identifier, workspace, and current status. |
500 |
|
Internal processing failed; write operations may have been partially applied. |
Retain request and trace details, and verify the current state before retrying. |
503 |
|
A business, runtime, or authorization dependency is temporarily unavailable. |
After the dependency recovers, check existing results first instead of blindly repeating writes. |