Query data release list

List the data releases of the current workspace.

HTTP
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

Shell
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

keyword

string

No

Search by keyword.

page

integer

No

Page number. If not transmitted, return to page 1.

page_size

integer

No

Quantity per page. If not uploaded, 20 items will be returned per page.

Successful response

JSON
{
  "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

code

string

success code.

msg

string

Response information.

data

object

The data returned by this operation.

data.list

array of object

Current page release list. It is an empty array when there are no results.

data.list[].id

string

Release ID.

data.list[].name

string

Release name.

data.list[].obj_display_name

string

Source object name for display.

data.list[].obj_display_path

string

Source object path for display.

data.list[].targets

array of object

Target workspace list.

data.list[].targets[].workspace_id

string

Target workspace ID.

data.list[].targets[].workspace_name

string

Target workspace name.

data.list[].permission

string

Fixed to readonly

data.list[].remark

string

Post notes.

data.list[].created_by

string

Creator ID. Returns the creator ID if it cannot be parsed.

data.list[].created_at

string

Creation time.

data.list[].updated_at

string

Last updated.

data.list[].source_database_id

string

Source database ID.

data.list[].mo_database_name

string

Source database name in OmniFabric.

data.list[].table_scope

object

Published table range.

data.list[].table_scope.mode

string

Table range mode. The values are all, selected

data.list[].table_scope.object_ids

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.

data.total

integer

Total number of matches.

data.page

integer

Current page number.

data.page_size

integer

Quantity per page.

Error response

JSON
{
  "code": "ErrParamInvalid",
  "msg": "请求参数无效",
  "data": null
}

Field

Type

Description

code

string

error code.

msg

string

Error description.

data

null

Empty on error.

Common HTTP errors

HTTP status

Error code

Common cause

Recommended action

400

ErrWorkspaceRequired, ErrParamInvalid

Invalid request field, workspace, or operation precondition.

Fix the request parameters and submit again.

403

ErrPermissionDenied

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

ErrSourceNotFound

The target object or required reference was not found.

Verify the object identifier, workspace, and current status.

500

ErrServer

Internal processing failed; write operations may have been partially applied.

Retain request and trace details, and verify the current state before retrying.

503

ErrServiceUnavailable

A business, runtime, or authorization dependency is temporarily unavailable.

After the dependency recovers, check existing results first instead of blindly repeating writes.

Last updated on