Query data release list¶
List the data releases of the current workspace.
GET $CLOUDSIGMA_API_BASE/data-share/publishes
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 a personal access token and target workspace ID that can access the target workspace.
Request parameters¶
curl "$CLOUDSIGMA_API_BASE/data-share/publishes?page=1&page_size=20" \
-H "X-API-Key: $CLOUDSIGMA_API_KEY" \
-H "X-Workspace-ID: $WORKSPACE_ID"
Field |
Type |
Required |
Description |
|---|---|---|---|
|
string |
No |
Search by keyword. |
|
integer |
No |
Page number. If not transmitted, return to page 1. |
|
integer |
No |
Quantity per page. If not uploaded, 20 items will be returned per page. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {
"list": [
{
"id": "101",
"name": "sales-share",
"obj_display_name": "sales",
"obj_display_path": "catalog/sales",
"targets": [
{
"workspace_id": "ws-002",
"workspace_name": "分析工作区"
}
],
"permission": "readonly",
"remark": "共享销售数据",
"created_by": "user-001",
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z",
"source_database_id": "1001",
"mo_database_name": "sales",
"table_scope": {
"mode": "selected",
"object_ids": [
"2001"
]
}
}
],
"total": 1,
"page": 1,
"page_size": 20
}
}
Field |
Type |
Description |
|---|---|---|
|
string |
success code. |
|
string |
Response information. |
|
object |
The data returned by this operation. |
|
array of object |
Current page release list. It is an empty array when there are no results. |
|
string |
Release ID. |
|
string |
Release name. |
|
string |
Source object name for display. |
|
string |
Source object path for display. |
|
array of object |
Target workspace list. |
|
string |
Target workspace ID. |
|
string |
Target workspace name. |
|
string |
Fixed to |
|
string |
Post notes. |
|
string |
Creator ID. Returns the creator ID if it cannot be parsed. |
|
string |
Creation time. |
|
string |
Last updated. |
|
string |
Source database ID. |
|
string |
Source database name in OmniFabric. |
|
object |
Published table range. |
|
string |
Table range mode. The values are |
|
array of string or null |
List of table IDs within publication scope. The entire table range may be null, and this cannot be used to determine that the table has not been published. |
|
integer |
Total number of matches. |
|
integer |
Current page number. |
|
integer |
Quantity per page. |
Error response¶
{
"code": "ErrParamInvalid",
"msg": "请求参数无效",
"data": null
}
Field |
Type |
Description |
|---|---|---|
|
string |
error code. |
|
string |
Error description. |
|
null |
Empty on error. |
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. |