Update the data tables associated with your workspace by syncing the latest tables from a remote virtual data source and associating them with the specified workspace.
Debug
You can run this API directly in OpenAPI Explorer, saving you from computing signatures. After the call succeeds, OpenAPI Explorer can automatically generate SDK code examples.
Debug
Authorization information
The following table describes the authorization information of this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
- Operation: the specific permission point.
- Access level: the access level of each operation. Valid values: Write, Read, and List.
-
Resource type: the resource types that support authorization in the operation. Details are as follows:
- Required resource types are marked with an asterisk (*) before them.
- For operations that do not support resource-level authorization,
All Resourcesis used.
- Condition key: the condition keys defined by the cloud service itself.
- Related operation: other permissions required to successfully perform the operation. The caller must have the permissions of related operations at the same time for the operation to succeed.
| Operation | Access level | Resource type | Condition key | Related operation |
|---|---|---|---|---|
| dataanalysisgbi:SyncRemoteTables | none | *All resources * |
| None |
Request syntax
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | Yes | The ID of the Alibaba Cloud Model Studio workspace used for the current request | llm-2v3934xtp49esw64 |
| body | object | No | Request body parameters | |
| tableNames | array | Yes | List of names of the data tables to associate | |
| TableName | string | No | The name of the data table | user |
| pullSamples | boolean | No | Specifies whether to pull sample data when associating data tables | true |
| keepTableNames | array | No | List of names of the data tables for which the "Keep and Add" operation is performed during association. Note Keep and Add: For tables with "Keep and Add" enabled, Xiyan retains information about associated columns and adds information about unassociated columns. | |
| KeepTableName | string | No | The name of the data table | order |
| noModifiedTableNames | array | No | List of names of the data tables for which "Keep and Skip" is performed during association. Note Keep and Skip: For tables with "Keep and Skip" enabled, Xiyan retains all information about associated columns and does not add any information about unassociated columns. | |
| string | No | The name of the data table | user |
Response elements
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Result | ||
| data | any | Response data | true |
| errorMsg | string | The error message | NoAuth |
| code | string | The error code | NoAuth |
| success | boolean | true if the API call succeeded. false if it failed | true |
| requestId | string | The unique ID of the request. The value is unique for each request and helps you troubleshoot issues. | E9563C85-5810-5835-B68C-78580BC3169E |
Examples
Success response
JSON format
Error codes
| HTTP status code | Error code | Error message | Description |
|---|---|---|---|
| 401 | NoAuth | Bad Request: Workspace.Illegal.Auth. | The current account does not have permission on the specified business space. |
| 401 | Internal.Error | Bad Request: Internal Error. | Internal error. Contact customer service personnel for troubleshooting. |